Interrupt a lane
curl --request POST \
--url https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interruptpackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'POST'};
fetch('https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt"
response = requests.post(url)
print(response.text){
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}Interrupt a lane
Stops work in progress on one lane within one action, without touching the session’s other lanes.
POST
/
v1
/
sessions
/
{sessionId}
/
lanes
/
{laneId}
/
interrupt
Interrupt a lane
curl --request POST \
--url https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interruptpackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'POST'};
fetch('https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/sessions/{sessionId}/lanes/{laneId}/interrupt"
response = requests.post(url)
print(response.text){
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}{
"code": "NRY-0002",
"title": "Session not found",
"message": "No session with id 6b9f6d2e-1c3a-4f5b-9d7e-2a8c4e6f0b1d exists on this host."
}Was this page helpful?

