Replace environment
Changed onReplaces an environment definition when If-Match matches the current environment revision. The path id is authoritative; the request body omits id.
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in cookie __fabro_session
Path parameters
Unique environment identifier.
Headers
Current resource revision used for optimistic concurrency, as returned in the ETag response header.
Request body
Example request
{
"provider": "docker",
"cwd": "/srv/fabro/workspaces/team-a"
}Response
Environment replaced
Example response
{
"id": "docker",
"revision": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"provider": "docker",
"cwd": "/srv/fabro/workspaces/team-a"
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
removed the enum value
daytonaof the request property - breaking
removed the enum value
dockerof the request property - breaking
removed the enum value
localof the request property - breaking
added the pattern
^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$to the request property - info
removed the
daytonaenum value from theresponse property for the response status - info
removed the
dockerenum value from theresponse property for the response status - info
removed the
localenum value from theresponse property for the response status - info
the
response's property pattern^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$was added for the status
- breaking