Deploy a version of the Website.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: third-party-application:deploy-application-website
.
string
An RID identifying a third-party application created in Developer Console.
object
string
The semantic version of the Website.
object
string
The version of the Website that is currently deployed.
list<Subdomain>
The subdomains from which the Website is currently served.
string
A subdomain from which a website is served.
1
2
3
4
5
curl -X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/thirdPartyApplications/ri.third-party-applications.main.application.292db3b2-b653-4de6-971c-7e97a7b881d6/website/deploy" \
-d '{"version":"1.2.0"}'
1
2
3
{
"deployedVersion": "1.2.0"
}