List projects
projects.list(**kwargs) -> Page<Project { config_repo, display_name, object, 3 more } >
GET/v0/projects
List projects in an organization, from oldest to newest.
Parameters
org: String
Returns
List projects
require "stainless_v0"
stainless = StainlessV0::Client.new(
api_key: "My API Key",
environment: "staging" # defaults to "production"
)
page = stainless.projects.list
puts(page){
"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"
}