All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
add_media_path | POST /Library/VirtualFolders/Paths | Add a media path to a library. |
add_virtual_folder | POST /Library/VirtualFolders | Adds a virtual folder. |
get_virtual_folders | GET /Library/VirtualFolders | Gets all virtual folders. |
remove_media_path | DELETE /Library/VirtualFolders/Paths | Remove a media path. |
remove_virtual_folder | DELETE /Library/VirtualFolders | Removes a virtual folder. |
rename_virtual_folder | POST /Library/VirtualFolders/Name | Renames a virtual folder. |
update_library_options | POST /Library/VirtualFolders/LibraryOptions | Update library options. |
update_media_path | POST /Library/VirtualFolders/Paths/Update | Updates a media path. |
add_media_path(media_path_dto, refresh_library) Add a media path to a library.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
media_path_dto | MediaPathDto | The media path dto. | [required] | |
refresh_library | Option<bool> | Whether to refresh the library. | [default to false] |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_virtual_folder(name, collection_type, paths, refresh_library, add_virtual_folder_dto) Adds a virtual folder.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | The name of the virtual folder. | ||
collection_type | Option<crate::models::CollectionTypeOptions> | The type of the collection. | ||
paths | Option<Vec> | The paths of the virtual folder. | ||
refresh_library | Option<bool> | Whether to refresh the library. | [default to false] | |
add_virtual_folder_dto | Option<AddVirtualFolderDto> | The library options. |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::VirtualFolderInfo get_virtual_folders() Gets all virtual folders.
This endpoint does not need any parameter.
Veccrate::models::VirtualFolderInfo
- 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]
remove_media_path(name, path, refresh_library) Remove a media path.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | The name of the library. | ||
path | Option<String> | The path to remove. | ||
refresh_library | Option<bool> | Whether to refresh the library. | [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]
remove_virtual_folder(name, refresh_library) Removes a virtual folder.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | The name of the folder. | ||
refresh_library | Option<bool> | Whether to refresh the library. | [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]
rename_virtual_folder(name, new_name, refresh_library) Renames a virtual folder.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | The name of the virtual folder. | ||
new_name | Option<String> | The new name. | ||
refresh_library | Option<bool> | Whether to refresh the library. | [default to false] |
(empty response body)
- 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]
update_library_options(update_library_options_dto) Update library options.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
update_library_options_dto | Option<UpdateLibraryOptionsDto> | The library name and options. |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_media_path(update_media_path_request_dto) Updates a media path.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
update_media_path_request_dto | UpdateMediaPathRequestDto | The name of the library and path infos. | [required] |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]