Formats

Get formats

GET /api/v1/formats

{
data : [
{
"name": "Video",
"slug": "video",
"id": "5d790fe2e5c62900019d7831",
"class": "com.factly.dega.domain.Format",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:16:50.531Z",
"lastUpdatedDate": "2019-09-11T15:16:50.531Z"
},
{
...
},
...
]
}

Get format

GET /api/v1/formats/:key

Path parameters

paramsdescription
keyTo get format by Object Id or slug

Get a particular format by Object Id

GET /api/v1/formats/$formatId

{
data : {
"name": "Video",
"slug": "video",
"id": "5d790fe2e5c62900019d7831",
"class": "com.factly.dega.domain.Format",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:16:50.531Z",
"lastUpdatedDate": "2019-09-11T15:16:50.531Z"
}
}

Get a particular format by slug

GET /api/v1/formats/$formatSlug

{
data : {
"name": "Video",
"slug": "video",
"id": "5d790fe2e5c62900019d7831",
"class": "com.factly.dega.domain.Format",
"isDefault": true,
"clientId": "default",
"createdDate": "2019-09-11T15:16:50.531Z",
"lastUpdatedDate": "2019-09-11T15:16:50.531Z"
}
}