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>",
            "tier": "EDUCATION"
          },
          "mtime": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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.

Required string length: 3 - 128
Example:

"example_id"

workspace_id
string
required

The repo ID of the workspace.

Required string length: 3 - 128
Example:

"example_id"

Query Parameters

path_prefix
string

A path prefix in the file tree to walk under

Example:

"path/to/file"

path_prefixes
string[]

A list of prefixes in the file tree to walk under

limit
integer
default:1500

Limit the number of entries returned from walk

Required range: x >= 1
Example:

17

skip
integer

Filters the first entries returned from walk

Required range: x >= 0
Example:

17

recurse
boolean
default:true

Specifies if to recursively iterate file tree to next directory levels

Response

200
application/json

By path description of file statuses in other workspaces and branches

Status of files in multiple refs