Admin API reference — version 1.2.0

Administrative API for Snolla sites. Uniform camelCase wire. Envelope: {success, data, total?}. Errors: {success:false, statusCode, error, message, details?}. Auth: Bearer PAT or session cookie. Content entities expose sealed fields[].

Document version: 1.2.0. The specification itself is served at /docs/json; an interactive browser is served at /docs.

Authentication

Scheme Type Details
bearerAuth http scheme: bearer; format: PAT
cookieAuth apiKey in: cookie; name: admin_token

Operations

Method Path Takes Answers
GET /api/administrators/ — 200, 4XX
GET /api/administrators/{id} id (path), id: string (path) 200, 4XX
POST /api/administrators/save body: object 200, 4XX
GET /api/assets/ — 200, 4XX
POST /api/assets/upload — 200, 4XX
POST /api/assets/delete — 200, 4XX
POST /api/assets/create-folder — 200, 4XX
POST /api/assets/edit-folder — 200, 4XX
POST /api/assets/delete-folder — 200, 4XX
POST /api/auth/login body: object 200, 4XX
POST /api/auth/logout — 200, 4XX
GET /api/auth/me — 200, 4XX
POST /api/blog-authors/info body: object 200, 4XX
GET /api/blog-authors/ — 200, 4XX
GET /api/blog-authors/{id} id (path), id: string (path) 200, 4XX
DELETE /api/blog-authors/{id} id (path), id: string (path) 200, 4XX
POST /api/blog-authors/save body: object 200, 4XX
POST /api/blog-categories/info body: object 200, 4XX
GET /api/blog-categories/ — 200, 4XX
GET /api/blog-categories/{id} id (path), id: string (path) 200, 4XX
DELETE /api/blog-categories/{id} id (path), id: string (path) 200, 4XX
POST /api/blog-categories/save body: object 200, 4XX
POST /api/blog-posts/info body: object 200, 4XX
GET /api/blog-posts/ — 200, 4XX
POST /api/blog-posts/list body: object 200, 4XX
GET /api/blog-posts/filters — 200, 4XX
GET /api/blog-posts/{id} id (path), id: string (path) 200, 4XX
DELETE /api/blog-posts/{id} id (path), id: string (path) 200, 4XX
POST /api/blog-posts/save body: object 200, 4XX
POST /api/blog-tags/info body: object 200, 4XX
GET /api/blog-tags/ — 200, 4XX
GET /api/blog-tags/{id} id (path), id: string (path) 200, 4XX
DELETE /api/blog-tags/{id} id (path), id: string (path) 200, 4XX
POST /api/blog-tags/save body: object 200, 4XX
POST /api/blogs/info body: object 200, 4XX
GET /api/blogs/ — 200, 4XX
GET /api/blogs/{id} id (path), id: string (path) 200, 4XX
DELETE /api/blogs/{id} id (path), id: string (path) 200, 4XX
POST /api/blogs/save body: object 200, 4XX
POST /api/catalog-categories/info body: object 200, 4XX
GET /api/catalog-categories/ — 200, 4XX
GET /api/catalog-categories/{id} id (path), id: string (path) 200, 4XX
DELETE /api/catalog-categories/{id} id (path), id: string (path) 200, 4XX
POST /api/catalog-categories/save body: object 200, 4XX
POST /api/catalog-tags/info body: object 200, 4XX
GET /api/catalog-tags/ — 200, 4XX
GET /api/catalog-tags/{id} id (path), id: string (path) 200, 4XX
DELETE /api/catalog-tags/{id} id (path), id: string (path) 200, 4XX
POST /api/catalog-tags/save body: object 200, 4XX
POST /api/catalogs/info body: object 200, 4XX
GET /api/catalogs/ — 200, 4XX
GET /api/catalogs/{id} id (path), id: string (path) 200, 4XX
POST /api/catalogs/save body: object 200, 4XX
POST /api/custom-categories/info body: object 200, 4XX
GET /api/custom-categories/ — 200, 4XX
GET /api/custom-categories/{id} id (path), id: string (path) 200, 4XX
DELETE /api/custom-categories/{id} id (path), id: string (path) 200, 4XX
POST /api/custom-categories/save body: object 200, 4XX
POST /api/custom-category-types/info body: object 200, 4XX
GET /api/custom-category-types/ — 200, 4XX
GET /api/custom-category-types/{id} id (path), id: string (path) 200, 4XX
DELETE /api/custom-category-types/{id} id (path), id: string (path) 200, 4XX
POST /api/custom-category-types/save body: object 200, 4XX
GET /api/domains/ — 200, 4XX
GET /api/domains/{id} id (path), id: string (path) 200, 4XX
DELETE /api/domains/{id} id (path), id: string (path) 200, 4XX
POST /api/domains/save body: object 200, 4XX
GET /api/email-templates/ — 200, 4XX
GET /api/email-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/email-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/email-templates/save body: object 200, 4XX
POST /api/feed-pages/info body: object 200, 4XX
GET /api/feed-pages/ — 200, 4XX
GET /api/feed-pages/{id} id (path), id: string (path) 200, 4XX
DELETE /api/feed-pages/{id} id (path), id: string (path) 200, 4XX
POST /api/feed-pages/save body: object 200, 4XX
POST /api/feeds/info body: object 200, 4XX
GET /api/feeds/ — 200, 4XX
GET /api/feeds/{id} id (path), id: string (path) 200, 4XX
DELETE /api/feeds/{id} id (path), id: string (path) 200, 4XX
PUT /api/feeds/{feedId}/params feedId (path), feedId: string (path), body: object 200, 4XX
POST /api/feeds/save body: object 200, 4XX
POST /api/form-submissions/info body: object 200, 4XX
GET /api/form-submissions/ — 200, 4XX
GET /api/form-submissions/{id} id (path), id: string (path) 200, 4XX
DELETE /api/form-submissions/{id} id (path), id: string (path) 200, 4XX
POST /api/form-templates/info body: object 200, 4XX
GET /api/form-templates/ — 200, 4XX
GET /api/form-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/form-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/form-templates/save body: object 200, 4XX
POST /api/forms/info body: object 200, 4XX
GET /api/forms/ — 200, 4XX
GET /api/forms/{id} id (path), id: string (path) 200, 4XX
DELETE /api/forms/{id} id (path), id: string (path) 200, 4XX
POST /api/forms/save body: object 200, 4XX
POST /api/galleries/upload — 200, 4XX
GET /api/galleries/images/{imageId} imageId (path), imageId: string (path) 200, 4XX
GET /api/images/ — 200, 4XX
POST /api/images/upload — 200, 4XX
POST /api/images/delete — 200, 4XX
POST /api/images/create-folder — 200, 4XX
POST /api/images/edit-folder — 200, 4XX
POST /api/images/delete-folder — 200, 4XX
GET /api/keys/ — 200, 4XX
POST /api/keys/ body: object 200, 4XX
DELETE /api/keys/{id} id (path), id: string (path) 200, 4XX
POST /api/layouts/info body: object 200, 4XX
GET /api/layouts/ — 200, 4XX
GET /api/layouts/{id} id (path), id: string (path) 200, 4XX
DELETE /api/layouts/{id} id (path), id: string (path) 200, 4XX
POST /api/layouts/save body: object 200, 4XX
POST /api/layouts/upload — 200, 4XX
GET /api/link-groups/ — 200, 4XX
GET /api/link-groups/{id} id (path), id: string (path) 200, 4XX
DELETE /api/link-groups/{id} id (path), id: string (path) 200, 4XX
POST /api/link-groups/save body: object 200, 4XX
POST /api/link-templates/info body: object 200, 4XX
GET /api/link-templates/ — 200, 4XX
GET /api/link-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/link-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/link-templates/save body: object 200, 4XX
POST /api/links/info body: object 200, 4XX
GET /api/links/ — 200, 4XX
GET /api/links/{id} id (path), id: string (path) 200, 4XX
DELETE /api/links/{id} id (path), id: string (path) 200, 4XX
POST /api/links/save body: object 200, 4XX
POST /api/markitup/parse-textile body: object 200, 4XX
POST /api/markitup/parse-markdown body: object 200, 4XX
POST /api/page-module-templates/info body: object 200, 4XX
GET /api/page-module-templates/ — 200, 4XX
GET /api/page-module-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/page-module-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/page-module-templates/save body: object 200, 4XX
POST /api/page-part-templates/info body: object 200, 4XX
GET /api/page-part-templates/ — 200, 4XX
GET /api/page-part-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/page-part-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/page-part-templates/save body: object 200, 4XX
POST /api/page-templates/info body: object 200, 4XX
GET /api/page-templates/ — 200, 4XX
GET /api/page-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/page-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/page-templates/save body: object 200, 4XX
POST /api/pages/info body: object 200, 4XX
GET /api/pages/find-linked — 200, 4XX
GET /api/pages/ — 200, 4XX
GET /api/pages/filters — 200, 4XX
GET /api/pages/{id} id (path), id: string (path) 200, 4XX
DELETE /api/pages/{id} id (path), id: string (path) 200, 4XX
POST /api/pages/save body: object 200, 4XX
POST /api/post-comments/info body: object 200, 4XX
GET /api/post-comments/ — 200, 4XX
GET /api/post-comments/{id} id (path), id: string (path) 200, 4XX
DELETE /api/post-comments/{id} id (path), id: string (path) 200, 4XX
PUT /api/post-comments/{id}/moderate id (path), id: string (path), body: object 200, 4XX
POST /api/post-module-templates/info body: object 200, 4XX
GET /api/post-module-templates/ — 200, 4XX
GET /api/post-module-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/post-module-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/post-module-templates/save body: object 200, 4XX
POST /api/post-part-templates/info body: object 200, 4XX
GET /api/post-part-templates/ — 200, 4XX
GET /api/post-part-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/post-part-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/post-part-templates/save body: object 200, 4XX
POST /api/post-templates/info body: object 200, 4XX
GET /api/post-templates/ — 200, 4XX
GET /api/post-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/post-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/post-templates/save body: object 200, 4XX
POST /api/product-categories/info body: object 200, 4XX
GET /api/product-categories/ — 200, 4XX
GET /api/product-categories/{id} id (path), id: string (path) 200, 4XX
DELETE /api/product-categories/{id} id (path), id: string (path) 200, 4XX
POST /api/product-categories/save body: object 200, 4XX
POST /api/product-types/info body: object 200, 4XX
GET /api/product-types/ — 200, 4XX
GET /api/product-types/{id} id (path), id: string (path) 200, 4XX
DELETE /api/product-types/{id} id (path), id: string (path) 200, 4XX
POST /api/product-types/save body: object 200, 4XX
POST /api/product-variant-templates/info body: object 200, 4XX
GET /api/product-variant-templates/ — 200, 4XX
GET /api/product-variant-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/product-variants/info body: object 200, 4XX
GET /api/product-variants/ — 200, 4XX
GET /api/product-variants/{id} id (path), id: string (path) 200, 4XX
DELETE /api/product-variants/{id} id (path), id: string (path) 200, 4XX
POST /api/product-variants/save body: object 200, 4XX
POST /api/products/info body: object 200, 4XX
GET /api/products/ — 200, 4XX
POST /api/products/list body: object 200, 4XX
GET /api/products/filters — 200, 4XX
GET /api/products/{id} id (path), id: string (path) 200, 4XX
DELETE /api/products/{id} id (path), id: string (path) 200, 4XX
POST /api/products/save body: object 200, 4XX
GET /api/redirections/ — 200, 4XX
GET /api/redirections/{id} id (path), id: string (path) 200, 4XX
DELETE /api/redirections/{id} id (path), id: string (path) 200, 4XX
POST /api/redirections/save body: object 200, 4XX
POST /api/redirections/move body: object 200, 4XX
POST /api/reviews/info body: object 200, 4XX
GET /api/reviews/ — 200, 4XX
GET /api/reviews/{id} id (path), id: string (path) 200, 4XX
DELETE /api/reviews/{id} id (path), id: string (path) 200, 4XX
POST /api/reviews/save body: object 200, 4XX
GET /health — 200, 4XX
GET /api/scripts/ — 200, 4XX
POST /api/scripts/upload — 200, 4XX
POST /api/scripts/delete — 200, 4XX
POST /api/scripts/create-folder — 200, 4XX
POST /api/scripts/edit-folder — 200, 4XX
POST /api/scripts/delete-folder — 200, 4XX
GET /api/scripts/item — 200, 4XX
POST /api/scripts/save — 200, 4XX
GET /api/search/get-analyzers — 200, 4XX
POST /api/search/create-index — 200, 4XX
GET /api/sites/ — 200, 4XX
GET /api/sites/{id} id (path), id: string (path) 200, 4XX
GET /api/sites/{id}/search-settings id (path), id: string (path) 200, 4XX
PUT /api/sites/{id}/search-settings id (path), id: string (path), body: object 200, 4XX
POST /api/sites/save body: object 200, 4XX
POST /api/static-pages/info body: object 200, 4XX
GET /api/static-pages/ — 200, 4XX
GET /api/static-pages/{id} id (path), id: string (path) 200, 4XX
DELETE /api/static-pages/{id} id (path), id: string (path) 200, 4XX
POST /api/static-pages/save body: object 200, 4XX
POST /api/store-categories/info body: object 200, 4XX
GET /api/store-categories/ — 200, 4XX
GET /api/store-categories/{id} id (path), id: string (path) 200, 4XX
DELETE /api/store-categories/{id} id (path), id: string (path) 200, 4XX
POST /api/store-categories/save body: object 200, 4XX
POST /api/store-tags/info body: object 200, 4XX
GET /api/store-tags/ — 200, 4XX
GET /api/store-tags/{id} id (path), id: string (path) 200, 4XX
DELETE /api/store-tags/{id} id (path), id: string (path) 200, 4XX
POST /api/store-tags/save body: object 200, 4XX
POST /api/store-vendors/info body: object 200, 4XX
GET /api/store-vendors/ — 200, 4XX
GET /api/store-vendors/{id} id (path), id: string (path) 200, 4XX
DELETE /api/store-vendors/{id} id (path), id: string (path) 200, 4XX
POST /api/store-vendors/save body: object 200, 4XX
GET /api/stores/ — 200, 4XX
GET /api/stores/{id}/settings id (path), id: string (path) 200, 4XX
GET /api/stores/{id} id (path), id: string (path) 200, 4XX
POST /api/stores/save body: object 200, 4XX
GET /api/stylesheets/ — 200, 4XX
POST /api/stylesheets/upload — 200, 4XX
POST /api/stylesheets/delete — 200, 4XX
POST /api/stylesheets/create-folder — 200, 4XX
POST /api/stylesheets/edit-folder — 200, 4XX
POST /api/stylesheets/delete-folder — 200, 4XX
GET /api/stylesheets/item — 200, 4XX
POST /api/stylesheets/save — 200, 4XX
POST /api/table-record-part-templates/info body: object 200, 4XX
GET /api/table-record-part-templates/ — 200, 4XX
GET /api/table-record-part-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/table-record-part-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/table-record-part-templates/save body: object 200, 4XX
POST /api/table-records/info body: object 200, 4XX
GET /api/table-records/ — 200, 4XX
GET /api/table-records/{id} id (path), id: string (path) 200, 4XX
DELETE /api/table-records/{id} id (path), id: string (path) 200, 4XX
POST /api/table-records/save body: object 200, 4XX
POST /api/table-templates/info body: object 200, 4XX
GET /api/table-templates/ — 200, 4XX
GET /api/table-templates/{id} id (path), id: string (path) 200, 4XX
DELETE /api/table-templates/{id} id (path), id: string (path) 200, 4XX
POST /api/table-templates/save body: object 200, 4XX
GET /api/tables/ — 200, 4XX
GET /api/tables/{id} id (path), id: string (path) 200, 4XX
DELETE /api/tables/{id} id (path), id: string (path) 200, 4XX
POST /api/tables/save — 200, 4XX
GET /api/theme-files/ — 200, 4XX
GET /api/theme-files/download — 200, 4XX
POST /api/theme-files/upload — 200, 4XX
GET /api/themes/ — 200, 4XX
GET /api/themes/{id} id (path), id: string (path) 200, 4XX
POST /api/themes/save — 200, 4XX
GET /api/votes/ — 200, 4XX
GET /api/votes/{id} id (path), id: string (path) 200, 4XX
DELETE /api/votes/{id} id (path), id: string (path) 200, 4XX
GET /api/widgets/ — 200, 4XX
GET /api/widgets/{id} id (path), id: string (path) 200, 4XX
DELETE /api/widgets/{id} id (path), id: string (path) 200, 4XX
POST /api/widgets/save body: object 200, 4XX

Shared schemas

Administrators · ApiKeys · BlogAuthors · BlogCategories · BlogPostPartTemplates · BlogTags · Blogs · CatalogCategories · CatalogTags · Catalogs · CustomCategories · CustomCategoryTypes · Domains · EmailTemplates · Envelope · Error · FeedPages · Feeds · FieldDef · FormSubmissions · FormTemplates · Forms · Layouts · LinkGroups · LinkTemplates · Links · PageModuleTemplates · PagePartTemplates · PageTemplates · Pages · PostComments · PostModuleTemplates · PostTemplates · Posts · ProductTypes · ProductVariantTemplates · ProductVariants · Products · Redirections · Reviews · Sites · StaticPages · StoreCategories · StoreTags · StoreVendors · Stores · Success · TableRecordPartTemplates · TableRecords · TableTemplates · Tables · Themes · Votes · Widgets