Skip to content

Commit

Permalink
Add "format" to the "imageUrlHash" field in the OpenAPI spec because …
Browse files Browse the repository at this point in the history
…it is a 64 bit integer (#135)
  • Loading branch information
magiccrafter authored and stevencrader committed Dec 13, 2024
1 parent c47eea2 commit af44bea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api_src/components/properties/imageUrlHash.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# language=Markdown
description: |
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed. 64bit integer.
type: integer
example: 1639321931
example: 3969216649
3 changes: 2 additions & 1 deletion docs/pi_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2685,7 +2685,8 @@
"imageUrlHash": {
"description": "A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.\n",
"type": "integer",
"example": 1639321931
"format": "int64",
"example": 3969216649
},
"newestItemPublishTime": {
"description": "The time the most recent episode in the feed was published.\n\n\nNote: some endpoints use `newestItemPubdate` while others use `newestItemPublishTime`. \nThey return the same information. See https://github.com/Podcastindex-org/api/issues/3 to track when the property name is updated.\n",
Expand Down
3 changes: 2 additions & 1 deletion docs/pi_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2620,7 +2620,8 @@ components:
description: |
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.
type: integer
example: 1639321931
format: int64
example: 3969216649
newestItemPublishTime:
description: |
The time the most recent episode in the feed was published.
Expand Down

0 comments on commit af44bea

Please sign in to comment.