Upload a new version of the Website.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: third-party-application:deploy-application-website.
stringAn RID identifying a third-party application created in Developer Console.
stringThe zip file that contains the contents of your application. For more information, refer to the documentation user documentation.
1
2
3
4
5
curl -X POST \
\t-H "Content-type: application/octet-stream" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/thirdPartyApplications/ri.third-party-applications.main.application.292db3b2-b653-4de6-971c-7e97a7b881d6/website/versions/upload" \
--data-binary '@/path/to/file'1
2
3
{
"version": "1.2.0"
}| Error Name | ||
|---|---|---|
Upload | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not upload the Version. | |
| Parameters | thirdPartyApplicationRid | |
See Errors for a general overview of errors in the platform.