List projects
Lists the projects of an organization that the caller can open: those they hold resourcemanager.projects.get on, through a role on the project or on the organization.
GET
Lists the projects of an organization that the caller can open: those they hold resourcemanager.projects.get on, through a role on the project or on the organization.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
parent*stringThe organization whose projects are listed.
Match
^organizations/org_[0-7][0-9a-hjkmnp-tv-z]{25}$showDeleted?booleanAlso list the projects whose deletion was requested, which are left out otherwise.
pageSize?integerMaximum number of projects to return. Defaults to 50; values above 500 are treated as 500.
Format
int32Range
0 <= valuepageToken?stringPage token from a previous response.
OK
application/json- response
nextPageToken*stringToken for the next page; empty on the last page.
projects*array<>Projects, oldest first.
curl -X GET 'https://api.kosem.ai/v1/projects?parent=string'Example Response
{
"nextPageToken": "string",
"projects": [
{
"createTime": "2019-08-24T14:15:22Z",
"deleteTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"name": "string",
"parent": "string",
"purgeTime": "2019-08-24T14:15:22Z",
"slug": "string",
"state": "ACTIVE",
"updateTime": "2019-08-24T14:15:22Z"
}
]
}