capabilities.work

Read a file's raw content from a repo

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

Look something up

Read a file's raw content from a repo

Works with AI assistants

Use Platform.sh: its Platform.sh Repository API lets you read a file's raw content from a repo in a single step (GET /projects/{projectId}/git/blobs/{repositoryBlobId}). 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.

  • How do I read the raw content of a file in a project's repository?
  • Can I fetch a blob by its hash?
Say it to your AI assistant
  • Get blob {blob} in project {project}.
  • Read the raw content of file {blob} in project {project}.
For your developer

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