5858 - BearerAuth : [ ]
5959 tags :
6060 - " Authentication"
61- summary : " Check token"
62- description : " Checks if a token is valid or expired"
61+ summary : " Check JWT token validity "
62+ description : " Checks if a token is valid or expired. "
6363 responses :
6464 ' 200 ' :
6565 $ref : ' #/components/responses/OK'
7171 - BearerAuth : [ ]
7272 tags :
7373 - " Authentication"
74- summary : " Login"
74+ summary : " Login - create a new JWT token "
7575 description : " Returns an JWT token which provides authorization for a limited time"
7676 requestBody :
7777 required : true
@@ -1320,12 +1320,12 @@ paths:
13201320 ' /studio/{id} ' :
13211321 parameters :
13221322 - $ref : ' #/components/parameters/Locale'
1323- put :
1323+ post :
13241324 security :
13251325 - BearerAuth : [ ]
13261326 tags :
13271327 - Studio
1328- summary : Update a Studio
1328+ summary : Update a Studio (only available to studio admins)
13291329 parameters :
13301330 - $ref : ' #/components/parameters/Uuid'
13311331 requestBody :
@@ -1341,8 +1341,7 @@ paths:
13411341 Location :
13421342 schema :
13431343 type : string
1344- example : >-
1345- https://share.catrob.at/app/studio/63768cf1-5f07-11ea-a2ae-000c292a0f49
1344+ example : https://share.catrob.at/app/studio/63768cf1-5f07-11ea-a2ae-000c292a0f49
13461345 description : Resource location on server
13471346 content :
13481347 application/json :
@@ -1370,6 +1369,59 @@ paths:
13701369 Content-Language :
13711370 $ref : ' #/components/headers/Content-Language'
13721371
1372+ delete :
1373+ security :
1374+ - BearerAuth : [ ]
1375+ tags :
1376+ - Studio
1377+ summary : Delete a studio (only available to studio admins)
1378+ parameters :
1379+ - $ref : ' #/components/parameters/Uuid'
1380+ responses :
1381+ ' 204 ' :
1382+ description : OK
1383+ ' 400 ' :
1384+ $ref : ' #/components/responses/BadRequest'
1385+ ' 401 ' :
1386+ $ref : ' #/components/responses/UnauthorizedError'
1387+ ' 403 ' :
1388+ $ref : ' #/components/responses/Forbidden'
1389+ ' 404 ' :
1390+ $ref : ' #/components/responses/NotFound'
1391+ ' 406 ' :
1392+ $ref : ' #/components/responses/NotAcceptable'
1393+
1394+ get :
1395+ tags :
1396+ - Studio
1397+ summary : Get studio details (private studios are only available to members)
1398+ parameters :
1399+ - $ref : ' #/components/parameters/Uuid'
1400+ responses :
1401+ ' 200 ' :
1402+ description : OK
1403+ headers :
1404+ Location :
1405+ schema :
1406+ type : string
1407+ example : https://share.catrob.at/app/studio/63768cf1-5f07-11ea-a2ae-000c292a0f49
1408+ description : Resource location on server
1409+ content :
1410+ application/json :
1411+ schema :
1412+ $ref : ' #/components/schemas/StudioResponse'
1413+ ' 400 ' :
1414+ $ref : ' #/components/responses/BadRequest'
1415+ ' 401 ' :
1416+ $ref : ' #/components/responses/UnauthorizedError'
1417+ ' 403 ' :
1418+ $ref : ' #/components/responses/Forbidden'
1419+ ' 404 ' :
1420+ $ref : ' #/components/responses/NotFound'
1421+ ' 406 ' :
1422+ $ref : ' #/components/responses/NotAcceptable'
1423+
1424+
13731425components :
13741426
13751427 # #############################################
0 commit comments