Skip to content

Commit

Permalink
feat: update specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff committed Sep 6, 2023
1 parent ca3bd53 commit 25501b9
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions public/openpodcast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- name: Versions
description: All actions relating to supported versions and capabilities
paths:
/subscriptions:
/v1/subscriptions:
get:
tags:
- Subscriptions
Expand Down Expand Up @@ -80,7 +80,7 @@ paths:
security:
- podcast_auth:
- write:subscriptions
/subscriptions/{guid}:
/v1/subscriptions/{guid}:
get:
tags:
- Subscriptions
Expand Down Expand Up @@ -177,7 +177,7 @@ paths:
security:
- podcast_auth:
- write:subscriptions
/deletions/{id}:
/v1/deletions/{id}:
get:
tags:
- Subscriptions
Expand Down Expand Up @@ -228,24 +228,13 @@ paths:
security:
- podcast_auth:
- read:versions
/{major_version}/capabilities:
/v1/capabilities:
get:
tags:
- Versions
summary: Retrieve a list of supported capabilities
description: Retrieve a list of each supported capabilties from the server
operationId: getCapabilities
parameters:
- in: path
name: major_version
schema:
type: string
required: true
examples:
v1:
value: 'v1'
v2:
value: 'v2'
responses:
'200':
description: Successful operation
Expand Down Expand Up @@ -638,17 +627,18 @@ components:
type: object
xml:
name: versions
properties:
versions:
type: array
items:
xml:
name: version
type: string
description: "The supported version numbers"
example:
- "v1.1"
- "v2.0"
additionalProperties:
$ref: "#/components/schemas/Version"
example:
v1: 6
v2: 0
Version:
xml:
name: version
attribute: true
type: number
format: integer

Capabilities:
type: object
xml:
Expand Down

0 comments on commit 25501b9

Please sign in to comment.