List an organization's projects
GET
/api/orgs/{org}/projects
const url = 'https://api-dev.wrktr.com/api/orgs/example/projects';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api-dev.wrktr.com/api/orgs/example/projects \ --header 'Authorization: Bearer <token>'Every project for a member of the organization; only its public ones for anyone else.
Authorizations
Section titled “Authorizations”- bearer
- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
Array<object>
object
id
required
string
org
required
string
name
required
string
defaultBranch
required
string
visibility
required
string
updatedAt
required
string
Example
[ { "visibility": "private" }]Unauthorized
Media typeapplication/json
object
_tag
required
string
message
required
string
Example
{ "_tag": "Unauthorized"}OrgNotFound
Media typeapplication/json
object
_tag
required
string
org
required
string
Example
{ "_tag": "OrgNotFound"}