Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WCM-352: Define volume object on teasers #143

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .git-blame-ignore-revs
Empty file.
30 changes: 21 additions & 9 deletions docs/api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1151,21 +1151,30 @@ components:
type: object
nullable: true
required:
- volumeLabel
- label
- year
- number
properties:
volumeImage:
image:
$ref: "#/components/schemas/Image"
volumeLabel:
label:
type: string
description: "label for for volume"
example: "Aus der ZEIT Nr. 12/2023"
volumeUrl:
example: "DIE ZEIT 12/2023"
url:
type: string
nullable: true
# format: uri
description: "An URL to the volume which includes the audio"
example: "https://www.zeit.de/2023/12"

description: "An URL to the volume"
example: "https://www.zeit.de/2023/12/index"
year:
type: integer
number:
type: integer
datePublished:
type: string
description: "Formatted date of publication"
example: "25. Januar 2024"

CenterpageElement:
required:
Expand Down Expand Up @@ -1450,8 +1459,11 @@ components:
# format: uri
description: "A section often links to topic pages etc."
example: "https://www.zeit.de/thema/hamburg"
linked-uuid:
linkedUuid:
$ref: "#/components/schemas/UUID"
nullable: true
description: "The UUID of the link, if given"
example: "977ff669-b044-4a1b-b444-00c1d717905f"
title:
type: string
nullable: true
Expand Down