API by router
Worker
My Assignments
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
channel_typeChannel Type
channel_addressChannel Address
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/assignments?channel_type=string&channel_address=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}My Certs
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
channel_typeChannel Type
channel_addressChannel Address
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/certs?channel_type=string&channel_address=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}My Shifts
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
channel_typeChannel Type
channel_addressChannel Address
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/shifts?channel_type=string&channel_address=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Log My Hours
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
channel_typeChannel Type
channel_addressChannel Address
dateDate
Format
datedescription?Description
hoursHours
Range
0 < valuejob_id?Job Id
rate?Rate
shift_id?Shift Id
Response Body
curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/timesheet?channel_type=string&channel_address=string" \ -H "Content-Type: application/json" \ -d '{ "date": "2019-08-24", "hours": 0 }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}My Timesheets
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
channel_typeChannel Type
channel_addressChannel Address
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/timesheets?channel_type=string&channel_address=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Verify Worker Binding
Process a worker's verification response. Upgrades binding state.
Path Parameters
instance_idInstance Id
Format
uuidchannel_addressChannel Address
channel_typeChannel Type
responseResponse
Worker's verification response
Response Body
curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/verify" \ -H "Content-Type: application/json" \ -d '{ "channel_address": "string", "channel_type": "string", "response": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}