GET /api/tenants/{FedmemberID}/themes

Returns information about the themes set up for the specified tenant.

Supported Versions: 8.3 and later

Authorization Roles/Permissions: Must be logged in. Must have Read permission for the tenant; must be an authorized Administrator for the specified tenant.

This topic includes the following sections:

HTTP Method

GET

Back to top

URL

https://{hostname}/api/tenants/{FedmemberID}/themes

Back to top

Sample Request

The example below shows a request for information about the themes for the specified tenant.

Request URL

https://{hostname}/api/tenants/acmepaymentscorp/themes

Sample request headers

Accept: application/json
Content-Type: application/json

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description
Accept

Any of the following media types is valid for the Accept header:

application/json, application/vnd.soa.v72+json, application/vnd.soa.v80+json, application/vnd.soa.v81+json
X-Csrf-Token_{fedmemberID} The CSRF prevention header; may or may not be required, depending on platform settings. See CSRF Prevention on the Platform. By default, the CSRF header is not required for GET operations and is required for all others, with a few exceptions relating to user login.

Back to top

Request Parameters

Parameter Parm Type Data Type Required Description
FedmemberID Path String Required

Same as TenantID.

Back to top

Response

If successful, this operation returns HTTP status code 200, with information about the themes for the tenant.

Back to top

Sample Response

The sample response below shows successful completion of this operation.

Sample response headers: application/json

Status Code: 200 OK
Content-Type: application/json
Date: Mon, 22 Aug 2016 19:17:19 GMT

Sample response body: application/json

[
  {
    "Theme":"clone",
    "VirtualHosts":[
      "clone-acmepaymentscorp.com"
    ],
    "ConsoleAddress":"http://clone-acmepaymentscorp.com/atmosphere/",
    "SiteTitle":"",
    "SiteDescription":"",
    "TenantID":10001,
    "FedmemberID":"automation",
    "ThemeImpl":"default",
    "Alias":""
  },
  {
    "Theme":"default",
    "VirtualHosts":[
      "automation-acmepaymentscorp.com"
    ],
    "ConsoleAddress":"http://automation-acmepaymentscorp.com/atmosphere/",
    "SiteTitle":"",
    "SiteDescription":"",
    "TenantID":10001,
    "FedmemberID":"automation",
    "Alias":""
  },
  {
    "Theme":"hermosa",
    "VirtualHosts":[
      "automationcloud-acmepaymentscorp.com"
    ],
    "ConsoleAddress":"http://automationcloud-acmepaymentscorp.com/acmepaymentscorp/",
    "SiteTitle":"",
    "SiteDescription":"",
    "TenantID":10001,
    "FedmemberID":"automation",
    "ThemeImpl":"default",
    "Alias":""
  },
  {
    "Theme":"simpledev",
    "VirtualHosts":[
      "automationdeveloper-acmepaymentscorp.com"
    ],
    "ConsoleAddress":"http://automationdeveloper-acmepaymentscorp.com/acmepaymentscorp/",
    "SiteTitle":"simpledev",
    "SiteDescription":"",
    "TenantID":10001,
    "FedmemberID":"automation",
    "Alias":""
  }
]

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type application/json, application/vnd.soa.v72+json, application/vnd.soa.v80+json, application/vnd.soa.v81+json

Back to top

Response Body

Name Type Description
Theme (one or more, list) Theme (one or more, list)

Contains information about a theme defined for a tenant on the platform.

A list of themes for the tenant

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
401 Unauthorized. For example, you would get this response if you didn't include the custom X-Csrf-Token_{fedmemberID} header in the request, when it was required by the platform settings; or if you included an invalid or expired value for this header. You would also get this response for any operation that requires login (almost all) if the login cookie was missing.
500 An error occurred processing the call.

More information about Akana API Platform API error messages.

Back to top

Related Topics