All URIs are relative to http://localhost:8686
| Method | HTTP request | Description |
|---|---|---|
| create_artist | POST /api/v1/artist | |
| delete_artist | DELETE /api/v1/artist/{id} | |
| get_artist_by_id | GET /api/v1/artist/{id} | |
| list_artist | GET /api/v1/artist | |
| update_artist | PUT /api/v1/artist/{id} |
models::ArtistResource create_artist(artist_resource)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| artist_resource | Option<ArtistResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_artist(id, delete_files, add_import_list_exclusion)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | i32 | [required] | ||
| delete_files | Option<bool> | [default to false] | ||
| add_import_list_exclusion | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ArtistResource get_artist_by_id(id)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | i32 | [required] |
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::ArtistResource list_artist(mb_id)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| mb_id | Option<uuid::Uuid> |
Vecmodels::ArtistResource
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ArtistResource update_artist(id, move_files, artist_resource)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | String | [required] | ||
| move_files | Option<bool> | [default to false] | ||
| artist_resource | Option<ArtistResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]