API Documentation
Authentication
Account
Content Generation
Repository Management
Repository Manipulation
Repository Commit Manipulation
Repository Workspace Manipulation
- GETList workspaces
- POSTCreate a workspace
- GETGet workspace details
- DELDelete workspace
- POSTUpdate workspace name
- POSTCheckout workspace ref
- GETWorkspace status
- POSTReset changes in workspace
- POSTMerge base branch into workspace
- GETGet workspace preferences
- PUTUpdate workspace preferences
- GETOther workspace statuses
Repository Branch Manipulation
Repository Tag Manipulation
Repository Shelves Manipulation
File Mutation
Repository Merge Manipulation
Collaborators
Repository Content Comparison
Organization Management
- GETList user's organizations
- POSTCreate organization
- GETGet organization details
- PATCHRename organization
- GETList organization repositories
- GETList organization members
- GETGet organization member details
- DELDelete a member from the organization
- GETList accessible repos
- POSTInvite a new member to the organization
- PATCHChange an organization member's role
- POSTLeave organization
- GETList organization subscription information
User Management
Get a presigned url that will be used to upload a support bundle
GET
/
support
/
bundle
/
upload
Copy
Ask AI
curl --request GET \
--url https://api.diversion.dev/v0/support/bundle/upload \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"url": "https://dv-blobs.s3.amazonaws.com/",
"fields": {
"x-amz-checksum-algorithm": "SHA1",
"key": "repo_id/dv.blob.40630485-8f8f-4c34-b102-0072ca53ffba",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "AKAKI6PFK43K4U6ASQ3V2/11111111/eu-central-1/s3/aws4_request",
"x-amz-date": "20221130T095258Z",
"policy": "eyJleHBpcmF0aW9uIjogIjIwMjItMTEtMzBUMTA6NTI6NThaIiwgImNvbmRpdGlvbnMiOiBbeyJ4LWFtei1jaGVja3N1bS1hbGdvcml0aG0iOiAiU0hBMSJ9LCB7ImJ1Y2tldCI6ICJkdi1ibG9icyJ9LCB7ImtleSI6ICJyZXBvX2lkL2R2LmJsb2IuNDA2MzA0ODUtOGY4Zi00YzM0LWIxMDItMDA3MmNhNTNmZmJhIn0sIHsieC1hbXotYWx",
"x-amz-signature": "bc50d66096b27eb2bc4855ef59748f8dfba896529b11480daaa594097fc46713",
"content-encoding": "gzip"
}
}
Authorizations
This API uses OAuth 2 with the implicit grant flow
Query Parameters
The repo ID of the repository
Required string length:
3 - 128
Example:
"example_id"
A description of the support issue
The urgency level of the support issue
Available options:
0
, 1
, 2
, 3
, 4
Response
202 - application/json
Presigned URL is returned
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.diversion.dev/v0/support/bundle/upload \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"url": "https://dv-blobs.s3.amazonaws.com/",
"fields": {
"x-amz-checksum-algorithm": "SHA1",
"key": "repo_id/dv.blob.40630485-8f8f-4c34-b102-0072ca53ffba",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "AKAKI6PFK43K4U6ASQ3V2/11111111/eu-central-1/s3/aws4_request",
"x-amz-date": "20221130T095258Z",
"policy": "eyJleHBpcmF0aW9uIjogIjIwMjItMTEtMzBUMTA6NTI6NThaIiwgImNvbmRpdGlvbnMiOiBbeyJ4LWFtei1jaGVja3N1bS1hbGdvcml0aG0iOiAiU0hBMSJ9LCB7ImJ1Y2tldCI6ICJkdi1ibG9icyJ9LCB7ImtleSI6ICJyZXBvX2lkL2R2LmJsb2IuNDA2MzA0ODUtOGY4Zi00YzM0LWIxMDItMDA3MmNhNTNmZmJhIn0sIHsieC1hbXotYWx",
"x-amz-signature": "bc50d66096b27eb2bc4855ef59748f8dfba896529b11480daaa594097fc46713",
"content-encoding": "gzip"
}
}
Assistant
Responses are generated using AI and may contain mistakes.