file

Get a site file by path

get/sites/{site_id}/files/{file_path}

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/sites/{site_id}/files/{file_path}
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Path parameters

site_idstring required
file_pathstring required

Response

OK

idstring
pathstring
shastring
mime_typestring
sizeinteger

Changes

No recorded changes to this operation across all 65 revisions of this API.