Skip to content

Commit

Permalink
Deploying to gh-pages from @ 62d2824 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvanraaij committed Jul 24, 2024
1 parent 3082533 commit b292adb
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
35 changes: 35 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,41 @@
}
}
},
"/v{version}/deleteImage/{image_id}": {
"post": {
"tags": [
"Articles"
],
"summary": "Delete image for article",
"description": "This will remove an image",
"operationId": "deleteImage",
"parameters": [
{
"$ref": "#/components/parameters/version"
},
{
"$ref": "#/components/parameters/language"
},
{
"$ref": "#/components/parameters/format"
},
{
"name": "image_id",
"in": "path",
"description": "Image id",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Success, empty response"
}
}
}
},
"/v{version}/articles/count": {
"get": {
"tags": [
Expand Down
20 changes: 20 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,26 @@ paths:
text/xml:
schema:
type: string
"/v{version}/deleteImage/{image_id}":
post:
tags:
- Articles
summary: Delete image for article
description: This will remove an image
operationId: deleteImage
parameters:
- $ref: "#/components/parameters/version"
- $ref: "#/components/parameters/language"
- $ref: "#/components/parameters/format"
- name: image_id
in: path
description: Image id
required: true
schema:
type: integer
responses:
"204":
description: Success, empty response
"/v{version}/articles/count":
get:
tags:
Expand Down

0 comments on commit b292adb

Please sign in to comment.