all ids are uuid
This commit is contained in:
parent
9370618408
commit
2d3e14098c
17
backend.yml
17
backend.yml
@ -45,8 +45,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ApiResponse'
|
$ref: '#/components/schemas/ApiResponse'
|
||||||
|
|
||||||
/api/auth/logoff:
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- backend
|
- backend
|
||||||
@ -109,7 +107,8 @@ paths:
|
|||||||
description: ID of a list
|
description: ID of a list
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: string
|
||||||
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: List data
|
description: List data
|
||||||
@ -130,13 +129,15 @@ paths:
|
|||||||
description: ID of a list
|
description: ID of a list
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: string
|
||||||
|
format: uuid
|
||||||
- name: trackid
|
- name: trackid
|
||||||
in: path
|
in: path
|
||||||
description: ID of a track
|
description: ID of a track
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: string
|
||||||
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Track data
|
description: Track data
|
||||||
@ -158,7 +159,8 @@ components:
|
|||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: string
|
||||||
|
format: uuid
|
||||||
tracklist:
|
tracklist:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -174,7 +176,8 @@ components:
|
|||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: string
|
||||||
|
format: uuid
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
artist:
|
artist:
|
||||||
|
Loading…
Reference in New Issue
Block a user