APIs / GitHub / Repository Files At Ref
GitHub: Repository Files At Ref
Repository Files At Ref from GitHub as JSON. 1 credit per successful call.
GET /v1/github/repository-files-at-ref
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
owner | string | Required | Up to 39 characters |
repo | string | Required | Up to 100 characters |
ref | string | Required | Up to 255 characters |
Example request
curl "https://api.perceptlayer.com/v1/github/repository-files-at-ref?owner=laravel&repo=framework&ref=13.x" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.