Create project
/v0/projects
Create a new project.
Body Parameters
Returns
Create project
curl https://api.stainless.com/v0/projects \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $STAINLESS_API_KEY" \
-d '{
"display_name": "display_name",
"org": "org",
"revision": {
"foo": {
"content": "content"
}
},
"slug": "slug",
"targets": [
"node"
]
}'
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}
Returns Examples
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}