mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 00:11:10 +00:00
Updates API documentation
This commit is contained in:
1 parent
53ec400921
commit
629e6e463e
59 files changed
+1558
-192
No files matched your search
@@ -0,0 +1,2 @@
|
||||
DELETE {{host}}/api/v1/themes/my-theme
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
@@ -0,0 +1 @@
|
||||
GET {{host}}/api/v1/themes/current
|
||||
@@ -0,0 +1,2 @@
|
||||
GET {{host}}/api/v1/themes/my-theme/archive
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
@@ -0,0 +1 @@
|
||||
GET {{host}}/api/v1/themes/my-theme/assets/css/site.css
|
||||
@@ -0,0 +1 @@
|
||||
GET {{host}}/api/v1/themes/settings
|
||||
@@ -0,0 +1 @@
|
||||
GET {{host}}/api/v1/themes/my-theme/templates/login
|
||||
@@ -0,0 +1,2 @@
|
||||
GET {{host}}/api/v1/themes
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
@@ -0,0 +1,10 @@
|
||||
POST {{host}}/api/v1/themes
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: multipart/form-data; boundary=----LuminaBoundary
|
||||
|
||||
------LuminaBoundary
|
||||
Content-Disposition: form-data; name="file"; filename="theme.zip"
|
||||
Content-Type: application/zip
|
||||
|
||||
< ./theme.zip
|
||||
------LuminaBoundary--
|
||||
@@ -0,0 +1,2 @@
|
||||
POST {{host}}/api/v1/themes/my-theme/restore
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
@@ -0,0 +1,7 @@
|
||||
PUT {{host}}/api/v1/themes/current
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"themeId": "my-theme"
|
||||
}
|
||||
Reference in new issue
Block a user