GET
/
repos
/
{repo_id}
/
workspaces
/
{workspace_id}
/
other_statuses
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/workspaces/{workspace_id}/other_statuses \
  --header 'Authorization: Bearer <token>'
{
  "statuses": [
    {
      "path": "<string>",
      "file_statuses": [
        {
          "workspace_id": "<string>",
          "commit_id": "<string>",
          "branch_id": "<string>",
          "branch_name": "<string>",
          "status": 1,
          "author": {
            "image": "<string>",
            "email": "jsmith@example.com",
            "full_name": "<string>",
            "id": "<string>",
            "name": "<string>"
          },
          "mtime": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

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.

workspace_id
string
required

The repo ID of the workspace.

Query Parameters

path_prefix
string

A path prefix in the file tree to walk under

limit
integer

Limit the number of entries returned from walk

Response

200 - application/json
statuses
object[]
required