arrow_back Back to all endpoints
PUT https://test-api.finerworks.com/v3/update_file_selection

Update File Selection

Updates a list of a users current selected image files based on the selection key.

Body

Name Description Type Additional information
guids A list of file guids that were selected. array (globally unique identifier)

Required

guid Master key (guid) assigned to all files that are selected. globally unique identifier

Required

Example JSON Body

application/json, text/json

{
  "guids": [
    "cd1b7fd9-8d4d-4daa-a77c-3d5e39061cb1",
    "c53c03fd-7f78-4048-be79-58770867e0ca"
  ],
  "guid": "fb0a5496-1c56-4b56-b077-947dce4583fb"
}

Sample Code Library

curl --location --request PUT 'https://test-api.finerworks.com/v3/update_file_selection' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "guids": [
    "cd1b7fd9-8d4d-4daa-a77c-3d5e39061cb1",
    "c53c03fd-7f78-4048-be79-58770867e0ca"
  ],
  "guid": "fb0a5496-1c56-4b56-b077-947dce4583fb"
}'