Repositories
List branches and tags
Returns cursor-paginated public branch and tag refs, optionally filtered by name, with at most 200 per page. Public repositories allow anonymous reads; supplied credentials are validated and may expand access to private resources.
get/api/repos/{owner}/{repo}/refs
Request
- Base URLhttps://git.cafe
- Auth
- none
- or API key in cookie gc-session
- or HTTP bearer
- or HTTP basic
- or HTTP token
- or OAuth 2Authorization code: /api/oauth/authorizeToken URL: /api/oauth/token scopes: repo:contents:read
Path parameters
ownerstring required
repostring required
Query parameters
kind'branches' | 'tags'
searchstring
afterstring
limitinteger
Response
Response for status 200
Changes
No recorded changes to this operation across all 1 revision of this API.