curl --request POST \
--url https://local.withsutro.com/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"name": "<string>",
"components": [
"backend"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"components": [
"frontend"
]
}curl --request POST \
--url https://local.withsutro.com/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"name": "<string>",
"components": [
"backend"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"components": [
"frontend"
]
}Builder authentication and authorization
A unique identifier for the API Client making a request
A short name for a Project`
128"My Cool Project"
Which components this project will generate (frontend, backend, or both). Defaults to backend-only.
frontend, backend ["backend"]["frontend", "backend"]The newly created Project
A unique id for your Project
"b08631ad-a4ec-4c27-9995-01287e83d565"
A short name for your Project
128"My Cool Project"
Which components are configured for this project (frontend, backend, or both)
frontend, backend ["backend"]["frontend", "backend"]Was this page helpful?