Skip to main content
Resources endpoint

Create Resource

Send this request to the AkôFlow daemon. Authentication is required when an API token is configured.

POST/resources/

Body

application/json
id string
Field defined by domain.Resource.
environmentVersionId string
Field defined by domain.Resource.
executionTarget string
Field defined by domain.Resource.
parentResourceId string
Field defined by domain.Resource.
type string
Field defined by domain.Resource.
name string
Field defined by domain.Resource.
providerId string
Field defined by domain.Resource.
tier string
Field defined by domain.Resource.
region string
Field defined by domain.Resource.
zone string
Field defined by domain.Resource.
architecture string
Field defined by domain.Resource.
cpuCores number
Field defined by domain.Resource.
cpuCapacity number
Field defined by domain.Resource.
memoryBytes number
Field defined by domain.Resource.
storageBytes number
Field defined by domain.Resource.
computeSpeedup number
Field defined by domain.Resource.
pricePerSecond number
Field defined by domain.Resource.
bootOverheadSeconds number
Field defined by domain.Resource.
containerOverheadSeconds number
Field defined by domain.Resource.
schedulable boolean
Field defined by domain.Resource.
metadata object
Field defined by domain.Resource.

See the Resources guide for the corresponding Desktop workflow, concepts, and authored request examples.

Generated from the daemon router

This page is generated from internal/api/httpserver/httpserver.go, the registered handler, and JSON-tagged Go structs. Method, path, request fields, response kind, query parameters, media type, and successful status codes stay synchronized with the implementation.