Storeware Docs
REST

Themes

The public theme directory, open to anyone with no token.

Search the public theme directory

GET /api/v1/public/themes

Listed themes only, with no token. best, the default, ranks by a Bayesian rating score and then by the shops wearing a theme; nothing in the order is paid for.

Open to anyone: it needs no token and no permission.

Parameters

ParameterInTypeDescription
qquerystringWords to search names, taglines, authors and descriptions.
designquerystringOnly themes written over this Storeware design.
sortquerystringOne of best, relevance, popular, newest, name.
limitqueryintegerFrom 1 to 60.
offsetqueryintegerAt least 0.

Answers 200

FieldTypeDescription
dataobject
data.themesarray of PublicThemeCard
data.totalinteger
curl "https://api.storeware.ai/api/v1/public/themes" \
  -H "Authorization: Bearer $TOKEN"

Count the listed themes over each design

GET /api/v1/public/themes/designs

Open to anyone: it needs no token and no permission.

Answers 200

FieldTypeDescription
dataarray of object
data[].designstring
data[].themesinteger
curl "https://api.storeware.ai/api/v1/public/themes/designs" \
  -H "Authorization: Bearer $TOKEN"

Get a listed theme

GET /api/v1/public/themes/{slug}

What the listing shows, every preview, its price in each currency, what its ratings add up to and the newest ten.

Open to anyone: it needs no token and no permission.

Parameters

ParameterInTypeDescription
slugpathstringThe slug.

Answers 200

FieldTypeDescription
dataobject
data.slugstring
data.namestring
data.taglinestring or null
data.authorNamestring
data.designstringThe Storeware design the theme is written over, base for the plain one.
data.versionintegerThe newest version, which an install takes.
data.listedAtstring (date-time) or null
data.updatedAtstring (date-time) or null
data.shopsUsingintegerMerchant shops wearing it live now.
data.ratingobject
data.rating.averagenumber or nullAverage stars to one decimal, or null with none.
data.rating.countintegerPublished ratings from shops still open.
data.pricesobject or nullWhat one shop pays, once, in minor units of each currency, every later version included. Null is free.
data.prices.usdinteger
data.prices.gbpinteger
data.prices.eurinteger
data.prices.inrinteger
data.previewsarray of object
data.previews[].urlstring
data.previews[].widthinteger
data.previews[].heightinteger
data.previews[].altstring or null
data.descriptionstring or null
data.homepageUrlstring or null
data.releaseNotestring or nullWhat changed in the newest version.
data.ratingsobject
data.ratings.summaryobject
data.ratings.summary.averagenumber or null
data.ratings.summary.countinteger
data.ratings.summary.distributionarray of integerHow many ratings gave 5, 4, 3, 2 and 1 stars, in that order. Up to 5 items. At least 5 items.
data.ratings.recentarray of PublicAppRating
curl "https://api.storeware.ai/api/v1/public/themes/$SLUG" \
  -H "Authorization: Bearer $TOKEN"

List a listed theme’s ratings

GET /api/v1/public/themes/{slug}/ratings

Newest first. Only ratings that count: published, from merchant shops that installed the theme at least three days before and are still open.

Open to anyone: it needs no token and no permission.

Parameters

ParameterInTypeDescription
slugpathstringThe slug.
limitqueryintegerFrom 1 to 50.
offsetqueryintegerAt least 0.

Answers 200

FieldTypeDescription
dataobject
data.summaryobject
data.summary.averagenumber or null
data.summary.countinteger
data.summary.distributionarray of integerHow many ratings gave 5, 4, 3, 2 and 1 stars, in that order. Up to 5 items. At least 5 items.
data.ratingsarray of PublicAppRating
curl "https://api.storeware.ai/api/v1/public/themes/$SLUG/ratings" \
  -H "Authorization: Bearer $TOKEN"

On this page