getSiteFileByPathName
GET
/sites/{site_id}/files/{file_path} https://api.netlify.com/api/v1
Parameters
path Path Parameters
| Name | Type |
|---|---|
site_id
required
| string |
file_path
required
| string |
Responses
200 application/json
OK
interface File {
id?: string;
path?: string;
sha?: string;
mime_type?: string;
size?: number;
}
id?: string;
path?: string;
sha?: string;
mime_type?: string;
size?: number;
}
default application/json
error
interface Error {
code?: number;
message: string;
}
code?: number;
message: string;
}