Update Asset

You can use the REST API to update the details of specific asset.

NB: This endpoint will deliver different data depening on the asset type.. To see the JSON responses to different asset types please see the Video Object Documentation , Photo Object Documentation or the Audio Object Documentation

Request

PUT https://www.cameratag.com/api/v15/assets/[YOUR_ASSET_UUID].json

Parameters

Below is a list of parameters that this endpoint accepts.

Parameter Accepted Values Description Required
name * The name of the asset Optional
description * The description of the asset Optional
metadata * A JSON string of user-defined data Optional
state processed, approved, rejected, featured Allows you to set the state of the asset (used for moderation purposes) Optional

Example Response

This endpoint will deliver different data depening on the chosen asset's type. To see the different asset types please see the:

Video Object Documentation
Photo Object Documentation
or the
Audio Object Documentation