API by router
Worker
GET
instance_id*Instance IdFormat
uuidchannel_type*Channel Typechannel_address*Channel AddressSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/assignments?channel_type=string&channel_address=string'Example Response
nullGET
instance_id*Instance IdFormat
uuidchannel_type*Channel Typechannel_address*Channel AddressSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/certs?channel_type=string&channel_address=string'Example Response
nullGET
instance_id*Instance IdFormat
uuidchannel_type*Channel Typechannel_address*Channel AddressSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/shifts?channel_type=string&channel_address=string'Example Response
nullPOST
instance_id*Instance IdFormat
uuidchannel_type*Channel Typechannel_address*Channel Addressapplication/json- body
date*DateFormat
datedescription?string|nullhours*HoursRange
0 < valuejob_id?|nullrate?number|nullshift_id?|nullSuccessful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/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": 1}'Example Response
nullGET
instance_id*Instance IdFormat
uuidchannel_type*Channel Typechannel_address*Channel AddressSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/me/timesheets?channel_type=string&channel_address=string'Example Response
nullPOST
instance_id*Instance IdFormat
uuidapplication/json- body
channel_address*Channel Addresschannel_type*Channel Typeresponse*ResponseWorker's verification response
Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/worker/verify' \ -H 'Content-Type: application/json' \ -d '{ "channel_address": "string", "channel_type": "string", "response": "string"}'Example Response
null