Admin Editorials
Create an editorial
Creates an editorial and, if a media array is supplied, its ordered set of assets.
post/v1/admin/editorials
Request
- Base URLhttps://api.hify.club
- AuthAPI key in header X-User-Token
Request body
Example request
{
"title": "Launch week",
"caption": "What's new this week",
"position": 1,
"editor": "jane.doe",
"media": [
{
"position": 1,
"media_type": "photo",
"s3_bucket": "hify-editorials",
"s3_path": "launch/hero.jpg",
"thumbnail_s3_path": "launch/hero-thumb.jpg"
}
]
}Response
Editorial created
Example response
{
"id": 7,
"title": "Launch week",
"caption": "What's new this week",
"position": 1,
"media": [
{
"id": 42,
"editorial_id": 7,
"position": 1,
"media_type": "photo",
"s3_bucket": "hify-editorials",
"s3_path": "launch/hero.jpg",
"thumbnail_s3_path": "launch/hero-thumb.jpg"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.