postLibraryVirtualfoldersPaths
Requires authentication as administrator
postLibraryVirtualfoldersPaths
Request
post /Library/VirtualFolders/Paths
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *body | body | AddMediaPath | AddMediaPath |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | Operation successful. Empty response. |
||
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
AddMediaPath
Emby.Api.Library.AddMediaPath
| Name | Type | Notes |
|---|---|---|
| Id | string | |
| Path | string | |
| PathInfo | MediaPathInfo[] | |
| RefreshLibrary | boolean |
MediaPathInfo
| Name | Type | Notes |
|---|---|---|
| Path | string | |
| NetworkPath | string | |
| Username | string | |
| Password | string |