Skip to content

Profile: Subscription Resource

Profile URI
https://openpodcastapi.org/specs/profiles/subscription
Applies to
Resources of type subscription.

Version
1.0.0

"type": "subscription"
NameTypeRequiredDescription
feedUrlstringYesThe original feed URL the user subscribed to
userSubscribedAtstringYesISO 8601 timestamp of when the user subscribed
NameDescriptionRequiredExtra
selfCanonical link to this subscription resourceYes
unsubscribeLink to remove the subscription from the user accountYesMUST support DELETE method (via extension)

Note: This profile uses the Link Method Extension

None.

Extension NameURIDescription
Link Methodhttps://openpodcastapi.org/specs/extensions/link-methodSupports method in link objects
  • All field names use camelCase
  • All timestamps are in UTC ISO 8601 format
  • Idempotent resource creation is assumed unless stated otherwise

Servers that include this resource SHOULD declare this profile in the profile parameter:

Content-Type: application/vnd.api+json; profile="https://openpodcastapi.org/specs/profiles/subscription"

Clients MAY use this profile URI in the Accept header to negotiate support.

Accept: application/vnd.api+json; profile="https://openpodcastapi.org/specs/profiles/subscription"