curl --request POST \
--url https://platform.versori.com/api/v2/o/{organisation_id}/projects/{project_id}/environments/call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"urlPath": "<string>",
"method": "GET",
"headers": {},
"query": {},
"body": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"status": 123,
"headers": {},
"body": "aSDinaTvuI8gbWludGxpZnk="
}CallIntegration sends an HTTP request to a project’s deployed environment and returns the response. This allows triggering a project remotely via an HTTP call.
curl --request POST \
--url https://platform.versori.com/api/v2/o/{organisation_id}/projects/{project_id}/environments/call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"urlPath": "<string>",
"method": "GET",
"headers": {},
"query": {},
"body": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"status": 123,
"headers": {},
"body": "aSDinaTvuI8gbWludGxpZnk="
}Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.
An HTTP request to send to a project's deployed environment.
The URL path to call on the integration.
The HTTP method to use for the request.
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS HTTP headers to include in the request.
Show child attributes
Query parameters to include in the request.
Show child attributes
The request body as a base64 encoded string.