POST
/
api
/
v1
/
build
/
{language}
/
{environment}
.
{userID}
/
{namespace}
/
{pluginName}
curl --request POST \
  --url http://local.suborbital.network:{port}/api/v1/build/{language}/{environment}.{userID}/{namespace}/{pluginName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: text/plain' \
  --data '<string>'
"logs"

Authorizations

Authorization
string
header
required

Builder API requests require a Bearer header with an editor token. Obtain an editor token from the Adminstrative API.

Path Parameters

language
string
required

The language toolchain used to configure the builder

environment
string
required

The root compute environment (i.e. the vendor)

userID
string
required

The vendor's user

namespace
string
required

The plugin namespace (vendor-defined groups of plugins)

pluginName
string
required

The plugin name (user-defined)

Body

text/plain · string
Bytes of the code to be built, for example the contents of lib.rs or lib.ts

The body is of type string.

Response

200 - text/plain
OK

The response is of type string.

Example:

"logs"