Create deploy token on site creation

This commit is contained in:
2026-04-03 10:21:29 +02:00
parent 78b84a33b8
commit 1aba69cfb5
6 changed files with 94 additions and 5 deletions
+12 -1
View File
@@ -573,7 +573,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/models.Site"
"$ref": "#/definitions/models.CreateSiteResponse"
}
},
"400": {
@@ -943,6 +943,17 @@ const docTemplate = `{
}
}
},
"models.CreateSiteResponse": {
"type": "object",
"properties": {
"raw_deploy_token": {
"type": "string"
},
"site": {
"$ref": "#/definitions/models.Site"
}
}
},
"models.CustomHeaders": {
"type": "object",
"properties": {