1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-25 18:56:52 +03:00

Merge branch 'willbasky/fix-selections' of https://github.com/aelve/guide into willbasky/fix-selections

This commit is contained in:
willbasky 2019-10-31 22:44:30 +05:00
commit 3d0ab1dbff

View File

@ -443,6 +443,44 @@
}
},
"paths": {
"/ignore selections/item/{itemId}": {
"get": {
"summary": "Get item by id",
"responses": {
"404": {
"description": "Item not found"
},
"200": {
"schema": {
"$ref": "#/definitions/CItemFull"
},
"description": ""
}
},
"produces": [
"application/json;charset=utf-8"
],
"parameters": [
{
"required": true,
"in": "query",
"name": "bool",
"type": "boolean",
"description": "Ignore disabled sections to get full item"
},
{
"format": "Item ID",
"required": true,
"in": "path",
"name": "itemId",
"type": "string"
}
],
"tags": [
"02. Items"
]
}
},
"/item/{itemId}/info": {
"put": {
"summary": "Set item's info",
@ -725,35 +763,6 @@
}
},
"/item/{itemId}": {
"get": {
"summary": "Get item by id",
"responses": {
"404": {
"description": "Item not found"
},
"200": {
"schema": {
"$ref": "#/definitions/CItemFull"
},
"description": ""
}
},
"produces": [
"application/json;charset=utf-8"
],
"parameters": [
{
"format": "Item ID",
"required": true,
"in": "path",
"name": "itemId",
"type": "string"
}
],
"tags": [
"02. Items"
]
},
"delete": {
"summary": "Delete an item",
"responses": {