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
@@ -567,7 +567,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/models.Site"
"$ref": "#/definitions/models.CreateSiteResponse"
}
},
"400": {
@@ -937,6 +937,17 @@
}
}
},
"models.CreateSiteResponse": {
"type": "object",
"properties": {
"raw_deploy_token": {
"type": "string"
},
"site": {
"$ref": "#/definitions/models.Site"
}
}
},
"models.CustomHeaders": {
"type": "object",
"properties": {