Run a command with prepared dependencies and declared credentials, saving declared state with a revision check
curl --request POST \
--url https://www.dench.com/api/v1/local/environments/runconst options = {method: 'POST'};
fetch('https://www.dench.com/api/v1/local/environments/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/local/environments/run"
response = requests.post(url)
print(response.text){
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "Execution occurs in the CLI process. Use dench env run NAME -- COMMAND; secret-bearing execution resolution is not a general REST read endpoint.",
"type": "invalid_request_error",
"code": "local_only"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}environments
Run a command with prepared dependencies and declared credentials, saving declared state with a revision check
Run a command with prepared dependencies and declared credentials, saving declared state with a revision check.
POST
/
local
/
environments
/
run
Run a command with prepared dependencies and declared credentials, saving declared state with a revision check
curl --request POST \
--url https://www.dench.com/api/v1/local/environments/runconst options = {method: 'POST'};
fetch('https://www.dench.com/api/v1/local/environments/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/local/environments/run"
response = requests.post(url)
print(response.text){
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "Execution occurs in the CLI process. Use dench env run NAME -- COMMAND; secret-bearing execution resolution is not a general REST read endpoint.",
"type": "invalid_request_error",
"code": "local_only"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}Response
Invalid request
Show child attributes
Show child attributes