GET /projects
Get a paginated result that contains project
headers and user activity (last access date) of the caller. The project list includes only
those for which the user or a team they are on is explicitly granted access in the project's share
settings. Other projects, including those visible by virtue of being Public, are not included.
The list of projects is further filtered as follows:
If filter is ALL (the default): the projects that the caller has READ access to by virtue of being
included in the project's share settings personally or via a team in which they are a member, as described above.
If filter is CREATED: only projects that the caller has created.
If filter is PARTICIPATED: only projects that the caller has not created.
If filter is TEAM: the projects that the caller has READ access by virtue of being included in
the project's share settings via the team given by 'teamId' or, if no team ID is specified, then by any team
which they are a member of.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/projects
Parameters
teamId optional |
If the projectFilter is 'TEAM' then this is the ID of the team through which the returned projects are shared with the user. |
filter optional |
see above |
sort optional |
The optional column to sort on. Default sort by last activity |
sortDirection optional |
The optional sort direction. Default sort descending |
nextPageToken optional |
a token returned with the previous page of results |
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | view |
HTTP Method | GET |
Request Object | None |
Response Object | ProjectHeaderList (application/json) |