Update: Author image query token

This commit is contained in:
Nicholas Wallace 2024-06-21 21:42:08 +00:00
parent c53f849cbf
commit be74330512
2 changed files with 28 additions and 0 deletions

View file

@ -147,10 +147,21 @@ paths:
required: true required: true
schema: schema:
$ref: '../objects/entities/Author.yaml#/components/schemas/authorId' $ref: '../objects/entities/Author.yaml#/components/schemas/authorId'
- name: token
in: query
description: API token
schema:
type: string
- name: ts
in: query
description: Updated at value
schema:
type: integer
get: get:
operationId: getAuthorImageById operationId: getAuthorImageById
summary: Get an author image by author ID summary: Get an author image by author ID
description: Get an author image by author ID. The image will be returned in the requested format and size. description: Get an author image by author ID. The image will be returned in the requested format and size.
security: [] # No security for getting author image
tags: tags:
- Authors - Authors
requestBody: requestBody:

View file

@ -169,12 +169,29 @@
"schema": { "schema": {
"$ref": "#/components/schemas/authorId" "$ref": "#/components/schemas/authorId"
} }
},
{
"name": "token",
"in": "query",
"description": "API token",
"schema": {
"type": "string"
}
},
{
"name": "ts",
"in": "query",
"description": "Updated at value",
"schema": {
"type": "integer"
}
} }
], ],
"get": { "get": {
"operationId": "getAuthorImageById", "operationId": "getAuthorImageById",
"summary": "Get an author image by author ID", "summary": "Get an author image by author ID",
"description": "Get an author image by author ID. The image will be returned in the requested format and size.", "description": "Get an author image by author ID. The image will be returned in the requested format and size.",
"security": [],
"tags": [ "tags": [
"Authors" "Authors"
], ],