Update a realm
POST
/api/v1/realms/{name}/update
const url = 'http://localhost:11044/api/v1/realms/example/update';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/realms/example/update \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Pulls the latest changes for a realm backed by a git checkout. A realm loaded from a local path reference has no checkout to pull; it reports as already live.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
string
Realm name
Responses
Section titled “Responses”Realm updated, or already live for a local reference
Media type*/*
object
key
additional properties
string
Realm not found
Media type*/*
A refusal from the realms surface: the word error and the reason
object
message
required
Why the request was refused, written to be shown. A failed install or update carries the underlying failure’s message
string
status
required
Always error
string
Update failed
Media type*/*
A refusal from the realms surface: the word error and the reason
object
message
required
Why the request was refused, written to be shown. A failed install or update carries the underlying failure’s message
string
status
required
Always error
string

