-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hub.podcastindex.org endpoint and podping parameters to hubnotify
- Loading branch information
1 parent
e7a230c
commit 3c79eda
Showing
11 changed files
with
1,911 additions
and
3,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: podping | ||
in: query | ||
# language=Markdown | ||
description: | | ||
Send a [podping](https://github.com/Podcastindex-org/podping-hivewriter#podping-reasons) with an `update` reason. | ||
Parameter shall not have a value | ||
schema: | ||
type: boolean | ||
allowEmptyValue: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: reason | ||
in: query | ||
# language=Markdown | ||
description: | | ||
Send a [podping](https://github.com/Podcastindex-org/podping-hivewriter#podping-reasons) with the specified reason. | ||
To just send an `update` podping, the `podping` parameter can be used instead. | ||
schema: | ||
type: string | ||
enum: | ||
- "" | ||
- "live" | ||
- "liveEnd" | ||
example: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: reason | ||
in: query | ||
# language=Markdown | ||
description: | | ||
Send a [podping](https://github.com/Podcastindex-org/podping-hivewriter#podping-reasons) with the specified reason. | ||
To just send an `update` podping, use the [https://hub.podcastindex.org/pubnotify](#get-/pubnotify) server instead. | ||
schema: | ||
type: string | ||
enum: | ||
- "" | ||
- "live" | ||
- "liveEnd" | ||
example: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
get: | ||
tags: | ||
- Hub | ||
summary: Pub Notify (Hub) | ||
# language=Markdown | ||
description: | | ||
Notify the index that a feed has changed | ||
Note: No API key needed for this endpoint. | ||
Examples: | ||
- https://hub.podcastindex.org/pubnotify?id=920666&pretty | ||
- https://hub.podcastindex.org/pubnotify?url=https://feeds.theincomparable.com/batmanuniversity&pretty | ||
operationId: pubnotify | ||
security: [] # no security required | ||
servers: | ||
- url: https://hub.podcastindex.org | ||
description: "Server for handling feed publish/update notifications" | ||
parameters: | ||
- $ref: '../../components/parameters/id_feed_podcast_pi_pubnotify.yaml' | ||
- $ref: '../../components/parameters/url_pubnotify.yaml' | ||
- $ref: '../../components/parameters/reason.yaml' | ||
- $ref: '../../components/parameters/podping.yaml' | ||
- $ref: '../../components/parameters/pretty.yaml' | ||
responses: | ||
'200': | ||
$ref: '../../components/responses/hub_pubnotify.yaml' | ||
'400': | ||
$ref: '../../components/responses/400.yaml' | ||
'401': | ||
$ref: '../../components/responses/401.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,6 @@ | |
"local": "run-p -cln 'local:*'", | ||
"local:reload": "livereload . -w 2000 -d -e html,css,js,png,gif,jpg,php,php5,py,rb,erb,coffee,yaml,json", | ||
"local:server": "http-server docs -c 1 -p 8000" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.