List banner types

Returns all configured banner types for the current instance.

Request

GET /banner-type

Headers

HeaderValue
AuthorizationBearer <token>

Example Request

GET /banner-type

Response

Returns a JSON array of banner type objects.

Response Fields

FieldTypeDescription
idintegerUnique banner type ID.
namestringDisplay name of the banner type (e.g. Hero, Sidebar).

Example Response

[
  {
    "id": 1,
    "name": "Hero"
  },
  {
    "id": 2,
    "name": "Sidebar"
  }
]