GET
/
themes
/
{theme_id}
Get a theme
curl --request GET \
  --url http://localhost:3001/portal-api/themes/{theme_id} \
  --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

Path Parameters

theme_id
string
required

name of the theme from the theme.json file

Example:

"default"

Response

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"