|
|
@ -223,6 +223,31 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"delete": {
|
|
|
|
|
|
|
|
"produces": [
|
|
|
|
|
|
|
|
"application/json"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
"admin"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"summary": "Delete a hook",
|
|
|
|
|
|
|
|
"operationId": "adminDeleteHook",
|
|
|
|
|
|
|
|
"parameters": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "integer",
|
|
|
|
|
|
|
|
"format": "int64",
|
|
|
|
|
|
|
|
"description": "id of the hook to delete",
|
|
|
|
|
|
|
|
"name": "id",
|
|
|
|
|
|
|
|
"in": "path",
|
|
|
|
|
|
|
|
"required": true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"responses": {
|
|
|
|
|
|
|
|
"204": {
|
|
|
|
|
|
|
|
"$ref": "#/responses/empty"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
"patch": {
|
|
|
|
"patch": {
|
|
|
|
"consumes": [
|
|
|
|
"consumes": [
|
|
|
|
"application/json"
|
|
|
|
"application/json"
|
|
|
@ -731,33 +756,6 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"/amdin/hooks/{id}": {
|
|
|
|
|
|
|
|
"delete": {
|
|
|
|
|
|
|
|
"produces": [
|
|
|
|
|
|
|
|
"application/json"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
"admin"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"summary": "Delete a hook",
|
|
|
|
|
|
|
|
"operationId": "adminDeleteHook",
|
|
|
|
|
|
|
|
"parameters": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "integer",
|
|
|
|
|
|
|
|
"format": "int64",
|
|
|
|
|
|
|
|
"description": "id of the hook to delete",
|
|
|
|
|
|
|
|
"name": "id",
|
|
|
|
|
|
|
|
"in": "path",
|
|
|
|
|
|
|
|
"required": true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"responses": {
|
|
|
|
|
|
|
|
"204": {
|
|
|
|
|
|
|
|
"$ref": "#/responses/empty"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"/markdown": {
|
|
|
|
"/markdown": {
|
|
|
|
"post": {
|
|
|
|
"post": {
|
|
|
|
"consumes": [
|
|
|
|
"consumes": [
|
|
|
|