POST
/
api
/
publish
curl --location --request POST 'https://api.explo.co/api/publish/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>'
--data-raw '{
    "embed_id": "123",
    "resource_type": "report",
    "environment": "production",
    "version_number": 15
}'
{
  "success": 1
}

Body

embed_id
string
The embed id of your resource.
resource_type
string
The type of resource you’re publishing - must be either “dashboard” or “report”
environment
string
The name of the environment you’re publishing to.
version_number
number
The version number of the resource that you want to publish.

Response

success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.explo.co/api/publish/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>'
--data-raw '{
    "embed_id": "123",
    "resource_type": "report",
    "environment": "production",
    "version_number": 15
}'
{
  "success": 1
}