capabilities.work

Get one ref's details

One step with Platform.sh. We can help you get access.

Look something up

Get one ref's details

Works with AI assistants

Use Platform.sh: its Platform.sh Repository API lets you get one ref's details in a single step (GET /projects/{projectId}/git/refs/{repositoryRefId}). Platform.sh also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What commit does a specific branch point to?
  • How do I look up a single ref by its full name?
Say it to your AI assistant
  • Get ref {ref} in project {project}.
  • Show the commit that ref {ref} points to in project {project}.
For your developer

GET /projects/{projectId}/git/refs/{repositoryRefId} in Platform.sh Repository API. Full spec on APIs.io.