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

Authorizations

Authorization
string
header
required

Your fetchbean API key (fb_…).

Body

application/json
project
required
file_path
string
required
ref
string

Response

Success

The response is of type object.