Banners
Get Banners
GET /dashboard/contents/banners
Headers
Client-Key*
String
Your client Key
Authorization*
String
Your bearer token
{
"data": [
{
"id": "9c460551-4c8b-4a3f-aa2d-99db9bfabcbc",
"title": "Hello World",
"subtitle": "",
"module": "news",
"cover": "https://storage.munio.id/uploads/public/656/55d/306/65655d306e6ba537139831.jpg",
"ref": 4,
"created_at": "2023-11-28T03:23:28.000000Z",
"updated_at": "2023-11-28T03:23:28.000000Z"
}
],
"meta": {
"pagination": {
"total": 1,
"count": 1,
"per_page": 15,
"current_page": 1,
"total_pages": 1,
"links": {}
}
}
}Create Banner
POST /dashboard/contents/banners
Headers
Client-Key*
String
Your client Key
Authorization*
String
Bearer access_token
Request Body
title*
String
Title
subtitle
String
module
String
Options: news, events, external, etc
cover
String
Base64
ref
Any
External Link or Related ID
Get Detail Banner
GET /dashboard/contents/banners/{uuid}
Path Parameters
uuid*
Integer
The uuidd of the banner
Headers
Client-Key*
String
Your client Key
Authorization*
String
Your admin bearer token
Update Banner
PUT /dashboard/contents/banners/{uuid}
Path Parameters
uuid
Integer
The uuid of the banner
Headers
Client-Key*
String
Your client Key
Authorization*
String
Bearer access_token
Request Body
title*
String
subtitle
String
module
String
Options: event, news, external, etc
cover
String
Base64
ref
Any
External Link or Related ID
Delete Banner
DELETE /dashboard/contents/banners/{uuid}
Path Parameters
uuid*
Integer
The uuid of the banner
Headers
Client-Key*
String
Your client Key
Authorization*
String
Bearer access_token
Get Related
GET /dashboard/contents/related
Query Parameters
module*
String
Options: news, events
Headers
Client-Key*
String
Your client Key
Authorization*
String
Your bearer token
Example Request Create
Example Request Update
Last updated