Logo
Swift API Sandbox Collections API Documentation

Update the status of multiple distributions in Alliance Cloud.

PATCH {{baseUrl}}/alliancecloud/v1/distributions

This operation enables updating the status of several distributions in a single API call. Updates to the status for each distribution can either be 'Ack' or 'Nak'. In case of a 'Nak', an optional message describing the reason for the NAK can be specified. If specified in an 'Ack' status update, the message will be ignored

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X PATCH 'https://sandbox.swift.com/alliancecloud/v1/distributions' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"0":{"id":44984189498,"status":"Ack"},"1":{"id":44984189499,"status":"Ack"},"2":{"id":44984189500,"status":"Nak","status_update_message":"Could not contact storage"}}'

ENDPOINTS