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
Repository Tag Manipulation
List tags
GET
/
repos
/
{repo_id}
/
tags
Copy
Ask AI
curl --request GET \
--url https://api.diversion.dev/v0/repos/{repo_id}/tags \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"object": "Tag",
"items": [
{
"name": "<string>",
"commit_id": "<string>",
"description": "<string>",
"id": "<string>",
"author": {
"image": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"tier": "EDUCATION"
},
"time": 123
}
]
}
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128
Example:
"example_id"
Response
200
application/json
A list of tag objects
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.diversion.dev/v0/repos/{repo_id}/tags \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"object": "Tag",
"items": [
{
"name": "<string>",
"commit_id": "<string>",
"description": "<string>",
"id": "<string>",
"author": {
"image": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"tier": "EDUCATION"
},
"time": 123
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.