uploadDeployFile
PUT
/deploys/{deploy_id}/files/{path} https://api.netlify.com/api/v1
Parameters
path Path Parameters
| Name | Type |
|---|---|
deploy_id
required
| string |
path
required
| string |
query Query Parameters
| Name | Type |
|---|---|
size | number |
Request Body
application/octet-stream
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;
}