Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    postEnvironmentDirectorycontents

    Gets the contents of a given directory in the file system

    Requires authentication as administrator

    postEnvironmentDirectorycontents

    Request
    post /Environment/DirectoryContents
    Parameters
    Name In Type Default Notes
    *Path query
    IncludeFiles query

    An optional filter to include or exclude files from the results. true/false

    IncludeDirectories query

    An optional filter to include or exclude folders from the results. true/false

    *body body GetDirectoryContents

    GetDirectoryContents

    Responses
    Status Code Type Description Samples
    200 FileSystemEntryInfo []

    Operation successful. Returning a List object.

    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

    GetDirectoryContents

    Emby.Api.GetDirectoryContents
    Name Type Notes
    Username string
    Password string

    FileSystemEntryInfo

    see also MediaBrowser.Model.IO.FileSystemEntryInfo

    Name Type Notes
    Name string

    The name.

    Path string

    The path.

    Type FileSystemEntryType

    Enum FileSystemEntryType

    FileSystemEntryType

    see also MediaBrowser.Model.IO.FileSystemEntryType

    Enum Values
    • File
    • Directory
    • NetworkComputer
    • NetworkShare
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.