Repository
Get a ref object
Retrieve the details of a single refs object in the repository backing a project. This endpoint functions similarly to git show-ref <pattern>, although the pattern must be a full ref id, rather than a matching pattern.
NOTE: The {repositoryRefId} must be properly escaped. That is, the ref refs/heads/master is accessible via /projects/{projectId}/git/refs/heads%2Fmaster.
get/projects/{projectId}/git/refs/{repositoryRefId}
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
repositoryRefIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.