Skip to content

Commit af44bea

Browse files
magiccrafterstevencrader
authored andcommitted
Add "format" to the "imageUrlHash" field in the OpenAPI spec because it is a 64 bit integer (#135)
1 parent c47eea2 commit af44bea

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# language=Markdown
22
description: |
3-
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.
3+
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed. 64bit integer.
44
type: integer
5-
example: 1639321931
5+
example: 3969216649

docs/pi_api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,8 @@
26852685
"imageUrlHash": {
26862686
"description": "A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.\n",
26872687
"type": "integer",
2688-
"example": 1639321931
2688+
"format": "int64",
2689+
"example": 3969216649
26892690
},
26902691
"newestItemPublishTime": {
26912692
"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",

docs/pi_api.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,8 @@ components:
26202620
description: |
26212621
A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.
26222622
type: integer
2623-
example: 1639321931
2623+
format: int64
2624+
example: 3969216649
26242625
newestItemPublishTime:
26252626
description: |
26262627
The time the most recent episode in the feed was published.

0 commit comments

Comments
 (0)