listProjects

@GET(value = "api/projects")
abstract suspend fun listProjects(@Query(value = "pageNumber") pageNumber: Int? = 0, @Query(value = "pageSize") pageSize: Int? = null): ProjectsPage

Lists Projects. <mark>Beta:</mark> Returns a paged list of all projects. If there are a lot of projects, then all pages will need to be retrieved in order to retrieve the full list of projects. The default number of projects per page is 1,000. Responses:

  • 200: A list of projects known to Develocity.

  • 403: The authenticated user has insufficient permissions.

  • 404: No API key was specified in the request, the key has been revoked, or the user bearing the key lacks permissions for this operation.

Return

ProjectsPage

Parameters

pageNumber

The index of the page to retrieve. The first page's index is zero. (optional, default to 0)

pageSize

The maximum number of elements to include in the fetched page. (optional)