Theme

Downloads a SiteTheme from upstream

post/api/Theme/download-theme

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Theme/download-theme
  • Auth
    API key in header x-api-key

Request body

namestring nullable
cssUrlstring nullable
cssFilestring nullable
previewUrlsstring[] nullable
alreadyDownloadedboolean
shastring nullable
pathstring nullable
authorstring nullable
lastCompatibleVersionstring nullable
isCompatibleboolean
descriptionstring nullable

Response

OK

idinteger
namestring nullable required
normalizedNamestring nullable required
fileNamestring nullable required
isDefaultboolean
provider1 | 2

Members:

  • 1 — System
  • 2 — Custom
previewUrlsstring[] nullable
descriptionstring nullable
authorstring nullable
compatibleVersionstring nullable
selectorstring nullable

Changes

No recorded changes to this operation across all 136 revisions of this API.