GET
/
api
/
repos
/
{namespace}
/
{repo_name}
/
dir
/
{resource}

List files and directories in a repository at a given revision and path.

The resource is the combination of the revision and the path to the directory to list. For example, main/images would list the files and directories in the images directory at the main branch.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

(Required)

repo_name
string
required
resource
string
required

(Required) A combination of branch or commit ID plus a path.

Response

200 - application/json
entries
object[]
page_number
number
page_size
number
resource
object
status
string
status_message
string
total_entries
number
total_pages
number