GET /admin/slide/theme

Get list available slide themes in the system.

Query parameters

  • page integer

    Page number for pagination

    Minimum value is 1. Default value is 1.

  • pageSize integer

    Number of items per page (1-50)

    Minimum value is 1, maximum value is 50. Default value is 10.

Responses

  • 200 application/json

    Successful retrieval of slide themes list

    Hide response attributes Show response attributes object
    • success boolean
    • code integer(int32)
    • message string
    • data array[object]

      Slide theme configuration

      Hide data attributes Show data attributes object
      • backgroundColor string | object Required

        Page background color or gradient

        One of:
      • themeColors array[string] Required

        Theme color palette

      • fontColor string Required

        Default font color

      • fontName string Required

        Default font family

      • outline object Required
        Hide outline attributes Show outline attributes object
        • style string

          Values are solid, dashed, or dotted.

        • width number
        • color string
      • shadow object Required
        Hide shadow attributes Show shadow attributes object
        • h number Required

          Horizontal offset

        • v number Required

          Vertical offset

        • blur number Required

          Blur amount

        • color string Required
      • titleFontName string
      • titleFontColor string
      • labelFontColor string
      • labelFontName string
      • id string
      • name string
      • additionalElements array[object]

        Base definition for PPT Elements (Text, Image, Shape, etc.)

        Hide additionalElements attributes Show additionalElements attributes object
        • id string Required
        • type string Required

          Values are text, image, shape, line, chart, table, latex, video, or audio.

        • left number Required
        • top number Required
        • width number Required
        • height number Required
        • rotate number Required
        • lock boolean
        • groupId string
      • accentImageShape string

        Values are default, big, or mixed.

      • card object
        Hide card attributes Show card attributes object
        • enabled boolean Required
        • borderRadius number Required
        • borderWidth number Required
        • fill string Required

          Values are none, full, or semi.

        • shadow object Required
          Hide shadow attributes Show shadow attributes object
          • h number Required

            Horizontal offset

          • v number Required

            Vertical offset

          • blur number Required

            Blur amount

          • color string Required
        • backgroundColor string Required
        • textColor string Required
    • pagination object
      Hide pagination attributes Show pagination attributes object
      • currentPage

        The current page number (1-based indexing)

      • pageSize

        Number of items per page

      • totalItems

        Total number of items across all pages

      • totalPages

        Total number of available pages

  • 400 application/json

    Bad Request - Invalid URL or parameters

  • 401 application/json

    Unauthorized - Invalid or missing token

  • 403 application/json

    Forbidden - Admin access required

  • 500 application/json

    Internal Server Error

GET /admin/slide/theme
curl \
 --request GET 'http://localhost:8080/api/admin/slide/theme' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "code": 200,
  "message": "string",
  "data": [
    {
      "backgroundColor": "string",
      "themeColors": [
        "string"
      ],
      "fontColor": "string",
      "fontName": "string",
      "outline": {
        "style": "solid",
        "width": 42.0,
        "color": "string"
      },
      "shadow": {
        "h": 42.0,
        "v": 42.0,
        "blur": 42.0,
        "color": "string"
      },
      "titleFontName": "string",
      "titleFontColor": "string",
      "labelFontColor": "string",
      "labelFontName": "string",
      "id": "string",
      "name": "string",
      "additionalElements": [
        {
          "id": "string",
          "type": "text",
          "left": 42.0,
          "top": 42.0,
          "width": 42.0,
          "height": 42.0,
          "rotate": 42.0,
          "lock": true,
          "groupId": "string",
          "link": {
            "type": "web",
            "target": "string"
          }
        }
      ],
      "accentImageShape": "default",
      "card": {
        "enabled": true,
        "borderRadius": 42.0,
        "borderWidth": 42.0,
        "fill": "none",
        "shadow": {
          "h": 42.0,
          "v": 42.0,
          "blur": 42.0,
          "color": "string"
        },
        "backgroundColor": "string",
        "textColor": "string"
      }
    }
  ],
  "pagination": {
    "currentPage": 1,
    "pageSize": 10,
    "totalItems": 100,
    "totalPages": 10
  }
}