List projects
projects().list(ProjectListParamsparams = ProjectListParams.none(), RequestOptionsrequestOptions = RequestOptions.none()) : ProjectListPage
GET/v0/projects
List projects
package com.configure_me_stainless_v0.api.example
import com.configure_me_stainless_v0.api.client.StainlessClient
import com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient
import com.configure_me_stainless_v0.api.models.projects.ProjectListPage
import com.configure_me_stainless_v0.api.models.projects.ProjectListParams
fun main() {
val client: StainlessClient = StainlessOkHttpClient.fromEnv()
val page: ProjectListPage = client.projects().list()
}{
"data": [
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}
],
"has_more": true,
"next_cursor": "next_cursor"
}Returns Examples
{
"data": [
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}
],
"has_more": true,
"next_cursor": "next_cursor"
}