Introduction
...
- Validate URL
- Read URL metadata
Validate URL API
POST - asset/v3/validate?field=<license(youtube URL link) / size(google drive,
...
others)>
Request Header:
Authorisation: //Authorisation key
Content-Type: application/json'
...
{ "request": { "asset": { "provider": "<youtube/googledrive/azure/aws>other>", "url": "<URL LInk>" } } } |
---|
Response Body
{ "id": "asset.url.validate", "ver": "1.0", "ts": "2019-01-11T06:33:04ZZ", "params": { "resmsgid": "33b18620-6114-4b40-b439-6587c030bdc5", "msgid": null, "err": null, "status": null, "errmsg": null }, "responseCode": "OK", "result": { "<field>": { "value": "youtube<field value>", "valid": false<true/false> } } } |
---|
Validation Logic:
...
URL Metadata Read API
POST - asset/v3/url/metadata/read
Request Header:
Authorisation: //Authorisation key
Content-Type: application/json'
...
{ "request": { "asset": { "provider": "<youtube/googledrive/azure/aws>other>", "url": "<URL LInk>" } } } |
---|
Response Body
{ "id": "asset.url.meatadata.read", "ver": "1.0", "ts": "2019-01-11T07:01:13ZZ", "params": { "resmsgid": "2c3f4fa4-645a-4d27-9b80-cd2626b82940", "msgid": null, "err": null, "status": null, "errmsg": null }, "responseCode": "OK", "result": { "metadata": { "license": "youtube" } } } |
---|