capabilities.work

Get one ref object

One step with Upsun. We can help you get access.

Look something up

Get one ref object

Works with AI assistants

Use Upsun: its Upsun.com Rest Repository API lets you get one ref object in a single step (GET /projects/{projectId}/git/refs/{repositoryRefId}). Upsun 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.

  • How do I look up a single ref in a project's repository?
  • Can I fetch a ref by its full name, like refs/heads/master?
Say it to your AI assistant
  • Get ref {ref} from project {project}.
  • Show the commit ID behind ref {ref} in {project}.
For your developer

GET /projects/{projectId}/git/refs/{repositoryRefId} in Upsun.com Rest Repository API. Full spec on APIs.io.