Skip to content

List the projects and branches visible to the caller

GET
/api/v1/drive/projects
curl --request GET \
--url https://app.avera.io/api/v1/drive/projects \
--header 'X-Avera-Drive-Contract: 1'

A delegated OAuth client sees only the projects its grant was consented for, on top of what the permission register lets the delegating person read.

X-Avera-Drive-Contract
required
integer format: int32

OK

Media type*/*
object
projects
required
Array<object>
object
id
required
string format: uuid
key
required
string
name
required
string
branches
required
Array<object>
object
key
required
string
name
required
string
isMain
required
boolean
seq
required
integer format: int64