Skip to main content
POST
/
v1
/
github_contents
github_contents
curl --request POST \
  --url https://api.fetchbean.com/v1/github_contents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo": "<string>",
  "owner": "<string>",
  "path": "<string>",
  "ref": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Your fetchbean API key (fb_…).

Body

application/json
repo
string
required
owner
string
path
string
ref
string

Response

Success

The response is of type object.