Get change detail
curl --request POST \
--url 'https://api.flashcat.cloud/change/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"change_id": "664a1b2c3d4e5f6a7b8c9d0e"
}
'import requests
url = "https://api.flashcat.cloud/change/info?app_key="
payload = { "change_id": "664a1b2c3d4e5f6a7b8c9d0e" }
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({change_id: '664a1b2c3d4e5f6a7b8c9d0e'})
};
fetch('https://api.flashcat.cloud/change/info?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/change/info?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([
'change_id' => '664a1b2c3d4e5f6a7b8c9d0e'
]),
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/change/info?app_key="
payload := strings.NewReader("{\n \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\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/change/info?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/change/info?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 \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"change_id": "664a1b2c3d4e5f6a7b8c9d0e",
"account_id": 10001,
"channel_id": 5001,
"channel_name": "Production",
"channel_status": "enabled",
"integration_id": 362,
"integration_name": "控制台",
"title": "Upgrade payment-service to v3.2.0",
"description": "Rolling upgrade of payment-service in the production cluster.",
"change_key": "CHG-20261126-7Q2K",
"change_status": "Processing",
"start_time": 1764140400,
"actual_start_time": 1764147700,
"last_time": 1764147700,
"end_time": 0,
"labels": {
"service": "payment-service",
"env": "prod"
},
"link": "https://ci.example.com/pipelines/4821",
"planned_start_time": 1764147600,
"planned_end_time": 1764151200,
"operator": "alice@example.com",
"impact": "Payments may be retried for up to 30 seconds per pod.",
"backout_plan": "Roll back the deployment to v3.1.4.",
"checklist": [
{
"text": "Notify the support team",
"done": true,
"by": "Alice Chen",
"at": 1764147650
},
{
"text": "Verify error rate after rollout",
"done": false
}
],
"fields": {
"risk_level": "medium"
},
"can_edit": true,
"is_console": true,
"next_statuses": [
"Done",
"Failed"
],
"creator": {
"type": "member",
"id": 2000001,
"name": "Alice Chen"
},
"events": [
{
"event_id": "664a1b2c3d4e5f6a7b8c9d0f",
"account_id": 10001,
"channel_id": 5001,
"integration_id": 362,
"title": "Upgrade payment-service to v3.2.0",
"description": "Rolling upgrade of payment-service in the production cluster.",
"change_key": "CHG-20261126-7Q2K",
"change_status": "Processing",
"link": "https://ci.example.com/pipelines/4821",
"planned_start_time": 1764147600,
"planned_end_time": 1764151200,
"operator": "alice@example.com",
"impact": "Payments may be retried for up to 30 seconds per pod.",
"backout_plan": "Roll back the deployment to v3.1.4.",
"checklist": [
{
"text": "Notify the support team",
"done": true,
"by": "Alice Chen",
"at": 1764147650
},
{
"text": "Verify error rate after rollout",
"done": false
}
],
"fields": {
"risk_level": "medium"
},
"actor": {
"type": "member",
"id": 2000001,
"name": "Alice Chen"
},
"diff": {
"change_status": {
"before": "Planned",
"after": "Processing"
}
},
"event_time": 1764147700,
"labels": {
"service": "payment-service",
"env": "prod"
},
"created_at": 1764147700,
"updated_at": 1764147700
}
],
"notify_target": {
"type": "im_app",
"integration_id": 4102,
"chat_id": "oc_0f1e2d3c4b5a69788796a5b4c3d2e1f0",
"chat_name": "Release announcements"
}
}
}{
"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."
}
}Changes
Get change detail
Return one change with all of its events, by change ID or by integration and change key.
POST
/
change
/
info
Get change detail
curl --request POST \
--url 'https://api.flashcat.cloud/change/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"change_id": "664a1b2c3d4e5f6a7b8c9d0e"
}
'import requests
url = "https://api.flashcat.cloud/change/info?app_key="
payload = { "change_id": "664a1b2c3d4e5f6a7b8c9d0e" }
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({change_id: '664a1b2c3d4e5f6a7b8c9d0e'})
};
fetch('https://api.flashcat.cloud/change/info?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/change/info?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([
'change_id' => '664a1b2c3d4e5f6a7b8c9d0e'
]),
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/change/info?app_key="
payload := strings.NewReader("{\n \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\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/change/info?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/change/info?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 \"change_id\": \"664a1b2c3d4e5f6a7b8c9d0e\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"change_id": "664a1b2c3d4e5f6a7b8c9d0e",
"account_id": 10001,
"channel_id": 5001,
"channel_name": "Production",
"channel_status": "enabled",
"integration_id": 362,
"integration_name": "控制台",
"title": "Upgrade payment-service to v3.2.0",
"description": "Rolling upgrade of payment-service in the production cluster.",
"change_key": "CHG-20261126-7Q2K",
"change_status": "Processing",
"start_time": 1764140400,
"actual_start_time": 1764147700,
"last_time": 1764147700,
"end_time": 0,
"labels": {
"service": "payment-service",
"env": "prod"
},
"link": "https://ci.example.com/pipelines/4821",
"planned_start_time": 1764147600,
"planned_end_time": 1764151200,
"operator": "alice@example.com",
"impact": "Payments may be retried for up to 30 seconds per pod.",
"backout_plan": "Roll back the deployment to v3.1.4.",
"checklist": [
{
"text": "Notify the support team",
"done": true,
"by": "Alice Chen",
"at": 1764147650
},
{
"text": "Verify error rate after rollout",
"done": false
}
],
"fields": {
"risk_level": "medium"
},
"can_edit": true,
"is_console": true,
"next_statuses": [
"Done",
"Failed"
],
"creator": {
"type": "member",
"id": 2000001,
"name": "Alice Chen"
},
"events": [
{
"event_id": "664a1b2c3d4e5f6a7b8c9d0f",
"account_id": 10001,
"channel_id": 5001,
"integration_id": 362,
"title": "Upgrade payment-service to v3.2.0",
"description": "Rolling upgrade of payment-service in the production cluster.",
"change_key": "CHG-20261126-7Q2K",
"change_status": "Processing",
"link": "https://ci.example.com/pipelines/4821",
"planned_start_time": 1764147600,
"planned_end_time": 1764151200,
"operator": "alice@example.com",
"impact": "Payments may be retried for up to 30 seconds per pod.",
"backout_plan": "Roll back the deployment to v3.1.4.",
"checklist": [
{
"text": "Notify the support team",
"done": true,
"by": "Alice Chen",
"at": 1764147650
},
{
"text": "Verify error rate after rollout",
"done": false
}
],
"fields": {
"risk_level": "medium"
},
"actor": {
"type": "member",
"id": 2000001,
"name": "Alice Chen"
},
"diff": {
"change_status": {
"before": "Planned",
"after": "Processing"
}
},
"event_time": 1764147700,
"labels": {
"service": "payment-service",
"env": "prod"
},
"created_at": 1764147700,
"updated_at": 1764147700
}
],
"notify_target": {
"type": "im_app",
"integration_id": 4102,
"chat_id": "oc_0f1e2d3c4b5a69788796a5b4c3d2e1f0",
"chat_name": "Release announcements"
}
}
}{
"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."
}
}Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | None — any valid app_key can call this operation |
Usage
- Send
change_id, or bothintegration_idandchange_key; otherwiseInvalidParameter. Whenchange_idis set, the other two are ignored. - Unlike
POST /change/list, there is no time window: a change of any date can be read. eventsholds every event of the change, oldest first.next_statuseslists the statusesPOST /change/updatemay move the change to.notify_targetis the group the change’s notifications go to, ornullwhen the change form binds no group for its collaboration space.- An unknown change returns
InvalidParameter. Changes in public collaboration spaces and changes with no collaboration space are readable by every member; a change in a private space only by the account owner, admins, the space’s creator and members of its teams. Otherwise the call returnsAccessDenied.
Authorizations
Body
application/json
Identifies one change: by change_id, or by integration_id together with change_key.
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?