Commit 01362cf6 authored by 余海军's avatar 余海军

add

parent 672756af
'use strict';
module.exports = function(Hosthismonthfirst) {
};
{
"name": "HosThismonthfirst",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_thismonthfirst"
},
"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"
}
},
"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(Hosthismonthsecond) {
};
{
"name": "HosThismonthsecond",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_thismonthsecond"
},
"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"
}
},
"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(Hosthisyearfirst) {
};
{
"name": "HosThisyearfirst",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_thisyearfirst"
},
"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"
}
},
"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(Hosthisyearsecond) {
};
{
"name": "HosThisyearsecond",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_thisyearsecond"
},
"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"
}
},
"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": {}
}
......@@ -45616,6 +45616,1553 @@ paths:
type: number
format: double
deprecated: false
/HosThismonthfirsts:
post:
tags:
- HosThismonthfirst
summary: Create a new instance of the model and persist it into the data source.
operationId: HosThismonthfirst.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
patch:
tags:
- HosThismonthfirst
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThismonthfirst.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
put:
tags:
- HosThismonthfirst
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThismonthfirst.replaceOrCreate__put_HosThismonthfirsts
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
get:
tags:
- HosThismonthfirst
summary: Find all instances of the model matched by filter from the data source.
operationId: HosThismonthfirst.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/HosThismonthfirst'
deprecated: false
/HosThismonthfirsts/replaceOrCreate:
post:
tags:
- HosThismonthfirst
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosThismonthfirst.replaceOrCreate__post_HosThismonthfirsts_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
/HosThismonthfirsts/upsertWithWhere:
post:
tags:
- HosThismonthfirst
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThismonthfirst.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/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
'/HosThismonthfirsts/{id}/exists':
get:
tags:
- HosThismonthfirst
summary: Check whether a model instance exists in the data source.
operationId: 'HosThismonthfirst.exists__get_HosThismonthfirsts_{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
'/HosThismonthfirsts/{id}':
head:
tags:
- HosThismonthfirst
summary: Check whether a model instance exists in the data source.
operationId: 'HosThismonthfirst.exists__head_HosThismonthfirsts_{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:
- HosThismonthfirst
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosThismonthfirst.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/HosThismonthfirst'
deprecated: false
put:
tags:
- HosThismonthfirst
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThismonthfirst.replaceById__put_HosThismonthfirsts_{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/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
delete:
tags:
- HosThismonthfirst
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosThismonthfirst.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:
- HosThismonthfirst
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThismonthfirst.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThismonthfirst 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/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
'/HosThismonthfirsts/{id}/replace':
post:
tags:
- HosThismonthfirst
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThismonthfirst.replaceById__post_HosThismonthfirsts_{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/HosThismonthfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthfirst'
deprecated: false
/HosThismonthfirsts/findOne:
get:
tags:
- HosThismonthfirst
summary: Find first instance of the model matched by filter from the data source.
operationId: HosThismonthfirst.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/HosThismonthfirst'
deprecated: false
/HosThismonthfirsts/update:
post:
tags:
- HosThismonthfirst
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosThismonthfirst.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/HosThismonthfirst'
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
/HosThismonthfirsts/count:
get:
tags:
- HosThismonthfirst
summary: Count instances of the model matched by where from the data source.
operationId: HosThismonthfirst.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
/HosThismonthseconds:
post:
tags:
- HosThismonthsecond
summary: Create a new instance of the model and persist it into the data source.
operationId: HosThismonthsecond.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
patch:
tags:
- HosThismonthsecond
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThismonthsecond.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
put:
tags:
- HosThismonthsecond
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThismonthsecond.replaceOrCreate__put_HosThismonthseconds
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
get:
tags:
- HosThismonthsecond
summary: Find all instances of the model matched by filter from the data source.
operationId: HosThismonthsecond.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/HosThismonthsecond'
deprecated: false
/HosThismonthseconds/replaceOrCreate:
post:
tags:
- HosThismonthsecond
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosThismonthsecond.replaceOrCreate__post_HosThismonthseconds_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
/HosThismonthseconds/upsertWithWhere:
post:
tags:
- HosThismonthsecond
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThismonthsecond.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/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
'/HosThismonthseconds/{id}/exists':
get:
tags:
- HosThismonthsecond
summary: Check whether a model instance exists in the data source.
operationId: 'HosThismonthsecond.exists__get_HosThismonthseconds_{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
'/HosThismonthseconds/{id}':
head:
tags:
- HosThismonthsecond
summary: Check whether a model instance exists in the data source.
operationId: 'HosThismonthsecond.exists__head_HosThismonthseconds_{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:
- HosThismonthsecond
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosThismonthsecond.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/HosThismonthsecond'
deprecated: false
put:
tags:
- HosThismonthsecond
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThismonthsecond.replaceById__put_HosThismonthseconds_{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/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
delete:
tags:
- HosThismonthsecond
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosThismonthsecond.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:
- HosThismonthsecond
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThismonthsecond.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThismonthsecond 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/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
'/HosThismonthseconds/{id}/replace':
post:
tags:
- HosThismonthsecond
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThismonthsecond.replaceById__post_HosThismonthseconds_{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/HosThismonthsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThismonthsecond'
deprecated: false
/HosThismonthseconds/findOne:
get:
tags:
- HosThismonthsecond
summary: Find first instance of the model matched by filter from the data source.
operationId: HosThismonthsecond.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/HosThismonthsecond'
deprecated: false
/HosThismonthseconds/update:
post:
tags:
- HosThismonthsecond
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosThismonthsecond.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/HosThismonthsecond'
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
/HosThismonthseconds/count:
get:
tags:
- HosThismonthsecond
summary: Count instances of the model matched by where from the data source.
operationId: HosThismonthsecond.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
/HosThisyearseconds:
post:
tags:
- HosThisyearsecond
summary: Create a new instance of the model and persist it into the data source.
operationId: HosThisyearsecond.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
patch:
tags:
- HosThisyearsecond
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThisyearsecond.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
put:
tags:
- HosThisyearsecond
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearsecond.replaceOrCreate__put_HosThisyearseconds
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
get:
tags:
- HosThisyearsecond
summary: Find all instances of the model matched by filter from the data source.
operationId: HosThisyearsecond.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/HosThisyearsecond'
deprecated: false
/HosThisyearseconds/replaceOrCreate:
post:
tags:
- HosThisyearsecond
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosThisyearsecond.replaceOrCreate__post_HosThisyearseconds_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
/HosThisyearseconds/upsertWithWhere:
post:
tags:
- HosThisyearsecond
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThisyearsecond.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/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
'/HosThisyearseconds/{id}/exists':
get:
tags:
- HosThisyearsecond
summary: Check whether a model instance exists in the data source.
operationId: 'HosThisyearsecond.exists__get_HosThisyearseconds_{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
'/HosThisyearseconds/{id}':
head:
tags:
- HosThisyearsecond
summary: Check whether a model instance exists in the data source.
operationId: 'HosThisyearsecond.exists__head_HosThisyearseconds_{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:
- HosThisyearsecond
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosThisyearsecond.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/HosThisyearsecond'
deprecated: false
put:
tags:
- HosThisyearsecond
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearsecond.replaceById__put_HosThisyearseconds_{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/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
delete:
tags:
- HosThisyearsecond
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosThisyearsecond.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:
- HosThisyearsecond
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThisyearsecond.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThisyearsecond 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/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
'/HosThisyearseconds/{id}/replace':
post:
tags:
- HosThisyearsecond
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearsecond.replaceById__post_HosThisyearseconds_{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/HosThisyearsecond'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearsecond'
deprecated: false
/HosThisyearseconds/findOne:
get:
tags:
- HosThisyearsecond
summary: Find first instance of the model matched by filter from the data source.
operationId: HosThisyearsecond.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/HosThisyearsecond'
deprecated: false
/HosThisyearseconds/update:
post:
tags:
- HosThisyearsecond
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosThisyearsecond.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/HosThisyearsecond'
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
/HosThisyearseconds/count:
get:
tags:
- HosThisyearsecond
summary: Count instances of the model matched by where from the data source.
operationId: HosThisyearsecond.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
/HosThisyearfirsts:
post:
tags:
- HosThisyearfirst
summary: Create a new instance of the model and persist it into the data source.
operationId: HosThisyearfirst.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
patch:
tags:
- HosThisyearfirst
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThisyearfirst.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
put:
tags:
- HosThisyearfirst
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearfirst.replaceOrCreate__put_HosThisyearfirsts
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
get:
tags:
- HosThisyearfirst
summary: Find all instances of the model matched by filter from the data source.
operationId: HosThisyearfirst.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/HosThisyearfirst'
deprecated: false
/HosThisyearfirsts/replaceOrCreate:
post:
tags:
- HosThisyearfirst
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearfirst.replaceOrCreate__post_HosThisyearfirsts_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
/HosThisyearfirsts/upsertWithWhere:
post:
tags:
- HosThisyearfirst
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThisyearfirst.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/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
'/HosThisyearfirsts/{id}/exists':
get:
tags:
- HosThisyearfirst
summary: Check whether a model instance exists in the data source.
operationId: 'HosThisyearfirst.exists__get_HosThisyearfirsts_{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
'/HosThisyearfirsts/{id}':
head:
tags:
- HosThisyearfirst
summary: Check whether a model instance exists in the data source.
operationId: 'HosThisyearfirst.exists__head_HosThisyearfirsts_{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:
- HosThisyearfirst
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosThisyearfirst.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/HosThisyearfirst'
deprecated: false
put:
tags:
- HosThisyearfirst
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearfirst.replaceById__put_HosThisyearfirsts_{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/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
delete:
tags:
- HosThisyearfirst
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosThisyearfirst.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:
- HosThisyearfirst
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThisyearfirst.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThisyearfirst 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/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
'/HosThisyearfirsts/{id}/replace':
post:
tags:
- HosThisyearfirst
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearfirst.replaceById__post_HosThisyearfirsts_{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/HosThisyearfirst'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearfirst'
deprecated: false
/HosThisyearfirsts/findOne:
get:
tags:
- HosThisyearfirst
summary: Find first instance of the model matched by filter from the data source.
operationId: HosThisyearfirst.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/HosThisyearfirst'
deprecated: false
/HosThisyearfirsts/update:
post:
tags:
- HosThisyearfirst
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosThisyearfirst.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/HosThisyearfirst'
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
/HosThisyearfirsts/count:
get:
tags:
- HosThisyearfirst
summary: Count instances of the model matched by where from the data source.
operationId: HosThisyearfirst.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:
......@@ -47455,6 +49002,42 @@ definitions:
required:
- name
additionalProperties: false
HosThismonthfirst:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
additionalProperties: false
HosThismonthsecond:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
additionalProperties: false
HosThisyearsecond:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
additionalProperties: false
HosThisyearfirst:
properties:
id:
maxLength: 36
type: string
value:
type: number
format: double
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
......@@ -484,5 +484,21 @@
"HosFlownum": {
"dataSource": "ruipeng",
"public": true
},
"HosThismonthfirst": {
"dataSource": "ruipeng",
"public": true
},
"HosThismonthsecond": {
"dataSource": "ruipeng",
"public": true
},
"HosThisyearsecond": {
"dataSource": "ruipeng",
"public": true
},
"HosThisyearfirst": {
"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