Storyden
Admin

Admin Theme Update

Atomically replace the active custom theme manifest.

PUT
/admin/theme

Atomically replace the active custom theme manifest.

Authorization

cookiestoryden-session<token>

Request Body

application/json
  1. body
stylesheets*array<>
Itemsitems <= 32
scripts*array<>
Itemsitems <= 32

Response Body

Published custom theme manifest.

application/json
  1. response
stylesheets*array<>
Itemsitems <= 32
scripts*array<>
Itemsitems <= 32
Example Request
curl -X PUT 'https://example.com/api/admin/theme' \  -H 'Content-Type: application/json' \  -d '{  "stylesheets": [    "string"  ],  "scripts": [    "string"  ]}'
Example Response
{  "stylesheets": [    {      "id": "string",      "filename": "string",      "path": "string",      "mime_type": "text/css",      "size": 1,      "integrity": "string"    }  ],  "scripts": [    {      "id": "string",      "filename": "string",      "path": "string",      "mime_type": "text/css",      "size": 1,      "integrity": "string"    }  ]}