Skip to content

Get a project

GET
/api/orgs/{org}/projects/{project}
curl --request GET \
--url https://api-dev.wrktr.com/api/orgs/example/projects/example \
--header 'Authorization: Bearer <token>'
org
required
string
project
required
string

Project

Media typeapplication/json
object
id
required
string
org
required
string
name
required
string
remote
required
string
defaultBranch
required
string
lastPushAt
required
Any of:
string
visibility
required
string
Allowed values: private public
role
required
Any of:
string
Allowed values: owner member
forkedFrom
required
Any of:
object
org
required
string
name
required
string
Example
{
"visibility": "private",
"role": "owner"
}

Unauthorized

Media typeapplication/json
object
_tag
required
string
Allowed values: Unauthorized
message
required
string
Example
{
"_tag": "Unauthorized"
}

ProjectNotFound

Media typeapplication/json
object
_tag
required
string
Allowed values: ProjectNotFound
project
required
string
Example
{
"_tag": "ProjectNotFound"
}