Search + K

Command Palette

Search for a command to run...

Sign In

getSiteFileByPathName

GET /sites/{site_id}/files/{file_path}
Copy endpoint
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;
}
default application/json

error

interface Error {
code?: number;
message: string;
}