assets

Check asset existence

Changed on

Checks which assets exist in the user's library based on checksums or device identifiers. Provide exactly one of: checksums, checksum_sha1s, or (deviceId AND deviceAssetIds). List parameters are limited to 5000 items.

post/api/assets/exist

Request

  • Base URL: https://api.gumnut.ai
  • URL: https://api.gumnut.ai/api/assets/exist
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

library_idstring nullable

Library to check assets in. Optional if the user has a single live (non-trashed) library; required when they have multiple.

Request body

checksumsstring[] nullable

List of base64-encoded SHA-256 checksums to check for existence

checksum_sha1sstring[] nullable

List of base64-encoded SHA-1 checksums to check for existence

deviceIdstring nullable

Device ID to filter assets by (required with deviceAssetIds)

deviceAssetIdsstring[] nullable

List of device asset IDs to check for existence (requires deviceId)

Response

Successful Response

Changes

    • breaking

      response property detail list-of-types was widened by adding types string to media type application/json of response 422

    • info

      the response property became required for the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status