List local sessions
curl --request GET \
--url https://www.dench.com/api/v1/local/sessionsconst options = {method: 'GET'};
fetch('https://www.dench.com/api/v1/local/sessions', 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/sessions"
response = requests.get(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": "CLI sessions live in the caller's ~/.dench/config.json.",
"type": "invalid_request_error",
"code": "local_only"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}local
List local sessions
List local CLI sessions.
GET
/
local
/
sessions
List local sessions
curl --request GET \
--url https://www.dench.com/api/v1/local/sessionsconst options = {method: 'GET'};
fetch('https://www.dench.com/api/v1/local/sessions', 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/sessions"
response = requests.get(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": "CLI sessions live in the caller's ~/.dench/config.json.",
"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
⌘I