Sign in

Get site file

documented

Return a specific file (by path) from a site deploy.

GET /api/v1/sites/{site_id}/files/{file_path}Sitesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.netlify.com/api/v1/sites/{{$site_id}}/files/{{$file_path}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/vnd.bitballoon.v1.raw"