Skip to content

Commit 6f661ac

Browse files
author
github-actions
committed
Update REST API documentation Wed Apr 22 09:47:10 UTC 2026
1 parent 77ab250 commit 6f661ac

1 file changed

Lines changed: 102 additions & 0 deletions

File tree

restapi.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,6 +2974,108 @@
29742974
}
29752975
}
29762976
},
2977+
"/api/v2/templates/defaults": {
2978+
"get": {
2979+
"tags": [
2980+
"templates"
2981+
],
2982+
"summary": "Gets a list of all default templates.",
2983+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns a JSON list of all available default templates.",
2984+
"operationId": "bd28f733452097eca52a8f72549ffe92",
2985+
"parameters": [
2986+
{
2987+
"name": "php-auth-pw",
2988+
"in": "header",
2989+
"description": "Session key obtained from login",
2990+
"required": true,
2991+
"schema": {
2992+
"type": "string"
2993+
}
2994+
}
2995+
],
2996+
"responses": {
2997+
"200": {
2998+
"description": "Success",
2999+
"content": {
3000+
"application/json": {
3001+
"schema": {
3002+
"type": "array",
3003+
"items": {
3004+
"type": "object"
3005+
}
3006+
}
3007+
}
3008+
}
3009+
},
3010+
"403": {
3011+
"description": "Failure",
3012+
"content": {
3013+
"application/json": {
3014+
"schema": {
3015+
"$ref": "#/components/schemas/UnauthorizedResponse"
3016+
}
3017+
}
3018+
}
3019+
}
3020+
}
3021+
}
3022+
},
3023+
"/api/v2/templates/defaults/{key}": {
3024+
"post": {
3025+
"tags": [
3026+
"templates"
3027+
],
3028+
"summary": "Creates a template from a default template.",
3029+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Creates a new template from a default template key.",
3030+
"operationId": "67e657e5c80cc0c88a4cc43a6eb55f99",
3031+
"parameters": [
3032+
{
3033+
"name": "php-auth-pw",
3034+
"in": "header",
3035+
"description": "Session key obtained from login",
3036+
"required": true,
3037+
"schema": {
3038+
"type": "string"
3039+
}
3040+
},
3041+
{
3042+
"name": "key",
3043+
"in": "path",
3044+
"description": "Default template key",
3045+
"required": true,
3046+
"schema": {
3047+
"type": "string",
3048+
"enum": [
3049+
"system",
3050+
"responsive"
3051+
]
3052+
}
3053+
}
3054+
],
3055+
"responses": {
3056+
"201": {
3057+
"description": "Success",
3058+
"content": {
3059+
"application/json": {
3060+
"schema": {
3061+
"$ref": "#/components/schemas/Template"
3062+
}
3063+
}
3064+
}
3065+
},
3066+
"403": {
3067+
"description": "Failure",
3068+
"content": {
3069+
"application/json": {
3070+
"schema": {
3071+
"$ref": "#/components/schemas/UnauthorizedResponse"
3072+
}
3073+
}
3074+
}
3075+
}
3076+
}
3077+
}
3078+
},
29773079
"/api/v2/templates/{templateId}": {
29783080
"get": {
29793081
"tags": [

0 commit comments

Comments
 (0)