Skip to main content

Browse a repository on a connected source

GET 

/api/sources/:sourceProvider/:owner/:repo/files

Lists the entries at one path in a source repository, each with its type and size, so a definition file can be located before importing it. Without a path the repository root is listed, and without a reference its default branch is read. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.

Request​

Responses​

A page of entries at the path.