curl --request POST \
--url 'https://api.flashcat.cloud/rum/issue/update?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"status": "resolved"
}
'import requests
url = "https://api.flashcat.cloud/rum/issue/update?app_key="
payload = {
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"status": "resolved"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({issue_id: 'NHEacQHi2DhXqobr9qPQz9', status: 'resolved'})
};
fetch('https://api.flashcat.cloud/rum/issue/update?app_key=', 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://api.flashcat.cloud/rum/issue/update?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'issue_id' => 'NHEacQHi2DhXqobr9qPQz9',
'status' => 'resolved'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/rum/issue/update?app_key="
payload := strings.NewReader("{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/rum/issue/update?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/rum/issue/update?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}"
response = http.request(request)
puts response.read_body{
"data": {},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "AccessDenied",
"message": "Access Denied."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}Update issue
Update the status or suspected cause of an issue.
curl --request POST \
--url 'https://api.flashcat.cloud/rum/issue/update?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"status": "resolved"
}
'import requests
url = "https://api.flashcat.cloud/rum/issue/update?app_key="
payload = {
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"status": "resolved"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({issue_id: 'NHEacQHi2DhXqobr9qPQz9', status: 'resolved'})
};
fetch('https://api.flashcat.cloud/rum/issue/update?app_key=', 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://api.flashcat.cloud/rum/issue/update?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'issue_id' => 'NHEacQHi2DhXqobr9qPQz9',
'status' => 'resolved'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/rum/issue/update?app_key="
payload := strings.NewReader("{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/rum/issue/update?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/rum/issue/update?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"issue_id\": \"NHEacQHi2DhXqobr9qPQz9\",\n \"status\": \"resolved\"\n}"
response = http.request(request)
puts response.read_body{
"data": {},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "AccessDenied",
"message": "Access Denied."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 300 requests/minute; 20 requests/second per account |
| Permissions | None — any valid app_key can call this operation |
Usage
- Only the fields you send are applied; sending a
statusequal to the current one changes nothing. - Setting
statustoresolvedon an unresolved issue stampsresolved_atandresolved_byand clearsregression; moving a resolved issue to another status clearsresolved_atandresolved_by. resolve_modeis applied only together withstatus: resolved, and defaults toanywhen omitted there; send it withstatus: resolvedon an already resolved issue to change only the mode.- When the application’s alerting is enabled, resolving an issue sends its recovery alert right away.
- Setting
suspected_causemarks the cause as user-set (suspected_cause.source=user,person_id= caller), and automatic analysis no longer overwrites it. - An unknown
issue_idreturnsInvalidParameter(“The specified issue does not exist”). - An issue of a private application the caller cannot access returns
AccessDenied(“You do not have permission to access this application”). - Every call is recorded in the account audit log. Don’t put secrets in request fields.
Authorizations
Body
Parameters for updating an issue.
New status. Setting resolved on an unresolved issue records the resolution time and operator and clears regression; switching away from resolved clears the resolution time and operator. Omit to keep the current status.
| Value | Meaning |
|---|---|
for_review | Pending triage |
reviewed | Reviewed |
ignored | Ignored |
resolved | Resolved |
for_review, reviewed, ignored, resolved How the issue reacts when its error recurs after being resolved. Applied only together with status: resolved; defaults to any there when omitted, and is ignored with any other status.
| Value | Meaning |
|---|---|
any | Reopen the issue on any recurrence |
version | Reopen only when the error recurs in an application version the issue has not been seen in; errors without a version always reopen it |
any, version New suspected cause; setting it marks the cause source as user, overriding the automatic classification. One of:
| Value | Meaning |
|---|---|
api.failed_request | API request failure |
network.error | Network connectivity error |
code.exception | Code exception |
code.invalid_object_access | Invalid object access |
code.invalid_argument | Invalid argument |
unknown | Unknown cause |
api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.
Was this page helpful?