generated from VLADIMIR/template
add background
This commit is contained in:
@@ -965,6 +965,46 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/scenarios/{id}/background": {
|
||||
"put": {
|
||||
"summary": "Установить или удалить фон дела",
|
||||
"operationId": "EveningDetectiveServer_UpdateScenarioBackground",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverUpdateScenarioBackgroundRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/EveningDetectiveServerUpdateScenarioBackgroundBody"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Сценарии"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/scenarios/{id}/draft": {
|
||||
"put": {
|
||||
"summary": "Снять с публикации сценарий",
|
||||
@@ -2142,6 +2182,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"EveningDetectiveServerUpdateScenarioBackgroundBody": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"background": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"EveningDetectiveServerUpdateScenarioBody": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -3016,6 +3064,9 @@
|
||||
"evening_detective_serverStory": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"background": {
|
||||
"type": "string"
|
||||
},
|
||||
"introduction": {
|
||||
"$ref": "#/definitions/evening_detective_serverIntroduction"
|
||||
},
|
||||
@@ -3127,6 +3178,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverUpdateScenarioBackgroundRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverUpdateScenarioIntroRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user