Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
EditScheduleUpdateRequestData
Response
Update
curl --request PUT \
--url http://localhost/api/schedules/{schedule}/updates/{update} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"message": "<string>"
}'
{
"data": {
"id": "<string>",
"type": "updates",
"attributes": {
"id": 123,
"updateable_id": 123,
"updateable_type": "<string>",
"message": "<string>",
"status": {
"human": "<string>",
"value": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}
curl --request PUT \
--url http://localhost/api/schedules/{schedule}/updates/{update} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"message": "<string>"
}'
{
"data": {
"id": "<string>",
"type": "updates",
"attributes": {
"id": 123,
"updateable_id": 123,
"updateable_type": "<string>",
"message": "<string>",
"status": {
"human": "<string>",
"value": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
EditScheduleUpdateRequestData
Update
Show child attributes