Endpoints to exist within “ApiServer” (dark-editor canvas).

For now, ignore security. (i.e. don’t require special auth to perform these actions on a canvas)

Once we’re unblocked on building apiserver comfortably locally, we can address security/auth.

Get canvas

Get /

request payload:

nothing

actions

None, just fetch

Response payload

type Domain = 
  {
    name: string
    // future: cert status
  }
{
   domains: List<Domain>
  // future: permissions
}
   

Load program

GET /program

request payload:

nothing (just a GET request)

actions

None, just fetch