Skip to main content

Publish destinations

Description

If you want to publish a project to one or more destinations through the API use the two endpoints described below.

Get destinations

Get a projects publish destinations

GET:
api.vev.design/project/destinations?projectId=:projectId

Headers:

Name/typeDescription
x-vev-key
Your API key
Content-Type
application/json

Query parameters:

Name/typeDescription
projectId
string

Response

  {
"checked": true,
"key": "dev-audun",
"url": "placeholder.for/published/project"
},

Example

curl -X GET --location "api.vev.design/project/destinations?projectId=<projectId>" \
-H "x-vev-key: <your_vev_key>\
-H "accept: application/json" \

Publish to destinations

To start a publish towards a publish destination use the key in the results above.

POST:
api.vev.design/project/publish?projectId=:projectId&destinations=:destionationKey

Headers:

Name/typeDescription
x-vev-key
Your API key
Content-Type
application/json

Query parameters:

Name/typeDescription
projectId
string
destinations
string

Example

curl -X POST --location "api.vev.design/project/publish?projectId=<projectId>&destinations=<destinationKey>" \
-H "x-vev-key: <your_vev_key>\
-H "accept: application/json" \