ChartnautDocs

Old path of createProject

POST/apps
Deprecated
Base URL
https://api.chartnaut.com/v1
Auth
Bearer key
Operation ID
createApp

The same operation as /projects, kept working permanently for clients built before the rename (the CLI through 0.5.0 and @chartnaut/create-app still call it). Use /projects.

Request bodyapplication/json#

object
namestringRequired

What the project's users see on the Connect screen.

At most 60 characters

Responses#

201Createdapplication/json

The project and its Test key.

object
appobject · Project

A developer project, the Chartnaut side of an app that embeds the terminal (keys, sites, webhooks, profile, permissions).

Show fields
slugstring
Example acme-desk-k3p9
namestring
Example Acme Desk
rolestring
One of owner admin developer billing viewer
created_atstring (date-time)
frame_urlstring (uri)
readinessobject

What Live still needs.

test_sitesarray of string
commandstring
Example chartnaut init --app acme-desk-k3p9
env_keystring
Example CHARTNAUT_SECRET_KEY
manage_urlstring (uri)
Example https://terminal.chartnaut.com/morpheus/developers/projects/acme-desk-k3p9
test_view_asstring
test_keyobject · ProjectKeyCreated
Show fields
keyobject
Show fields
idstring
envstring
One of test live
namestring
secretstring

Shown once. Store it as CHARTNAUT_SECRET_KEY.

ErrorAny other statusapplication/json

Error.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring