Repository
Get list of repository refs
Retrieve a list of refs/* in the repository backing a project. This endpoint functions similarly to git show-ref, with each returned object containing a ref field with the ref's name, and an object containing the associated commit ID.
The returned commit ID can be used with the Get a commit object endpoint to retrieve information about that specific commit.
get/projects/{projectId}/git/refs
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.