Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
RuiPengLoopbackApi
Commits
56a56666
Commit
56a56666
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
17239491
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
814 additions
and
0 deletions
+814
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+806
-0
model-config.json
server/model-config.json
+8
-0
No files found.
definitions/RuiPengLoopbackApi.yaml
View file @
56a56666
...
@@ -69563,6 +69563,782 @@ paths:
...
@@ -69563,6 +69563,782 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
deprecated: false
/AnotherEachmonthorders:
post:
tags:
- AnotherEachmonthorder
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherEachmonthorder.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
patch:
tags:
- AnotherEachmonthorder
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthorder.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
put:
tags:
- AnotherEachmonthorder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthorder.replaceOrCreate__put_AnotherEachmonthorders
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
get:
tags:
- AnotherEachmonthorder
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherEachmonthorder.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/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/replaceOrCreate:
post:
tags:
- AnotherEachmonthorder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
AnotherEachmonthorder.replaceOrCreate__post_AnotherEachmonthorders_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/upsertWithWhere:
post:
tags:
- AnotherEachmonthorder
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherEachmonthorder.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/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
'/AnotherEachmonthorders/{id}/exists':
get:
tags:
- AnotherEachmonthorder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthorder.exists__get_AnotherEachmonthorders_{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
'/AnotherEachmonthorders/{id}':
head:
tags:
- AnotherEachmonthorder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthorder.exists__head_AnotherEachmonthorders_{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:
- AnotherEachmonthorder
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthorder.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/AnotherEachmonthorder'
deprecated: false
put:
tags:
- AnotherEachmonthorder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherEachmonthorder.replaceById__put_AnotherEachmonthorders_{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/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
delete:
tags:
- AnotherEachmonthorder
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthorder.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:
- AnotherEachmonthorder
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherEachmonthorder.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherEachmonthorder 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/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
'/AnotherEachmonthorders/{id}/replace':
post:
tags:
- AnotherEachmonthorder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
AnotherEachmonthorder.replaceById__post_AnotherEachmonthorders_{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/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/findOne:
get:
tags:
- AnotherEachmonthorder
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherEachmonthorder.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/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/update:
post:
tags:
- AnotherEachmonthorder
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherEachmonthorder.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/AnotherEachmonthorder'
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
/AnotherEachmonthorders/count:
get:
tags:
- AnotherEachmonthorder
summary: Count instances of the model matched by where from the data source.
operationId: AnotherEachmonthorder.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
/AnotherEachmonthrevenues:
post:
tags:
- AnotherEachmonthrevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherEachmonthrevenue.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
patch:
tags:
- AnotherEachmonthrevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthrevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
put:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthrevenue.replaceOrCreate__put_AnotherEachmonthrevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
get:
tags:
- AnotherEachmonthrevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherEachmonthrevenue.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/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/replaceOrCreate:
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
AnotherEachmonthrevenue.replaceOrCreate__post_AnotherEachmonthrevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/upsertWithWhere:
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherEachmonthrevenue.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/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
'/AnotherEachmonthrevenues/{id}/exists':
get:
tags:
- AnotherEachmonthrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthrevenue.exists__get_AnotherEachmonthrevenues_{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
'/AnotherEachmonthrevenues/{id}':
head:
tags:
- AnotherEachmonthrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthrevenue.exists__head_AnotherEachmonthrevenues_{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:
- AnotherEachmonthrevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthrevenue.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/AnotherEachmonthrevenue'
deprecated: false
put:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherEachmonthrevenue.replaceById__put_AnotherEachmonthrevenues_{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/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
delete:
tags:
- AnotherEachmonthrevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthrevenue.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:
- AnotherEachmonthrevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherEachmonthrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherEachmonthrevenue 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/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
'/AnotherEachmonthrevenues/{id}/replace':
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
AnotherEachmonthrevenue.replaceById__post_AnotherEachmonthrevenues_{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/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/findOne:
get:
tags:
- AnotherEachmonthrevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherEachmonthrevenue.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/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/update:
post:
tags:
- AnotherEachmonthrevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherEachmonthrevenue.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/AnotherEachmonthrevenue'
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
/AnotherEachmonthrevenues/count:
get:
tags:
- AnotherEachmonthrevenue
summary: Count instances of the model matched by where from the data source.
operationId: AnotherEachmonthrevenue.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:
definitions:
DashboardHospitalAwenCount:
DashboardHospitalAwenCount:
properties:
properties:
...
@@ -72450,6 +73226,36 @@ definitions:
...
@@ -72450,6 +73226,36 @@ definitions:
type: number
type: number
format: double
format: double
additionalProperties: false
additionalProperties: false
AnotherEachmonthorder:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 2
type: string
value:
type: number
format: double
companyName:
maxLength: 200
type: string
additionalProperties: false
AnotherEachmonthrevenue:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 2
type: string
value:
type: number
format: double
companyName:
maxLength: 200
type: string
additionalProperties: false
basePath: /api/ruipeng
basePath: /api/ruipeng
swagger: '2.0'
swagger: '2.0'
info:
info:
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
56a56666
...
@@ -732,5 +732,13 @@
...
@@ -732,5 +732,13 @@
"AnotherEduccourse2"
:
{
"AnotherEduccourse2"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
"AnotherEachmonthorder"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"AnotherEachmonthrevenue"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment