### Queue API Source: https://sixnine-dotdev.github.io/dab-api-docs/index Manages the user's playback queue. ```APIDOC ### GET /queue **Description**: Get the user's current playback queue. **Method**: GET **Endpoint**: /queue ### POST /queue **Description**: Save the current user queue. **Method**: POST **Endpoint**: /queue **Request Body** - **trackIds** (array) - Required - An array of track IDs representing the queue. ### DELETE /queue **Description**: Clear the user's playback queue. **Method**: DELETE **Endpoint**: /queue ``` -------------------------------- ### Authentication API Source: https://sixnine-dotdev.github.io/dab-api-docs/index Handles user authentication, registration, password management, and session retrieval. ```APIDOC ## Authentication Most endpoints require authentication via JWT tokens stored in HTTP-only cookies. ### POST /auth/login **Description**: User login. **Method**: POST **Endpoint**: /auth/login **Request Body** - **username** (string) - Required - The user's username. - **password** (string) - Required - The user's password. ### POST /auth/register **Description**: User registration. **Method**: POST **Endpoint**: /auth/register **Request Body** - **username** (string) - Required - The desired username. - **email** (string) - Required - The user's email address. - **password** (string) - Required - The user's password. ### POST /auth/logout **Description**: User logout. **Method**: POST **Endpoint**: /auth/logout ### GET /auth/me **Description**: Get current user information. **Method**: GET **Endpoint**: /auth/me ### POST /auth/forgot-password **Description**: Request password reset. **Method**: POST **Endpoint**: /auth/forgot-password **Request Body** - **email** (string) - Required - The user's email address. ### POST /auth/reset-password **Description**: Reset user password. **Method**: POST **Endpoint**: /auth/reset-password **Request Body** - **token** (string) - Required - The password reset token. - **newPassword** (string) - Required - The new password. ``` -------------------------------- ### Libraries API Source: https://sixnine-dotdev.github.io/dab-api-docs/index Handles user library and playlist management, including creation, retrieval, update, and deletion of libraries and tracks within them. ```APIDOC ### GET /libraries **Description**: Get user libraries. **Method**: GET **Endpoint**: /libraries ### POST /libraries **Description**: Create a new library. **Method**: POST **Endpoint**: /libraries **Request Body** - **name** (string) - Required - The name of the library. ### GET /libraries/{id} **Description**: Get a specific library by ID. **Method**: GET **Endpoint**: /libraries/{id} **Path Parameters** - **id** (string) - Required - The ID of the library. ### DELETE /libraries/{id} **Description**: Delete a library by ID. **Method**: DELETE **Endpoint**: /libraries/{id} **Path Parameters** - **id** (string) - Required - The ID of the library. ### PATCH /libraries/{id} **Description**: Update a library by ID. **Method**: PATCH **Endpoint**: /libraries/{id} **Path Parameters** - **id** (string) - Required - The ID of the library. **Request Body** - **name** (string) - Optional - The new name for the library. ### POST /libraries/{id}/tracks **Description**: Add a track to a library. **Method**: POST **Endpoint**: /libraries/{id}/tracks **Path Parameters** - **id** (string) - Required - The ID of the library. **Request Body** - **trackId** (string) - Required - The ID of the track to add. ### DELETE /libraries/{id}/tracks/{trackId} **Description**: Remove a track from a library. **Method**: DELETE **Endpoint**: /libraries/{id}/tracks/{trackId} **Path Parameters** - **id** (string) - Required - The ID of the library. - **trackId** (string) - Required - The ID of the track to remove. ``` -------------------------------- ### Music API Source: https://sixnine-dotdev.github.io/dab-api-docs/index Provides functionalities for searching music, retrieving album details, artist discographies, and streaming audio. ```APIDOC ### GET /search **Description**: Search for music. **Method**: GET **Endpoint**: /search **Query Parameters** - **query** (string) - Required - The search query. - **limit** (integer) - Optional - The maximum number of results to return. - **offset** (integer) - Optional - The number of results to skip. ### GET /album **Description**: Get album information. **Method**: GET **Endpoint**: /album **Query Parameters** - **artistId** (string) - Optional - Filter by artist ID. - **limit** (integer) - Optional - The maximum number of results to return. - **offset** (integer) - Optional - The number of results to skip. ### GET /album/{id} **Description**: Get album by ID. **Method**: GET **Endpoint**: /album/{id} **Path Parameters** - **id** (string) - Required - The ID of the album. ### GET /discography **Description**: Get artist discography. **Method**: GET **Endpoint**: /discography **Query Parameters** - **artistId** (string) - Required - The ID of the artist. ### GET /download **Description**: Get album download information. **Method**: GET **Endpoint**: /download **Query Parameters** - **albumId** (string) - Required - The ID of the album. ### GET /stream **Description**: Stream audio track. **Method**: GET **Endpoint**: /stream **Query Parameters** - **trackId** (string) - Required - The ID of the track to stream. - **quality** (string) - Optional - The desired audio quality (e.g., 'high', 'medium', 'low'). ### GET /lyrics **Description**: Get song lyrics. **Method**: GET **Endpoint**: /lyrics **Query Parameters** - **trackId** (string) - Required - The ID of the track. ``` -------------------------------- ### User Features API Source: https://sixnine-dotdev.github.io/dab-api-docs/index Manages user-specific features such as favorites. ```APIDOC ### GET /favorites **Description**: Get user favorites. **Method**: GET **Endpoint**: /favorites ### POST /favorites **Description**: Add track to favorites. **Method**: POST **Endpoint**: /favorites **Request Body** - **trackId** (string) - Required - The ID of the track to add. ### DELETE /favorites **Description**: Remove track from favorites. **Method**: DELETE **Endpoint**: /favorites **Query Parameters** - **trackId** (string) - Required - The ID of the track to remove. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.