ID: 10253

Print Friendly, PDF & Email

Asset Export Metadata

API Request

GET /review/api/asset/export/metadata

HEADERS:

Cookie Zoom Authenticated Cookie

 

BODY: formData

Key Description Required Default
fuid Asset Id of the file for which metadata has to be exported. Yes
rrn

Repository Revision Number of the asset at which metadata has to be exported. 

Use “-1” for latest revision.

Yes
type

Type of the export. Possible values are json, csv, tab

Optional csv

 

Note: A zip file will be download in multiple fuid and rrn values are specified as query parameter to export batch of metadata for multiple assets.

API Response

HTTP 200 OK

Response headers are set according to export type. File is directly streamed from server as an HTTP response and can be saved on disk.

Any HTTP client can be used to request and download the exported metadata.

 

HTTP 401

Authentication failed. Occurs when cookie is not valid.

Curl Command

Syntax

curl -o metadata.txt \
  -X GET "http://preview-server:8873/review/api/asset/export/metadata?fuid=<asset-id>&rrn=-1&type=<csv|tab|json>"