GETADITUS/Assets/Themes/Get theme

Get theme

GET{{API_BASE_URL}}/assets/v1/themes/:name?context=event:{{EVENT}}&subContext=articleGroup:{{ARTICLEGROUP}}

This endpoint retrieves the theme for a shop based on the provided context.

Request

context (string, required)

The context can be an event, an appearance, an exhibitor or an order item.

subContext (string, optional)

The sub context can be an article group.

Response

The API returns a JSON object with the following properties:

  • id (string): The ID of the theme.

  • name (string): The name of the theme.

  • product (string): The product associated with the theme.

  • context (object): The context details including type and ID.

    • type (string): The type of the context.

    • id (string): The ID of the context.

  • subContext (object): The sub context details including type and ID.

    • type (string): The type of the context.

    • id (string): The ID of the context.

  • styles (array): An array of style objects.

    • key (string): The key of the style.

    • value (string): The value of the style.

    • type (string): The type of the style.

  • images (array): An array of image objects.

    • key (string): The key of the image.

    • uri (string): The URI of the image.

    • type (string): The type of the image.

    • size (string): The size of the image.

  • customCss (string): The custom CSS associated with the theme.

Authentication#auth

This endpoint does not require authentication.

Headers#headers

Accept-Language{{LANGUAGE}}

Query parameters#query

contextevent:{{EVENT}}optional

Schema: "{type}:{id}"

subContextarticleGroup:{{ARTICLEGROUP}}optional

Schema: "{type}:{id}"

Responses#responses

200OKGet event theme
200OKGet appearance theme
200OKGet exhibitor theme
200OKGet order item theme