List catalog themes
const url = 'https://apibase.ecomweb.app/api/v1/themes';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://apibase.ecomweb.app/api/v1/themes \ --header 'x-api-key: <x-api-key>'Returns the themes in the Ecomweb catalog that a store can add, sorted by name, each at its latest release with the settings it declares. The list is the same for every store and is not paginated.
Required scopes: none. Any secret key for this store works.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”object
Free-form details the theme’s release publishes, such as a description.
object
The settings the theme declares, as a list of groups. Each group has a name and
settings, a list of setting definitions (id, type, label, default and so on) and
display items such as headers.
object
Theme ID, such as default.
Theme name.
Who made the theme.
The latest release, as a semantic version such as 1.2.0.
Example generated
[ { "info": {}, "settings_schema": [ {} ], "id": "example", "name": "example", "author": "example", "version": "example" }]The key is missing, invalid, revoked or expired.
object
The HTTP status code.
What went wrong; validation failures list one message per problem.
The HTTP status text, such as Bad Request.
object
A stable, machine-readable error code.
A human-readable explanation.
Extra context about the error, when there is any.
object
When the error happened, as an ISO 8601 timestamp.
Example generated
{ "statusCode": 1, "message": [ "example" ], "error": "example"}