Skip to content

Latest commit

 

History

History
158 lines (115 loc) · 12.6 KB

ArtistsApi.md

File metadata and controls

158 lines (115 loc) · 12.6 KB

\ArtistsApi

All URIs are relative to http://localhost

Method HTTP request Description
get_album_artists GET /Artists/AlbumArtists Gets all album artists from a given item, folder, or the entire library.
get_artist_by_name GET /Artists/{name} Gets an artist by name.
get_artists GET /Artists Gets all artists from a given item, folder, or the entire library.

get_album_artists

crate::models::BaseItemDtoQueryResult get_album_artists(min_community_rating, start_index, limit, search_term, parent_id, fields, exclude_item_types, include_item_types, filters, is_favorite, media_types, genres, genre_ids, official_ratings, tags, years, enable_user_data, image_type_limit, enable_image_types, person, person_ids, person_types, studios, studio_ids, user_id, name_starts_with_or_greater, name_starts_with, name_less_than, sort_by, sort_order, enable_images, enable_total_record_count) Gets all album artists from a given item, folder, or the entire library.

Parameters

Name Type Description Required Notes
min_community_rating Option<f64> Optional filter by minimum community rating.
start_index Option<i32> Optional. The record index to start at. All items with a lower index will be dropped from the results.
limit Option<i32> Optional. The maximum number of records to return.
search_term Option<String> Optional. Search term.
parent_id Option<uuid::Uuid> Specify this to localize the search to a specific item or folder. Omit to use the root.
fields Option<Veccrate::models::ItemFields> Optional. Specify additional fields of information to return in the output.
exclude_item_types Option<Veccrate::models::BaseItemKind> Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
include_item_types Option<Veccrate::models::BaseItemKind> Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
filters Option<Veccrate::models::ItemFilter> Optional. Specify additional filters to apply.
is_favorite Option<bool> Optional filter by items that are marked as favorite, or not.
media_types Option<Vec> Optional filter by MediaType. Allows multiple, comma delimited.
genres Option<Vec> Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
genre_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
official_ratings Option<Vec> Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
tags Option<Vec> Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
years Option<Vec> Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
enable_user_data Option<bool> Optional, include user data.
image_type_limit Option<i32> Optional, the max number of images to return, per image type.
enable_image_types Option<Veccrate::models::ImageType> Optional. The image types to include in the output.
person Option<String> Optional. If specified, results will be filtered to include only those containing the specified person.
person_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered to include only those containing the specified person ids.
person_types Option<Vec> Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
studios Option<Vec> Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
studio_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
user_id Option<uuid::Uuid> User id.
name_starts_with_or_greater Option<String> Optional filter by items whose name is sorted equally or greater than a given input string.
name_starts_with Option<String> Optional filter by items whose name is sorted equally than a given input string.
name_less_than Option<String> Optional filter by items whose name is equally or lesser than a given input string.
sort_by Option<Vec> Optional. Specify one or more sort orders, comma delimited.
sort_order Option<Veccrate::models::SortOrder> Sort Order - Ascending,Descending.
enable_images Option<bool> Optional, include image information in output. [default to true]
enable_total_record_count Option<bool> Total record count. [default to true]

Return type

crate::models::BaseItemDtoQueryResult

Authorization

CustomAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_artist_by_name

crate::models::BaseItemDto get_artist_by_name(name, user_id) Gets an artist by name.

Parameters

Name Type Description Required Notes
name String Studio name. [required]
user_id Option<uuid::Uuid> Optional. Filter by user id, and attach user data.

Return type

crate::models::BaseItemDto

Authorization

CustomAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_artists

crate::models::BaseItemDtoQueryResult get_artists(min_community_rating, start_index, limit, search_term, parent_id, fields, exclude_item_types, include_item_types, filters, is_favorite, media_types, genres, genre_ids, official_ratings, tags, years, enable_user_data, image_type_limit, enable_image_types, person, person_ids, person_types, studios, studio_ids, user_id, name_starts_with_or_greater, name_starts_with, name_less_than, sort_by, sort_order, enable_images, enable_total_record_count) Gets all artists from a given item, folder, or the entire library.

Parameters

Name Type Description Required Notes
min_community_rating Option<f64> Optional filter by minimum community rating.
start_index Option<i32> Optional. The record index to start at. All items with a lower index will be dropped from the results.
limit Option<i32> Optional. The maximum number of records to return.
search_term Option<String> Optional. Search term.
parent_id Option<uuid::Uuid> Specify this to localize the search to a specific item or folder. Omit to use the root.
fields Option<Veccrate::models::ItemFields> Optional. Specify additional fields of information to return in the output.
exclude_item_types Option<Veccrate::models::BaseItemKind> Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
include_item_types Option<Veccrate::models::BaseItemKind> Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
filters Option<Veccrate::models::ItemFilter> Optional. Specify additional filters to apply.
is_favorite Option<bool> Optional filter by items that are marked as favorite, or not.
media_types Option<Vec> Optional filter by MediaType. Allows multiple, comma delimited.
genres Option<Vec> Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
genre_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
official_ratings Option<Vec> Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
tags Option<Vec> Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
years Option<Vec> Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
enable_user_data Option<bool> Optional, include user data.
image_type_limit Option<i32> Optional, the max number of images to return, per image type.
enable_image_types Option<Veccrate::models::ImageType> Optional. The image types to include in the output.
person Option<String> Optional. If specified, results will be filtered to include only those containing the specified person.
person_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered to include only those containing the specified person ids.
person_types Option<Vec> Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
studios Option<Vec> Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
studio_ids Option<Vecuuid::Uuid> Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
user_id Option<uuid::Uuid> User id.
name_starts_with_or_greater Option<String> Optional filter by items whose name is sorted equally or greater than a given input string.
name_starts_with Option<String> Optional filter by items whose name is sorted equally than a given input string.
name_less_than Option<String> Optional filter by items whose name is equally or lesser than a given input string.
sort_by Option<Vec> Optional. Specify one or more sort orders, comma delimited.
sort_order Option<Veccrate::models::SortOrder> Sort Order - Ascending,Descending.
enable_images Option<bool> Optional, include image information in output. [default to true]
enable_total_record_count Option<bool> Total record count. [default to true]

Return type

crate::models::BaseItemDtoQueryResult

Authorization

CustomAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase

[Back to top] [Back to API list] [Back to Model list] [Back to README]