Components APIs
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/jobs?page=1&per_page=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "total": 0 }
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/jobs \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"address": {
"street": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
}
}'
{ "id": "string", "name": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/jobs/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "name": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/jobs/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"address": {
"street": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
}
}'
{ "id": "string", "name": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }