2. Resources
2.1. My-machines-controller
My Machines Controller
2.2. My-machines-dept-controller
My Machines Dept Controller
2.2.1. getDepts
GET /myMachines/v1/departments/authorized-depts
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
expandLines |
expandLines |
boolean |
|
Query |
expandUnits |
expandUnits |
boolean |
|
2.2.2. getPreferredDepts
GET /myMachines/v1/departments/preferred-depts
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
expandLines |
expandLines |
boolean |
|
Query |
expandUnits |
expandUnits |
boolean |
|
Query |
previousPreferences |
previousPreferences |
integer (int32) |
|
Query |
retrieveChildren |
retrieveChildren |
boolean |
|
2.3. My-machines-line-controller
My Machines Line Controller
2.3.1. getLines
GET /myMachines/v1/lines/authorized-lines
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
departmentId |
departmentId |
integer (int64) |
|
Query |
expandUnits |
expandUnits |
boolean |
|
2.3.2. getPreferredLines
GET /myMachines/v1/lines/preferred-lines
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
departmentId |
departmentId |
integer (int64) |
|
Query |
expandUnits |
expandUnits |
boolean |
|
Query |
previousPreferences |
previousPreferences |
integer (int32) |
|
Query |
retrieveChildren |
retrieveChildren |
boolean |
|
2.4. My-machines-unit-controller
My Machines Unit Controller
2.4.1. getUnits
GET /myMachines/v1/units/authorized-units
2.4.2. getPreferredUnits
GET /myMachines/v1/units/preferred-units
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lineId |
lineId |
integer (int64) |
|
Query |
previousPreferences |
previousPreferences |
integer (int32) |
|
Query |
retrieveChildren |
retrieveChildren |
boolean |
|
3. Definitions
3.1. PreferredMachines
Name | Schema |
---|---|
units |
< PreferredMachinesInfo > array |
userId |
integer (int64) |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://localhost:8443/uaa/oauth/authorize
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://localhost:8443/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |