Update an asset
Edits the user-editable metadata for a single asset — description, GPS coordinates, and original capture datetime. Only fields included in the request body are changed; others are left untouched. Passing null for a field removes a previously-set value; the effective response may still contain a value from another metadata source. latitude and longitude must be set together (both written or both cleared).
Setting or clearing GPS coordinates schedules an asynchronous refresh of derived location names.
For editing multiple assets in one round trip, prefer bulk_update_assets.
Path parameters
Asset ID (with asset_ prefix) of the asset to update.
Asset ID (with asset_ prefix) of the asset to update.
Request body
Response
Successful Response
Changes
Changed in 10 of the 79 revisions of this API.14715
- ▲
response property
detaillist-of-types was widened by adding typesstringto media typeapplication/jsonof response422response-property-list-of-types-widened
- ○
the response property
detailbecame required for the status422response-property-became-required
- ▲
- ○
added the required property
current_version_idto the response with the200statusresponse-required-property-added
- ○
added the required property
kindto the response with the200statusresponse-required-property-added
- ○
- ○
added the media type
application/jsonfor the response with the status404response-media-type-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ○
added the optional property
stack_idto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
faces/anyOf[subschema #1]/items/confidenceto the response with the200statusresponse-optional-property-added
- ○
added the required property
faces/anyOf[subschema #1]/items/sourceto the response with the200statusresponse-required-property-added
- ○
- ●
removed the optional property
checksumfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
checksum_sha1from the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
device_asset_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
device_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
file_created_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
file_modified_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
file_size_bytesfrom the response with the200statusresponse-optional-property-removed
- ●
- ▲
the response property
checksumbecame optional for the status200response-property-became-optional
- ▲
the response property
device_asset_idbecame optional for the status200response-property-became-optional
- ▲
the response property
device_idbecame optional for the status200response-property-became-optional
- ▲
the response property
file_created_atbecame optional for the status200response-property-became-optional
- ▲
the response property
file_modified_atbecame optional for the status200response-property-became-optional
- ▲
response property
checksumlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
device_asset_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
device_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
faceslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
file_created_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
file_modified_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
file_size_byteslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
peoplelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added the optional property
file_datato the response with the200statusresponse-optional-property-added
- ○
the
file_size_bytesresponse's property default value0was removed for the status200response-property-default-value-removed
- ▲
- ○
added the optional property
thumbhashto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
durationto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○