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
437db2c4
Commit
437db2c4
authored
Sep 10, 2019
by
余海军
Browse files
Options
Browse Files
Download
Plain Diff
add
parents
1521e31c
b7fc8bf7
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2792 additions
and
0 deletions
+2792
-0
educ-browse-1.js
common/models/educ-browse-1.js
+5
-0
educ-browse-1.json
common/models/educ-browse-1.json
+63
-0
educ-course-4.js
common/models/educ-course-4.js
+5
-0
educ-course-4.json
common/models/educ-course-4.json
+63
-0
hos-lastyearbudget.js
common/models/hos-lastyearbudget.js
+5
-0
hos-lastyearbudget.json
common/models/hos-lastyearbudget.json
+63
-0
hos-lastyearregum.js
common/models/hos-lastyearregum.js
+5
-0
hos-lastyearregum.json
common/models/hos-lastyearregum.json
+63
-0
hos-thisyearbudget.js
common/models/hos-thisyearbudget.js
+5
-0
hos-thisyearbudget.json
common/models/hos-thisyearbudget.json
+63
-0
hos-thisyearregum.js
common/models/hos-thisyearregum.js
+5
-0
hos-thisyearregum.json
common/models/hos-thisyearregum.json
+63
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+2360
-0
model-config.json
server/model-config.json
+24
-0
No files found.
common/models/educ-browse-1.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Educbrowse1
)
{
};
common/models/educ-browse-1.json
0 → 100644
View file @
437db2c4
{
"name"
:
"EducBrowse1"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"educ_browse1"
},
"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"
:
13
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
13
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
11
,
"scale"
:
2
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"float"
,
"dataLength"
:
null
,
"dataPrecision"
:
11
,
"dataScale"
:
2
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/educ-course-4.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Educcourse4
)
{
};
common/models/educ-course-4.json
0 → 100644
View file @
437db2c4
{
"name"
:
"EducCourse4"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"educ_course4"
},
"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"
:
13
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
13
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
11
,
"scale"
:
2
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"float"
,
"dataLength"
:
null
,
"dataPrecision"
:
11
,
"dataScale"
:
2
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/hos-lastyearbudget.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Hoslastyearbudget
)
{
};
common/models/hos-lastyearbudget.json
0 → 100644
View file @
437db2c4
{
"name"
:
"HosLastyearbudget"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_lastyearbudget"
},
"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"
:
6
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
6
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"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"
:
{}
}
common/models/hos-lastyearregum.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Hoslastyearregum
)
{
};
common/models/hos-lastyearregum.json
0 → 100644
View file @
437db2c4
{
"name"
:
"HosLastyearregum"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_lastyearregum"
},
"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"
:
7
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
7
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/hos-thisyearbudget.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Hosthisyearbudget
)
{
};
common/models/hos-thisyearbudget.json
0 → 100644
View file @
437db2c4
{
"name"
:
"HosThisyearbudget"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_thisyearbudget"
},
"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"
:
6
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
6
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"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"
:
{}
}
common/models/hos-thisyearregum.js
0 → 100644
View file @
437db2c4
'use strict'
;
module
.
exports
=
function
(
Hosthisyearregum
)
{
};
common/models/hos-thisyearregum.json
0 → 100644
View file @
437db2c4
{
"name"
:
"HosThisyearregum"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_thisyearregum"
},
"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"
:
7
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
7
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
definitions/RuiPengLoopbackApi.yaml
View file @
437db2c4
...
@@ -29788,6 +29788,2324 @@ paths:
...
@@ -29788,6 +29788,2324 @@ paths:
type
:
number
type
:
number
format
:
double
format
:
double
deprecated
:
false
deprecated
:
false
/HosLastyearbudgets
:
post
:
tags
:
-
HosLastyearbudget
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosLastyearbudget.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosLastyearbudget'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosLastyearbudget'
deprecated
:
false
patch
:
tags
:
-
HosLastyearbudget
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosLastyearbudget.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
put
:
tags
:
-
HosLastyearbudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosLastyearbudget.replaceOrCreate__put_HosLastyearbudgets
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
get
:
tags
:
-
HosLastyearbudget
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosLastyearbudget.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/HosLastyearbudget'
deprecated
:
false
/HosLastyearbudgets/replaceOrCreate
:
post
:
tags
:
-
HosLastyearbudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosLastyearbudget.replaceOrCreate__post_HosLastyearbudgets_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
/HosLastyearbudgets/upsertWithWhere
:
post
:
tags
:
-
HosLastyearbudget
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosLastyearbudget.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/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
'
/HosLastyearbudgets/{id}/exists'
:
get
:
tags
:
-
HosLastyearbudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosLastyearbudget.exists__get_HosLastyearbudgets_{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
'
/HosLastyearbudgets/{id}'
:
head
:
tags
:
-
HosLastyearbudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosLastyearbudget.exists__head_HosLastyearbudgets_{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
:
-
HosLastyearbudget
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosLastyearbudget.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/HosLastyearbudget'
deprecated
:
false
put
:
tags
:
-
HosLastyearbudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosLastyearbudget.replaceById__put_HosLastyearbudgets_{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/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
delete
:
tags
:
-
HosLastyearbudget
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosLastyearbudget.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
:
-
HosLastyearbudget
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosLastyearbudget.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosLastyearbudget 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/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
'
/HosLastyearbudgets/{id}/replace'
:
post
:
tags
:
-
HosLastyearbudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosLastyearbudget.replaceById__post_HosLastyearbudgets_{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/HosLastyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearbudget'
deprecated: false
/HosLastyearbudgets/findOne
:
get
:
tags
:
-
HosLastyearbudget
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosLastyearbudget.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/HosLastyearbudget'
deprecated
:
false
/HosLastyearbudgets/update
:
post
:
tags
:
-
HosLastyearbudget
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosLastyearbudget.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/HosLastyearbudget'
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
/HosLastyearbudgets/count
:
get
:
tags
:
-
HosLastyearbudget
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosLastyearbudget.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
/HosLastyearregums
:
post
:
tags
:
-
HosLastyearregum
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosLastyearregum.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosLastyearregum'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosLastyearregum'
deprecated
:
false
patch
:
tags
:
-
HosLastyearregum
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosLastyearregum.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
put
:
tags
:
-
HosLastyearregum
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosLastyearregum.replaceOrCreate__put_HosLastyearregums
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
get
:
tags
:
-
HosLastyearregum
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosLastyearregum.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/HosLastyearregum'
deprecated
:
false
/HosLastyearregums/replaceOrCreate
:
post
:
tags
:
-
HosLastyearregum
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosLastyearregum.replaceOrCreate__post_HosLastyearregums_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
/HosLastyearregums/upsertWithWhere
:
post
:
tags
:
-
HosLastyearregum
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosLastyearregum.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/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
'
/HosLastyearregums/{id}/exists'
:
get
:
tags
:
-
HosLastyearregum
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosLastyearregum.exists__get_HosLastyearregums_{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
'
/HosLastyearregums/{id}'
:
head
:
tags
:
-
HosLastyearregum
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosLastyearregum.exists__head_HosLastyearregums_{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
:
-
HosLastyearregum
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosLastyearregum.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/HosLastyearregum'
deprecated
:
false
put
:
tags
:
-
HosLastyearregum
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosLastyearregum.replaceById__put_HosLastyearregums_{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/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
delete
:
tags
:
-
HosLastyearregum
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosLastyearregum.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
:
-
HosLastyearregum
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosLastyearregum.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosLastyearregum 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/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
'
/HosLastyearregums/{id}/replace'
:
post
:
tags
:
-
HosLastyearregum
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosLastyearregum.replaceById__post_HosLastyearregums_{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/HosLastyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosLastyearregum'
deprecated: false
/HosLastyearregums/findOne
:
get
:
tags
:
-
HosLastyearregum
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosLastyearregum.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/HosLastyearregum'
deprecated
:
false
/HosLastyearregums/update
:
post
:
tags
:
-
HosLastyearregum
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosLastyearregum.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/HosLastyearregum'
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
/HosLastyearregums/count
:
get
:
tags
:
-
HosLastyearregum
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosLastyearregum.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
/HosThisyearregums
:
post
:
tags
:
-
HosThisyearregum
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosThisyearregum.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosThisyearregum'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosThisyearregum'
deprecated
:
false
patch
:
tags
:
-
HosThisyearregum
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThisyearregum.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
put
:
tags
:
-
HosThisyearregum
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearregum.replaceOrCreate__put_HosThisyearregums
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
get
:
tags
:
-
HosThisyearregum
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosThisyearregum.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/HosThisyearregum'
deprecated
:
false
/HosThisyearregums/replaceOrCreate
:
post
:
tags
:
-
HosThisyearregum
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearregum.replaceOrCreate__post_HosThisyearregums_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
/HosThisyearregums/upsertWithWhere
:
post
:
tags
:
-
HosThisyearregum
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThisyearregum.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/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
'
/HosThisyearregums/{id}/exists'
:
get
:
tags
:
-
HosThisyearregum
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosThisyearregum.exists__get_HosThisyearregums_{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
'
/HosThisyearregums/{id}'
:
head
:
tags
:
-
HosThisyearregum
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosThisyearregum.exists__head_HosThisyearregums_{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
:
-
HosThisyearregum
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosThisyearregum.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/HosThisyearregum'
deprecated
:
false
put
:
tags
:
-
HosThisyearregum
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearregum.replaceById__put_HosThisyearregums_{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/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
delete
:
tags
:
-
HosThisyearregum
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosThisyearregum.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
:
-
HosThisyearregum
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThisyearregum.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThisyearregum 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/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
'
/HosThisyearregums/{id}/replace'
:
post
:
tags
:
-
HosThisyearregum
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearregum.replaceById__post_HosThisyearregums_{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/HosThisyearregum'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearregum'
deprecated: false
/HosThisyearregums/findOne
:
get
:
tags
:
-
HosThisyearregum
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosThisyearregum.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/HosThisyearregum'
deprecated
:
false
/HosThisyearregums/update
:
post
:
tags
:
-
HosThisyearregum
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosThisyearregum.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/HosThisyearregum'
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
/HosThisyearregums/count
:
get
:
tags
:
-
HosThisyearregum
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosThisyearregum.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
/HosThisyearbudgets
:
post
:
tags
:
-
HosThisyearbudget
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosThisyearbudget.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosThisyearbudget'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosThisyearbudget'
deprecated
:
false
patch
:
tags
:
-
HosThisyearbudget
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosThisyearbudget.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
put
:
tags
:
-
HosThisyearbudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosThisyearbudget.replaceOrCreate__put_HosThisyearbudgets
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
get
:
tags
:
-
HosThisyearbudget
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosThisyearbudget.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/HosThisyearbudget'
deprecated
:
false
/HosThisyearbudgets/replaceOrCreate
:
post
:
tags
:
-
HosThisyearbudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosThisyearbudget.replaceOrCreate__post_HosThisyearbudgets_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
/HosThisyearbudgets/upsertWithWhere
:
post
:
tags
:
-
HosThisyearbudget
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosThisyearbudget.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/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
'
/HosThisyearbudgets/{id}/exists'
:
get
:
tags
:
-
HosThisyearbudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosThisyearbudget.exists__get_HosThisyearbudgets_{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
'
/HosThisyearbudgets/{id}'
:
head
:
tags
:
-
HosThisyearbudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosThisyearbudget.exists__head_HosThisyearbudgets_{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
:
-
HosThisyearbudget
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosThisyearbudget.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/HosThisyearbudget'
deprecated
:
false
put
:
tags
:
-
HosThisyearbudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearbudget.replaceById__put_HosThisyearbudgets_{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/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
delete
:
tags
:
-
HosThisyearbudget
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosThisyearbudget.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
:
-
HosThisyearbudget
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosThisyearbudget.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosThisyearbudget 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/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
'
/HosThisyearbudgets/{id}/replace'
:
post
:
tags
:
-
HosThisyearbudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosThisyearbudget.replaceById__post_HosThisyearbudgets_{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/HosThisyearbudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosThisyearbudget'
deprecated: false
/HosThisyearbudgets/findOne
:
get
:
tags
:
-
HosThisyearbudget
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosThisyearbudget.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/HosThisyearbudget'
deprecated
:
false
/HosThisyearbudgets/update
:
post
:
tags
:
-
HosThisyearbudget
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosThisyearbudget.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/HosThisyearbudget'
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
/HosThisyearbudgets/count
:
get
:
tags
:
-
HosThisyearbudget
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosThisyearbudget.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
/EducCourse4s
:
post
:
tags
:
-
EducCourse4
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
EducCourse4.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/EducCourse4'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/EducCourse4'
deprecated
:
false
patch
:
tags
:
-
EducCourse4
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: EducCourse4.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
put
:
tags
:
-
EducCourse4
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: EducCourse4.replaceOrCreate__put_EducCourse4s
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
get
:
tags
:
-
EducCourse4
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
EducCourse4.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/EducCourse4'
deprecated
:
false
/EducCourse4s/replaceOrCreate
:
post
:
tags
:
-
EducCourse4
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: EducCourse4.replaceOrCreate__post_EducCourse4s_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
/EducCourse4s/upsertWithWhere
:
post
:
tags
:
-
EducCourse4
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: EducCourse4.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/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
'
/EducCourse4s/{id}/exists'
:
get
:
tags
:
-
EducCourse4
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
EducCourse4.exists__get_EducCourse4s_{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
'
/EducCourse4s/{id}'
:
head
:
tags
:
-
EducCourse4
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
EducCourse4.exists__head_EducCourse4s_{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
:
-
EducCourse4
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
EducCourse4.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/EducCourse4'
deprecated
:
false
put
:
tags
:
-
EducCourse4
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'EducCourse4.replaceById__put_EducCourse4s_{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/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
delete
:
tags
:
-
EducCourse4
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
EducCourse4.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
:
-
EducCourse4
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: EducCourse4.prototype.patchAttributes
parameters:
- name: id
in: path
description: EducCourse4 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/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
'
/EducCourse4s/{id}/replace'
:
post
:
tags
:
-
EducCourse4
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'EducCourse4.replaceById__post_EducCourse4s_{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/EducCourse4'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducCourse4'
deprecated: false
/EducCourse4s/findOne
:
get
:
tags
:
-
EducCourse4
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
EducCourse4.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/EducCourse4'
deprecated
:
false
/EducCourse4s/update
:
post
:
tags
:
-
EducCourse4
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
EducCourse4.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/EducCourse4'
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
/EducCourse4s/count
:
get
:
tags
:
-
EducCourse4
summary
:
Count instances of the model matched by where from the data source.
operationId
:
EducCourse4.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
/EducBrowse1s
:
post
:
tags
:
-
EducBrowse1
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
EducBrowse1.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/EducBrowse1'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/EducBrowse1'
deprecated
:
false
patch
:
tags
:
-
EducBrowse1
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: EducBrowse1.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
put
:
tags
:
-
EducBrowse1
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: EducBrowse1.replaceOrCreate__put_EducBrowse1s
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
get
:
tags
:
-
EducBrowse1
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
EducBrowse1.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/EducBrowse1'
deprecated
:
false
/EducBrowse1s/replaceOrCreate
:
post
:
tags
:
-
EducBrowse1
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: EducBrowse1.replaceOrCreate__post_EducBrowse1s_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
/EducBrowse1s/upsertWithWhere
:
post
:
tags
:
-
EducBrowse1
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: EducBrowse1.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/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
'
/EducBrowse1s/{id}/exists'
:
get
:
tags
:
-
EducBrowse1
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
EducBrowse1.exists__get_EducBrowse1s_{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
'
/EducBrowse1s/{id}'
:
head
:
tags
:
-
EducBrowse1
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
EducBrowse1.exists__head_EducBrowse1s_{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
:
-
EducBrowse1
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
EducBrowse1.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/EducBrowse1'
deprecated
:
false
put
:
tags
:
-
EducBrowse1
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'EducBrowse1.replaceById__put_EducBrowse1s_{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/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
delete
:
tags
:
-
EducBrowse1
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
EducBrowse1.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
:
-
EducBrowse1
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: EducBrowse1.prototype.patchAttributes
parameters:
- name: id
in: path
description: EducBrowse1 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/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
'
/EducBrowse1s/{id}/replace'
:
post
:
tags
:
-
EducBrowse1
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'EducBrowse1.replaceById__post_EducBrowse1s_{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/EducBrowse1'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/EducBrowse1'
deprecated: false
/EducBrowse1s/findOne
:
get
:
tags
:
-
EducBrowse1
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
EducBrowse1.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/EducBrowse1'
deprecated
:
false
/EducBrowse1s/update
:
post
:
tags
:
-
EducBrowse1
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
EducBrowse1.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/EducBrowse1'
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
/EducBrowse1s/count
:
get
:
tags
:
-
EducBrowse1
summary
:
Count instances of the model matched by where from the data source.
operationId
:
EducBrowse1.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
:
...
@@ -30851,6 +33169,7 @@ definitions:
...
@@ -30851,6 +33169,7 @@ definitions:
type
:
number
type
:
number
format
:
double
format
:
double
additionalProperties
:
false
additionalProperties
:
false
<<<<<<< HEAD
MainBilltotalrevenue
:
MainBilltotalrevenue
:
properties
:
properties
:
id
:
id
:
...
@@ -30866,6 +33185,9 @@ definitions:
...
@@ -30866,6 +33185,9 @@ definitions:
-
name
-
name
additionalProperties
:
false
additionalProperties
:
false
MainCountbill
:
MainCountbill
:
=======
HosLastyearbudget
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
...
@@ -30878,6 +33200,7 @@ definitions:
...
@@ -30878,6 +33200,7 @@ definitions:
format: double
format: double
required:
required:
- name
- name
<<<<<<< HEAD
- value
- value
additionalProperties
:
false
additionalProperties
:
false
MainBillbrandnum
:
MainBillbrandnum
:
...
@@ -30895,27 +33218,44 @@ definitions:
...
@@ -30895,27 +33218,44 @@ definitions:
-
name
-
name
additionalProperties
:
false
additionalProperties
:
false
MainGoldteachers
:
MainGoldteachers
:
=======
additionalProperties
:
false
HosLastyearregum
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
type: string
type: string
name:
name:
<<<<<<< HEAD
maxLength
:
5
maxLength
:
5
=======
maxLength
:
7
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
type: string
type: string
value
:
value
:
type
:
number
type
:
number
format
:
double
format
:
double
required
:
required
:
-
name
-
name
<<<<<<< HEAD
- value
- value
additionalProperties
:
false
additionalProperties
:
false
MainForteachers
:
MainForteachers
:
=======
additionalProperties
:
false
HosThisyearregum
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
type: string
type: string
name:
name:
<<<<<<< HEAD
maxLength
:
4
maxLength
:
4
=======
maxLength
:
7
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
type: string
type: string
value
:
value
:
type
:
number
type
:
number
...
@@ -30923,7 +33263,11 @@ definitions:
...
@@ -30923,7 +33263,11 @@ definitions:
required
:
required
:
-
name
-
name
additionalProperties
:
false
additionalProperties
:
false
<<<<<<< HEAD
MianPetdoco
:
MianPetdoco
:
=======
HosThisyearbudget
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
...
@@ -30937,6 +33281,7 @@ definitions:
...
@@ -30937,6 +33281,7 @@ definitions:
required:
required:
- name
- name
additionalProperties: false
additionalProperties: false
<<<<<<< HEAD
MainPetdoc
:
MainPetdoc
:
properties
:
properties
:
id
:
id
:
...
@@ -31023,12 +33368,19 @@ definitions:
...
@@ -31023,12 +33368,19 @@ definitions:
-
name
-
name
additionalProperties
:
false
additionalProperties
:
false
MainCosmetology
:
MainCosmetology
:
=======
EducCourse4
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
type: string
type: string
name:
name:
<<<<<<< HEAD
maxLength
:
5
maxLength
:
5
=======
maxLength
:
13
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
type: string
type: string
value
:
value
:
type
:
number
type
:
number
...
@@ -31036,13 +33388,21 @@ definitions:
...
@@ -31036,13 +33388,21 @@ definitions:
required
:
required
:
-
name
-
name
additionalProperties
:
false
additionalProperties
:
false
<<<<<<< HEAD
MainRegister
:
MainRegister
:
=======
EducBrowse1
:
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
type: string
type: string
name:
name:
<<<<<<< HEAD
maxLength
:
5
maxLength
:
5
=======
maxLength
:
13
>
>>>>>>
b7fc8bf73da8560743aaf7ceee802056a1f73492
type: string
type: string
value
:
value
:
type
:
number
type
:
number
...
...
server/model-config.json
View file @
437db2c4
...
@@ -265,6 +265,7 @@
...
@@ -265,6 +265,7 @@
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
},
<<<<<<<
HEAD
"MainBilltotalrevenue"
:
{
"MainBilltotalrevenue"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
...
@@ -318,6 +319,29 @@
...
@@ -318,6 +319,29 @@
"public"
:
true
"public"
:
true
},
},
"MainRegister"
:
{
"MainRegister"
:
{
=======
"HosLastyearbudget"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosLastyearregum"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosThisyearregum"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosThisyearbudget"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"EducCourse4"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"EducBrowse1"
:
{
>>>>>>>
b
7
fc
8
bf
73
da
8560743
aaf
7
ceee
802056
a
1
f
73492
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
}
}
...
...
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