Returns all configured banner types for the current instance.
Request
GET /banner-type
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Example Request
GET /banner-type
Response
Returns a JSON array of banner type objects.
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique banner type ID. |
name | string | Display name of the banner type (e.g. Hero, Sidebar). |
Example Response
[
{
"id": 1,
"name": "Hero"
},
{
"id": 2,
"name": "Sidebar"
}
]
