Skip to main content
POST
/
apps
/
{appId}
/
commit
Deploy / Atualizar Código
curl --request POST \
  --url https://dashboard.gratian.pro/api/v2/apps/{appId}/commit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form zip='@example-file'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appId
string
required

Body

multipart/form-data
zip
file
required

Arquivo ZIP com código fonte

Response

200 - application/json

Upload concluído

success
boolean
Example:

true

data
object