Skip to main content
GET
Fetch projects

Authorizations

Authorization
string
header
required

Response

200 - application/json

Returns an array of projects in the workspace

id
string
required

The Developer ID of the project

name
string
required

The name of the project

url
string
required

The URL of the project in the Ditto web app

baseId
string | null
required

The Developer ID of the base the project is connected to, or null if not connected to a base

githubBranch
string | null
required

The GitHub branch the project is paired with, or null if it isn't paired with a branch

pullRequest
object | null
required

The open pull request for the project's branch, or null if there isn't one

branchImportStatus
enum<string> | null
required

The status of importing the paired branch's changes into the project: preparing while it runs in the background, then ready or failed. Null if no branch has been imported.

Available options:
preparing,
ready,
failed,
null
Example: