Commit b7023515 authored by 余海军's avatar 余海军

add

parent 1b7333d4
'use strict';
module.exports = function(Hoseachareabudget) {
};
{
"name": "HosEachareabudget",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_eachareabudget"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 23,
"scale": null,
"mysql": {
"columnName": "value",
"dataType": "double",
"dataLength": null,
"dataPrecision": 23,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Hoseachareacase) {
};
{
"name": "HosEachareacase",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_eachareacase"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 41,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "decimal",
"dataLength": null,
"dataPrecision": 41,
"dataScale": 0,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Hoseachareahospitals) {
};
{
"name": "HosEachareahospitals",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_eachareahospitals"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": true,
"length": null,
"precision": 19,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "bigint",
"dataLength": null,
"dataPrecision": 19,
"dataScale": 0,
"nullable": "N"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Hoseacharearevenue) {
};
{
"name": "HosEacharearevenue",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_eacharearevenue"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 23,
"scale": null,
"mysql": {
"columnName": "value",
"dataType": "double",
"dataLength": null,
"dataPrecision": 23,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Hoseachrevenue) {
};
{
"name": "HosEachrevenue",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_eachrevenue"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": true,
"length": 5,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 5,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 22,
"scale": null,
"mysql": {
"columnName": "value",
"dataType": "double",
"dataLength": null,
"dataPrecision": 22,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
......@@ -21293,6 +21293,1939 @@ paths:
type: number
format: double
deprecated: false
/HosEachareabudgets:
post:
tags:
- HosEachareabudget
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachareabudget.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
patch:
tags:
- HosEachareabudget
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareabudget.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
put:
tags:
- HosEachareabudget
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareabudget.replaceOrCreate__put_HosEachareabudgets
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
get:
tags:
- HosEachareabudget
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachareabudget.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/replaceOrCreate:
post:
tags:
- HosEachareabudget
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEachareabudget.replaceOrCreate__post_HosEachareabudgets_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/upsertWithWhere:
post:
tags:
- HosEachareabudget
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareabudget.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
'/HosEachareabudgets/{id}/exists':
get:
tags:
- HosEachareabudget
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareabudget.exists__get_HosEachareabudgets_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEachareabudgets/{id}':
head:
tags:
- HosEachareabudget
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareabudget.exists__head_HosEachareabudgets_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEachareabudget
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachareabudget.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
put:
tags:
- HosEachareabudget
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareabudget.replaceById__put_HosEachareabudgets_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
delete:
tags:
- HosEachareabudget
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachareabudget.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEachareabudget
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareabudget.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareabudget id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
'/HosEachareabudgets/{id}/replace':
post:
tags:
- HosEachareabudget
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareabudget.replaceById__post_HosEachareabudgets_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/findOne:
get:
tags:
- HosEachareabudget
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachareabudget.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/update:
post:
tags:
- HosEachareabudget
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachareabudget.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEachareabudgets/count:
get:
tags:
- HosEachareabudget
summary: Count instances of the model matched by where from the data source.
operationId: HosEachareabudget.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/HosEachareacases:
post:
tags:
- HosEachareacase
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachareacase.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
patch:
tags:
- HosEachareacase
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
put:
tags:
- HosEachareacase
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.replaceOrCreate__put_HosEachareacases
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
get:
tags:
- HosEachareacase
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachareacase.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/replaceOrCreate:
post:
tags:
- HosEachareacase
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.replaceOrCreate__post_HosEachareacases_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/upsertWithWhere:
post:
tags:
- HosEachareacase
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareacase.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
'/HosEachareacases/{id}/exists':
get:
tags:
- HosEachareacase
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareacase.exists__get_HosEachareacases_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEachareacases/{id}':
head:
tags:
- HosEachareacase
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareacase.exists__head_HosEachareacases_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEachareacase
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachareacase.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
put:
tags:
- HosEachareacase
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareacase.replaceById__put_HosEachareacases_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
delete:
tags:
- HosEachareacase
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachareacase.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEachareacase
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareacase.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareacase id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
'/HosEachareacases/{id}/replace':
post:
tags:
- HosEachareacase
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareacase.replaceById__post_HosEachareacases_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/findOne:
get:
tags:
- HosEachareacase
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachareacase.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/update:
post:
tags:
- HosEachareacase
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachareacase.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEachareacases/count:
get:
tags:
- HosEachareacase
summary: Count instances of the model matched by where from the data source.
operationId: HosEachareacase.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/HosEachareahospitals:
post:
tags:
- HosEachareahospitals
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachareahospitals.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
patch:
tags:
- HosEachareahospitals
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
put:
tags:
- HosEachareahospitals
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.replaceOrCreate__put_HosEachareahospitals
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
get:
tags:
- HosEachareahospitals
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachareahospitals.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/replaceOrCreate:
post:
tags:
- HosEachareahospitals
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEachareahospitals.replaceOrCreate__post_HosEachareahospitals_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/upsertWithWhere:
post:
tags:
- HosEachareahospitals
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareahospitals.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'/HosEachareahospitals/{id}/exists':
get:
tags:
- HosEachareahospitals
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareahospitals.exists__get_HosEachareahospitals_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEachareahospitals/{id}':
head:
tags:
- HosEachareahospitals
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachareahospitals.exists__head_HosEachareahospitals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEachareahospitals
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachareahospitals.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
put:
tags:
- HosEachareahospitals
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__put_HosEachareahospitals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
delete:
tags:
- HosEachareahospitals
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachareahospitals.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEachareahospitals
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareahospitals.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareahospitals id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'/HosEachareahospitals/{id}/replace':
post:
tags:
- HosEachareahospitals
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__post_HosEachareahospitals_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/findOne:
get:
tags:
- HosEachareahospitals
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachareahospitals.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/update:
post:
tags:
- HosEachareahospitals
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachareahospitals.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEachareahospitals/count:
get:
tags:
- HosEachareahospitals
summary: Count instances of the model matched by where from the data source.
operationId: HosEachareahospitals.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/HosEacharearevenues:
post:
tags:
- HosEacharearevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEacharearevenue.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
patch:
tags:
- HosEacharearevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
put:
tags:
- HosEacharearevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.replaceOrCreate__put_HosEacharearevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
get:
tags:
- HosEacharearevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEacharearevenue.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/replaceOrCreate:
post:
tags:
- HosEacharearevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEacharearevenue.replaceOrCreate__post_HosEacharearevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/upsertWithWhere:
post:
tags:
- HosEacharearevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEacharearevenue.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'/HosEacharearevenues/{id}/exists':
get:
tags:
- HosEacharearevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEacharearevenue.exists__get_HosEacharearevenues_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEacharearevenues/{id}':
head:
tags:
- HosEacharearevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEacharearevenue.exists__head_HosEacharearevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEacharearevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEacharearevenue.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
put:
tags:
- HosEacharearevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__put_HosEacharearevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
delete:
tags:
- HosEacharearevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEacharearevenue.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEacharearevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEacharearevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEacharearevenue id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'/HosEacharearevenues/{id}/replace':
post:
tags:
- HosEacharearevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__post_HosEacharearevenues_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/findOne:
get:
tags:
- HosEacharearevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEacharearevenue.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/update:
post:
tags:
- HosEacharearevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEacharearevenue.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEacharearevenues/count:
get:
tags:
- HosEacharearevenue
summary: Count instances of the model matched by where from the data source.
operationId: HosEacharearevenue.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/HosEachrevenues:
post:
tags:
- HosEachrevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: HosEachrevenue.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
patch:
tags:
- HosEachrevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
put:
tags:
- HosEachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__put_HosEachrevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
get:
tags:
- HosEachrevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: HosEachrevenue.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/replaceOrCreate:
post:
tags:
- HosEachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__post_HosEachrevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/upsertWithWhere:
post:
tags:
- HosEachrevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachrevenue.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'/HosEachrevenues/{id}/exists':
get:
tags:
- HosEachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__get_HosEachrevenues_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/HosEachrevenues/{id}':
head:
tags:
- HosEachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'HosEachrevenue.exists__head_HosEachrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- HosEachrevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosEachrevenue.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
put:
tags:
- HosEachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__put_HosEachrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
delete:
tags:
- HosEachrevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosEachrevenue.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- HosEachrevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachrevenue id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'/HosEachrevenues/{id}/replace':
post:
tags:
- HosEachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__post_HosEachrevenues_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/findOne:
get:
tags:
- HosEachrevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: HosEachrevenue.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/update:
post:
tags:
- HosEachrevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosEachrevenue.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/HosEachrevenues/count:
get:
tags:
- HosEachrevenue
summary: Count instances of the model matched by where from the data source.
operationId: HosEachrevenue.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
definitions:
DashboardHospitalAwenCount:
properties:
......@@ -22269,6 +24202,70 @@ definitions:
required:
- value
additionalProperties: false
HosEachareabudget:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
type: number
format: double
additionalProperties: false
HosEachareacase:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
type: number
format: double
additionalProperties: false
HosEachareahospitals:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
HosEacharearevenue:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
type: number
format: double
additionalProperties: false
HosEachrevenue:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 5
type: string
value:
type: number
format: double
required:
- name
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
......
......@@ -232,5 +232,25 @@
"MainEachmonth": {
"dataSource": "ruipeng",
"public": true
},
"HosEachareabudget": {
"dataSource": "ruipeng",
"public": true
},
"HosEachareacase": {
"dataSource": "ruipeng",
"public": true
},
"HosEachareahospitals": {
"dataSource": "ruipeng",
"public": true
},
"HosEacharearevenue": {
"dataSource": "ruipeng",
"public": true
},
"HosEachrevenue": {
"dataSource": "ruipeng",
"public": true
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment