Zum Inhalt

Theme

Overview

Description Method Endpoint
Create theme POST /hosting/api/client/{clientId}/domain/{domainId}/theme
Read all themes GET /hosting/api/client/{clientId}/domain/{domainId}/theme
Read theme GET /hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}
update theme PUT /hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}
Remove theme DELETE /hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}

Create theme

Endpoint:/hosting/api/client/{clientId}/domain/{domainId}/theme

Method:POST

Query:

  • {clientId}: string - The ID of a CCM19-customer account
  • {domainId}: string - The ID of a domain that exists in the client account

Payload:Theme

Response:

  • 201 - Resource successfully created
  • Theme
  • 400 - Invalid or missing properties

Read all themes

Endpoint:/hosting/api/client/{clientId}/domain/{domainId}/theme

Method:GET

Query:

  • {clientId}: string - The ID of a CCM19-customer account
  • {domainId}: string - The ID of a domain that exists in the client account

Response:

Read theme

Endpoint:/hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}

Method:GET

Query:

  • {clientId}: string - The ID of a CCM19-customer account
  • {domainId}: string - The ID of a domain that exists in the client account
  • {themeId}: string - The ID of the resource to be handled

Response:

  • 200 - Success
  • Theme
  • 404 - Resource not found

Update theme

Endpoint:/hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}

Method:PUT

Query:

  • {clientId}: string - The ID of a CCM19-customer account
  • {domainId}: string - The ID of a domain that exists in the client account
  • {themeId}: string - The ID of the resource to be handled

Payload:Theme

Response:

  • 200 - Success
  • Theme
  • 400 - Invalid or missing properties
  • 404 - Resource not found

Remove theme

Endpoint:/hosting/api/client/{clientId}/domain/{domainId}/theme/{themeId}

Method:DELETE

Query:

  • {clientId}: string - The ID of a CCM19-customer account
  • {domainId}: string - The ID of a domain that exists in the client account
  • {themeId}: string - The ID of the resource to be handled

Response:

  • 204 - Resource successfully deleted
  • 404 - Resource not found