Get Asset

API Syntax

When using the Get Asset API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/asset/{AssetID}

Where:

AssetID

Responses

200

400

curl --request GET \
     --url https://api.kevel.co/v1/asset/AssetID \
     --header 'accept: application/json'

Example Response

{
    "Type": "video",
    "ContentURL": "https://stream.video-assets.kevel.com/F02sQ4e4VovltQ3xxxAMv008RpJufiNY.m3u8",
    "IsDeleted": false,
    "Status": "ready",
    "AdvertiserId": 45678,
    "Metadata": {
        "Height": 360,
        "Width": 640,
        "FileExtension": ".m3u8",
        "AspectRatio": "16:9",
        "Duration": 15.006633,
        "PlaybackId": "F02sQ4e4VovltQ3xxxAMv008RpJufiNY"
    },
    "Name": "Example Video Asset",
    "Id": 1234
}