GET
/
themes
List all themes
curl --request GET \
  --url http://localhost:3001/portal-api/themes \
  --header 'Authorization: <api-key>'
[
  {
    "Author": "Tyk Technologies Ltd. <hello@tyk.io>",
    "ID": "default",
    "Name": "Tyk Technologies Ltd. <hello@tyk.io>",
    "Path": "/opt/portal/themes/default",
    "Status": "Current",
    "Version": "0.0.1"
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

OK

Author
string

author field from the theme.json file of the theme

Example:

"Tyk Technologies Ltd. <hello@tyk.io>"

ID
string

UID of the theme

Example:

"default"

Name
string

name field from the theme.json file of the theme

Example:

"Tyk Technologies Ltd. <hello@tyk.io>"

Path
string

Path to the theme folder

Example:

"/opt/portal/themes/default"

Status
enum<string>

The current status of the theme

Available options:
Current,
Not in use
Version
string

version field from the theme.json file of the theme

Example:

"0.0.1"