postEnvironmentValidatepath
Gets the contents of a given directory in the file system
Requires authentication as administrator
postEnvironmentValidatepath
Request
post /Environment/ValidatePath
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *Path | query | |||
| *body | body | ValidatePath | ValidatePath |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | Operation successful. Response content unknown. |
||
| 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
ValidatePath
Emby.Api.ValidatePath
| Name | Type | Notes |
|---|---|---|
| ValidateWriteable | boolean | |
| IsFile | boolean | |
| Username | string | |
| Password | string |