Skip to main content

Get file location

GET 

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

Returns the full storage path of a file or directory in a fileset, built from the storage location and sub_path.

Sign in with a bearer token or a local user's password; see Authentication.

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 stringrequired

    The path of the file or directory, relative to the fileset's storage location

    location_name string

    The name of the storage location to use. Defaults to the fileset's only location, or to the location named by its default-location-name property when it has several.

Responses​

The full storage path of the file or directory.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    fileLocation string

    The actual file location

Loading...