Get Asset

This endpoint returns the details of an asset.

Request

GET https://v2.api.uberflip.com/assets/{assetId}
Path Parameters Description
assetId The unique identifier of the asset

Response

Body Parameters Type Description
id Integer The asset identifier
hub_id Integer The hub identifier
original_filename String The asset filename
url String The asset URL
created_at Date The date the asset was created
modified_at Date The date the asset was modified

Examples

curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/assets/83

Sample response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": 83,
    "hub_id": 24601,
    "original_filename": "cute-hub.png",
    "url": "http://content.cdntwrk.com/files/aHViPTMxNCZjbWQ9aXRlbWVkaXRvcmltYWdlJmZpbGVuYW1lPWl0ZW1lZGl0b3JpbWFnZV81M2E4NmRiZDJmYzhlLnBuZyZ2ZXJzaW9uPTAwMDAmc2lnPWY1Y2JjMmY5NTRjN2E4OGVjOTYzY2UyM2QyNDU3MTg1",
    "created_at": "2014-06-23T14:11:09-0400",
    "modified_at": "2014-06-23T14:11:09-0400"
}