all ids are uuid

This commit is contained in:
Torma Kristóf 2020-11-26 01:40:58 +01:00
parent 9370618408
commit 2d3e14098c

View File

@ -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: