Saltar al contenido principal
GET
/
v1
/
str
/
stuck-operations
Listar operaciones atascadas (dashboard del operador)
curl --request GET \
  --url https://spb.sandbox.lerian.net/v1/str/stuck-operations \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://spb.sandbox.lerian.net/v1/str/stuck-operations"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://spb.sandbox.lerian.net/v1/str/stuck-operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://spb.sandbox.lerian.net/v1/str/stuck-operations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://spb.sandbox.lerian.net/v1/str/stuck-operations"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://spb.sandbox.lerian.net/v1/str/stuck-operations")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://spb.sandbox.lerian.net/v1/str/stuck-operations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "capabilities": {
    "hasBudgetReArm": true,
    "hasCrashWindowRecovery": true,
    "hasDeadlineExpiry": true,
    "hasDeadlineSweep": true,
    "hasDlqReplay": true,
    "hasInboundStuckDetection": true,
    "rail": "<string>",
    "replayNowWired": true,
    "supportedVerbs": [
      "<string>"
    ]
  },
  "correlationId": "<string>",
  "items": [
    {
      "affordances": [
        {
          "requirement": "<string>",
          "verb": "<string>",
          "reasonCode": "<string>",
          "semanticsNote": "<string>"
        }
      ],
      "correlation": {
        "operationRef": "<string>",
        "messageType": "<string>",
        "protocolRef": "<string>"
      },
      "disposition": "<string>",
      "rail": "<string>",
      "reason": "<string>",
      "state": "<string>",
      "age": "<string>",
      "detail": {}
    }
  ],
  "limit": 123,
  "nextCursor": "<string>"
}
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de consulta

reason
string

Attention reason filter (e.g. STUCK_OUTBOUND, AWAITING_RAIL_RESPONSE, RETRY_FAILED, REQUIRES_OPERATOR_ACTION)

age
string

Age bucket filter (OVER_5_MIN, OVER_15_MIN, OVER_1_HOUR, OVER_1_DAY)

state
string

Canonical operation state filter (e.g. AWAITING_RESPONSE, REQUIRES_OPERATOR_ACTION, RECOVERY_IN_PROGRESS)

limit
integer<int64>
predeterminado:50

Page size (default 50, max 100)

Rango requerido: 1 <= x <= 100
cursor
string

Opaque pagination cursor

Respuesta

OK

capabilities
object
requerido

Rail-level honest capability manifest (returned inline to save a round trip).

correlationId
string
requerido

Request-scoped correlation identifier echoing X-Request-ID, for pivoting from response to trace.

items
object[] | null
requerido

Stuck-operation rows needing operator attention.

limit
integer<int64>
requerido

Page size applied to this response (max items returned).

nextCursor
string

Opaque cursor for the next page; absent when exhausted. Presence signals more results, absence signals end-of-list.