curl https://<your_disto_url>/api/v1/issues/ \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ --data-raw '{ "data": "Crash rate is > 0.2% for 1 hour on app 'Signal', version '6.35.0', OS 'iOS'", "projectId": "123e4567-e89b-12d3-a456-426614174001", "callbackUrl": "https://app.mycompany.com/callback"}'
Copy
{ "message": "Disto is working on a fix. A webhook will be sent to the provided callback URL upon completion."}
Issues
Create Issue
This endpoint creates a new issue. Because the LLM might take a few minutes to run, the process is asynchronous. Once the issue is created, a webhook will be sent to the provided callback URL.
POST
/
api
/
v1
/
issues
/
Copy
curl https://<your_disto_url>/api/v1/issues/ \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ --data-raw '{ "data": "Crash rate is > 0.2% for 1 hour on app 'Signal', version '6.35.0', OS 'iOS'", "projectId": "123e4567-e89b-12d3-a456-426614174001", "callbackUrl": "https://app.mycompany.com/callback"}'
Copy
{ "message": "Disto is working on a fix. A webhook will be sent to the provided callback URL upon completion."}