Deployments
Upload source code
Uploads your source code as a single .tar.gz or .zip archive, to deploy with POST /v2/projects/{project_id}/releases. The request must include a Content-Length header. The maximum size depends on your bundle plan. Team permission: deploy, operate or manage.
post/v2/projects/{project_id}/sources
Request
- Base URLhttps://api.liara.ir
- URLhttps://api.liara.ir/v2/projects/{project_id}/sources
- AuthHTTP bearer
Path parameters
project_idstring required
The app's name.
Query parameters
teamIDstring
24-character hexadecimal ID.
Run the request in the context of a team you belong to, instead of your personal account.
Request body multipart/form-data
Response
The source was uploaded.
Changes
No recorded changes to this operation across all 25 revisions of this API.