remove churchid from the url

This commit is contained in:
Tomas Groth 2024-04-24 21:42:26 +02:00
parent 45b43324a8
commit 2e810294f5
1 changed files with 10 additions and 96 deletions

View File

@ -23,20 +23,13 @@ tags:
- name: custom - name: custom
description: Operations about custom slides description: Operations about custom slides
paths: paths:
/{churchId}/song-list: /song-list:
get: get:
tags: tags:
- song - song
summary: Get list of songs summary: Get list of songs
description: '' description: ''
operationId: getSongList operationId: getSongList
parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
responses: responses:
'200': '200':
description: successful operation description: successful operation
@ -55,7 +48,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/song-list/changes/{sinceDateTime}: /song-list/changes/{sinceDateTime}:
get: get:
tags: tags:
- song - song
@ -63,12 +56,6 @@ paths:
description: '' description: ''
operationId: getSongListChangesSince operationId: getSongListChangesSince
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: sinceDateTime - name: sinceDateTime
in: path in: path
description: The timestamp to look for changes after description: The timestamp to look for changes after
@ -94,7 +81,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/song/{uuid}: /song/{uuid}:
get: get:
tags: tags:
- song - song
@ -102,12 +89,6 @@ paths:
description: Get song by uuid description: Get song by uuid
operationId: getSong operationId: getSong
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the song that needs to be fetched. description: The uuid of the song that needs to be fetched.
@ -139,12 +120,6 @@ paths:
description: This can only be done by the logged in user. description: This can only be done by the logged in user.
operationId: updateSong operationId: updateSong
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: uuid of song that need to be deleted description: uuid of song that need to be deleted
@ -179,12 +154,6 @@ paths:
description: This can only be done by the logged in user. description: This can only be done by the logged in user.
operationId: deleteSong operationId: deleteSong
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the song to delete description: The uuid of the song to delete
@ -200,7 +169,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/song/{uuid}/{version}: /song/{uuid}/{version}:
get: get:
tags: tags:
- song - song
@ -208,12 +177,6 @@ paths:
description: Get song by uuid and version description: Get song by uuid and version
operationId: getSongVersion operationId: getSongVersion
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the song that needs to be fetched. description: The uuid of the song that needs to be fetched.
@ -244,7 +207,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/song-history/{uuid}: /song-history/{uuid}:
get: get:
tags: tags:
- song - song
@ -252,12 +215,6 @@ paths:
description: fwef description: fwef
operationId: getSongHistory operationId: getSongHistory
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the song that needs to be fetched. description: The uuid of the song that needs to be fetched.
@ -282,20 +239,13 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/custom-list: /custom-list:
get: get:
tags: tags:
- custom - custom
summary: Get list of custom slides summary: Get list of custom slides
description: '' description: ''
operationId: getCustomslideList operationId: getCustomslideList
parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
responses: responses:
'200': '200':
description: successful operation description: successful operation
@ -314,7 +264,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:custom - write:custom
- read:custom - read:custom
/{churchId}/custom-list/changes/{sinceDateTime}: /custom-list/changes/{sinceDateTime}:
get: get:
tags: tags:
- song - song
@ -322,12 +272,6 @@ paths:
description: '' description: ''
operationId: getCustomSlideListChangesSince operationId: getCustomSlideListChangesSince
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: sinceDateTime - name: sinceDateTime
in: path in: path
description: The timestamp to look for changes after description: The timestamp to look for changes after
@ -353,7 +297,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:song - write:song
- read:song - read:song
/{churchId}/custom/{uuid}: /custom/{uuid}:
get: get:
tags: tags:
- custom - custom
@ -361,12 +305,6 @@ paths:
description: fwef description: fwef
operationId: getCustomslide operationId: getCustomslide
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the custom slide that needs to be fetched. description: The uuid of the custom slide that needs to be fetched.
@ -398,12 +336,6 @@ paths:
description: This can only be done by the logged in user. description: This can only be done by the logged in user.
operationId: updateCustomslide operationId: updateCustomslide
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: uuid of custom slide that need to be deleted description: uuid of custom slide that need to be deleted
@ -438,12 +370,6 @@ paths:
description: This can only be done by the logged in user. description: This can only be done by the logged in user.
operationId: deleteCustomslide operationId: deleteCustomslide
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the custom slide to delete description: The uuid of the custom slide to delete
@ -459,7 +385,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:custom - write:custom
- read:custom - read:custom
/{churchId}/custom/{uuid}/{version}: /custom/{uuid}/{version}:
get: get:
tags: tags:
- custom - custom
@ -467,12 +393,6 @@ paths:
description: fwef description: fwef
operationId: getCustomslideVersion operationId: getCustomslideVersion
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the custom slide that needs to be fetched. description: The uuid of the custom slide that needs to be fetched.
@ -503,7 +423,7 @@ paths:
- openlp_auth: - openlp_auth:
- write:custom - write:custom
- read:custom - read:custom
/{churchId}/custom-history/{uuid}: /custom-history/{uuid}:
get: get:
tags: tags:
- custom - custom
@ -511,12 +431,6 @@ paths:
description: Get history of custom slide by uuid description: Get history of custom slide by uuid
operationId: getCustomslideHistory operationId: getCustomslideHistory
parameters: parameters:
- name: churchId
in: path
description: The id of the church.
required: true
schema:
type: string
- name: uuid - name: uuid
in: path in: path
description: The uuid of the custom slide that needs to be fetched. description: The uuid of the custom slide that needs to be fetched.