Skip to main content
Version: 0.9.1

List files

GET 

/metalakes/:metalake/catalogs/:catalog/schemas/:schema/filesets/:fileset/files

List metadata of files and directories in a fileset

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

    schema stringrequired

    The name of the schema

    fileset stringrequired

    The name of the fileset

Query Parameters

    sub_path string

    Default value: /

    The sub path within the fileset to list files and directories from

    location_name string

    The name of the storage location

Responses

The response containing a list of file/directory metadata

Schema

    code int32

    Possible values: [0]

    Status code of the response

    files

    object[]

  • Array [

  • name stringrequired

    The name of the file/directory

    isDir booleanrequired

    Whether this is a directory

    size int64required

    The file size in bytes (0 if directory)

    lastModified int64required

    The last modification time of the file/directory

    path stringrequired

    The gvfs path of the file/directory

  • ]

Loading...