Skip to content

Get Issue Details



GET /api/v1/issue/{issue_uuid}/get

Overview

Read Issue details, managers, level, bound attachments, and channels by Issue UUID.

Prerequisites and Usage Steps

Use site-level External credentials (for authentication, see External API Signature Authentication). Use the Issue UUID to locate the owning workspace site-wide; this is not a workspace OpenAPI Key-scoped endpoint. Provide External credentials only to trusted integrations that are authorized for the corresponding data scope. First obtain the UUID from the Issue page or creation response. Interpret content.levelInfo and managerInfos as display information; a historical level may no longer be in the current valid list of writable levels, so you must query the valid level list again before subsequently modifying the level. extend.channels/members.exists only checks for non-deleted records site-wide and does not mean valid authorization in the target workspace. A read does not modify the Issue and does not trigger modification notifications for this request.

Route Parameters

Parameter Type Required Description
issue_uuid string Y Required Issue UUID, usually with the issue_ prefix; this is not an event UUID or channel UUID. This External endpoint does not require workspaceUUID; it obtains the owning workspace from the Issue itself.
Example: issue_example001
How to obtain or enter: Obtain it from an existing Issue details URL on the target site, the creation result content.uuid, or an Issue list you are authorized to read.

Request Headers

Parameter Type Required Description
X-Df-SVersion string Signature version for the original path and request body; do not omit it and continue using the algorithm on this page.
Example: v20240417
How to obtain or enter: The example on this page uses this fixed version, which matches the example signature algorithm.
X-Df-Access-Key string Y Read endpoints can use r or w credentials; write endpoints require w credentials.
Example: <external-access-key>
How to obtain or enter: Assigned by the site administrator as an External API AK; workspace OpenAPI Keys cannot be used.
X-Df-Signature string Y Concatenate the uppercase method, nonce, original full path, timestamp, and original UTF-8 request body with spaces, then compute HMAC-SHA256 and take the hex digest.
Example: <hmac-sha256-hex>
How to obtain or enter: Compute it using the matching SK according to External API Signature Authentication; see the complete runnable template below.
X-Df-Timestamp string Y Must be within the signature validity window configured for the site; do not reuse the example time.
Example: 1785427200
How to obtain or enter: When sending, use str(int(time.time())) to generate the current Unix seconds string.
X-Df-Nonce string Y Temporary nonce; when retrying after a failure, also generate a new value and recompute the signature.
Example: 97d275ee9f774315a7885ba7347acbd9
How to obtain or enter: Regenerate uuid.uuid4().hex for each request.

Additional Parameter Notes

For modifications, see Modify Issue; for writable levels, use the valid level list (query.workspaceUUID uses content.workspaceUUID from this response). For a nonexistent or deleted Issue, this route may currently return 500; do not infer from the 404 contract of other endpoints.

Request Example

import hashlib
import hmac
import json
import time
import uuid
from urllib.parse import urlencode
from urllib.request import Request, urlopen
from urllib.error import HTTPError, URLError

# Replace with the target site address and the External API AK/SK assigned by the administrator.
server = "https://external-api.guance.com"
access_key = "<external-access-key>"
secret_key = "<external-secret-key>"
method = 'GET'
path = '/api/v1/issue/issue_example001/get'
query = {}
data = None
full_path = path + ("?" + urlencode(query) if query else "")
body = "" if data is None else json.dumps(data, ensure_ascii=False, separators=(",", ":"))
timestamp = str(int(time.time()))
nonce = uuid.uuid4().hex
string_to_sign = " ".join([method, nonce, full_path, timestamp, body])
signature = hmac.new(secret_key.encode("utf-8"), string_to_sign.encode("utf-8"), hashlib.sha256).hexdigest()
headers = {
    "X-Df-Access-Key": access_key,
    "X-Df-Timestamp": timestamp,
    "X-Df-Nonce": nonce,
    "X-Df-Signature": signature,
    "X-Df-SVersion": "v20240417",
}
if data is not None:
    headers["Content-Type"] = "application/json"
request = Request(server + full_path, data=None if data is None else body.encode("utf-8"), headers=headers, method=method)
try:
    with urlopen(request, timeout=30) as result:
        payload = json.loads(result.read().decode("utf-8"))
except HTTPError as error:
    print("HTTP", error.code, error.read().decode("utf-8"))  # Determine based on errorCode, content, and traceId; do not output the AK/SK.
    raise SystemExit(1)
except (URLError, TimeoutError):
    print('Read failed; retry with backoff after re-signing; retain the traceId and query conditions.')
    raise SystemExit(1)
print(json.dumps(payload, ensure_ascii=False, indent=2))

Response

HTTP 200, standard External application/json envelope; content is the Issue and corresponding additional data, and is not automatically added to the OpenAPI declaration. Fields appear dynamically based on historical sources or extension configurations.

Field Type Description
content.id integer Saved Issue record sequence number; operations use uuid.
content.uuid string Resource UUID.
content.workspaceUUID string Owning workspace UUID.
content.status integer Record status; 0 normal, 3 deleted. This is different from the Issue business status statusType.
content.creator string Actual Issue creator identity; does not change with display information in extend.extra.
content.updator string Most recent updater identity; for External modifications this is SYS, and it can be empty if never updated.
content.createAt integer Creation time, in Unix seconds.
content.updateAt integer Most recent update time, in Unix seconds; can be -1 when never updated.
content.deleteAt integer Deletion time, in Unix seconds; -1 when not deleted.
content.name string Issue title.
content.level string Level UUID; an empty string is allowed to indicate unspecified. This is not the level name.
content.statusType integer Status: 10 Open, 15 Working, 20 Resolved, 25 Closed, 30 Pending.
content.statusTypeUpdateRecord array<string> Status change history; each item is in the form Unix seconds&&status name.
content.statusTypeUpdateRecord[] string A single status change record.
content.description string Issue description.
content.resourceType string Source type, such as event, dashboard, or viewer; for automatically created Issues it can also be checker, keyeventAutoDiscovery, etc.
content.resourceUUID string Associated source identifier; the specific meaning varies by source type.
content.resource string Source module or name, for example LOG, TRACING, EVENTS, RUM.
content.repeatType string Repeat type for automatically discovered Issues, which can be new, repeat, or regression; it can be empty for manually created Issues.
content.subIdentify string Associated sub-identifier defined by the source; usually empty for manually created Issues.
content.resolveAt integer Most recent time the Issue was set to Resolved or Closed, in Unix seconds; -1 if never recovered. Reopening does not automatically clear this historical time.
content.eventCount integer Number of associated events recorded.
content.eventCountUpdateAt integer Most recent update time of the associated event count, in Unix seconds; -1 if not yet recorded.
content.triggerRecord object Legacy compatibility field; no longer used as a notification trigger control parameter.
content.extend object Saved extension content; before modification, copy the complete object; omit it during modification to keep it, and {} can clear part of the original content (the old creator display information is retained conditionally). See the modification page for dynamic field descriptions.
content.extend.text string Plain text used for length checking, up to 3000 characters.
content.extend.channels array<object> Channels referenced in the description, including uuid, name, type, and exists; when returned, exists is refreshed based on current resource existence.
content.extend.channels[].uuid string Channel UUID.
content.extend.channels[].name string or null Display name.
content.extend.channels[].type string Channel reference marker #.
content.extend.channels[].exists boolean Checks existence based on non-deleted channel records site-wide; does not fully verify the owning workspace or active status, and cannot be used to prove a valid reference in this workspace.
content.extend.members array<object> Member references mentioned with @ in the description, including uuid, name, type, and exists.
content.extend.members[].uuid string Member account UUID.
content.extend.members[].name string or null Display name.
content.extend.members[].type string Member reference marker @.
content.extend.members[].exists boolean Checks existence based on non-deleted accounts site-wide; disabled accounts may also be true, and this does not indicate an active member of this workspace.
content.extend.manager array<string> Manager identifier array, used only by Issues; members, teams, Notification Targets, email addresses, etc. are normalized according to validity.
content.extend.manager[] string A single manager identifier.
content.extend.linkList array<object> Business reference links.
content.extend.linkList[].name string Link display name.
content.extend.linkList[].link string Business URL.
content.extend.sourceLink string Source link saved by the client; whether it is used for notification redirection depends on the source type and notification template, and it does not change the query scope of this endpoint.
content.extend.extra object Display information for third-party integrations; does not change the actual API authentication identity.
content.extend.extra.creator object Third-party creator display information; may include name and email.
content.extend.extra.creator.name string Creator display name.
content.extend.extra.creator.email string Creator display email.
content.extend.extra.updator object Third-party updater display information; may include name and email.
content.extend.extra.updator.name string Updater display name.
content.extend.extra.updator.email string Updater display email.
content.extend.extra.managerInfos object Display information mapping keyed by manager email, used only by Issues.
content.extend.extra.managerInfos.email.name string Display name of the manager for the corresponding email.
content.extend.other fields JSON Other extension information saved by the client; this does not mean all of it triggers business behavior.
content.creatorInfo object Creator display object; GET preferentially uses extend.extra.creator, which may be client-defined JSON; the modification response uses the actual creator identity summary and does not apply this display override.
content.creatorInfo.name string Display name; may be omitted.
content.creatorInfo.email string Email; may be omitted.
content.creatorInfo.uuid string Account UUID; may be omitted.
content.updatorInfo object Updater display object; GET preferentially uses extend.extra.updator; the modification response uses the actual SYS identity summary.
content.updatorInfo.name string Display name; may be omitted.
content.updatorInfo.email string Email; may be omitted.
content.updatorInfo.uuid string Account UUID; may be omitted.
content.levelInfo object Historical level display information; may still contain an old level that has been deleted or is not in the current valid list; can be {} when there is no corresponding configuration. Whether it can be used for new writes is subject to the valid level list.
content.levelInfo.uuid string Level UUID; whether it can still be used for Issue.level is subject to the current valid level list.
content.levelInfo.name string Level name, displayed according to the workspace language or level configuration.
content.levelInfo.color string Color string, usually #RRGGBB.
content.levelInfo.description string Level description.
content.managerInfos array<object> Resolved manager display information. Account information is returned according to actually visible fields; teams and Notification Targets usually include uuid and name, while email addresses include uuid/email/name.
content.managerInfos[].uuid string Manager identifier.
content.managerInfos[].name string Display name.
content.managerInfos[].email string Manager email or account email, provided when a value exists.
content.ruleType string Type provided when the source is checker and a Monitor configuration is found.
content.eventTimeRange array<integer> Start and end time provided when an associated event count exists, in Unix milliseconds.
content.eventTimeRange[] integer Unix millisecond timestamp.
content.eventConditions string Event query conditions provided when a valid rule exists for an auto-discovery source.
content.eventConditionsFilters JSON Filter editing data for an auto-discovery source, provided when configured.
content.attachments array<object> List of attachments bound to the Issue; to download, use Download Attachment.
content.attachments[].uuid string Attachment UUID.
content.attachments[].fileName string Original file name.
content.attachments[].fileSuffix string File suffix.
content.bindChannels array<object> Channels bound to the Issue.
content.bindChannels[].uuid string Channel UUID.
content.bindChannels[].name string Channel name.
content.creatorInfo.status integer Account record status; may be omitted.
content.creatorInfo.wsAccountStatus integer Account status in the current workspace; may be omitted.
content.creatorInfo.username string Login name; may be omitted.
content.creatorInfo.iconUrl string Account avatar URL; may be omitted.
content.creatorInfo.mobile string Account mobile phone number; may be empty or omitted.
content.creatorInfo.countryCode string Country/region code for the mobile phone number; may be omitted.
content.creatorInfo.acntWsNickname string Workspace nickname; may be omitted.
content.updatorInfo.status integer Account record status; may be omitted.
content.updatorInfo.wsAccountStatus integer Account status in the current workspace; may be omitted.
content.updatorInfo.username string Login name; may be omitted.
content.updatorInfo.iconUrl string Account avatar URL; may be omitted.
content.updatorInfo.mobile string Account mobile phone number; may be empty or omitted.
content.updatorInfo.countryCode string Country/region code for the mobile phone number; may be omitted.
content.updatorInfo.acntWsNickname string Workspace nickname; may be omitted.
content.managerInfos[].status integer Account record status; may be omitted.
content.managerInfos[].wsAccountStatus integer Account status in the current workspace; may be omitted.
content.managerInfos[].username string Login name; may be omitted.
content.managerInfos[].iconUrl string Account avatar URL; may be omitted.
content.managerInfos[].mobile string Account mobile phone number; may be empty or omitted.
content.managerInfos[].countryCode string Country/region code for the mobile phone number; may be omitted.
content.managerInfos[].acntWsNickname string Workspace nickname; may be omitted.
content.levelInfo.id integer or null Level record ID; not provided for system default levels.
content.levelInfo.workspaceUUID string Optional field in historical level display information. Owning workspace UUID.
content.levelInfo.status integer Optional field in historical level display information. Record status; 0 normal, 3 deleted. This is different from the Issue business status statusType.
content.levelInfo.creator string Optional field in historical level display information. Creation caller identity; may be an API Key identifier, account, or system identity.
content.levelInfo.updator string Optional field in historical level display information. Most recent updater identity; an empty string when not set.
content.levelInfo.createAt integer Optional field in historical level display information. Creation time, in Unix seconds.
content.levelInfo.updateAt integer Optional field in historical level display information. Most recent update time, in Unix seconds; can be -1 when never updated.
content.levelInfo.deleteAt integer Optional field in historical level display information. Deletion time, in Unix seconds; -1 when not deleted.
content.levelInfo.extend object or null Optional field in historical level display information. Additional JSON object saved at creation; the level modification endpoint currently does not modify this field.
content.levelInfo.isManage boolean or number Optional field in historical level display information. Whether this is a platform-managed level; workspace-created levels are usually false.
content.levelInfo.isDefault boolean System default level display flag; may be omitted.
content.creatorInfo.other fields JSON value The GET External display object may store other keys; interpret them according to the actual data; the system summary usually returns only the following public fields.
content.updatorInfo.other fields JSON value The External display object may store other keys; they do not represent the actual authentication identity.
{
  "code": 200,
  "content": {
    "id": 1001,
    "uuid": "issue_example001",
    "status": 0,
    "creator": "acnt_example",
    "updator": "SYS",
    "createAt": 1785427200,
    "updateAt": 1785427260,
    "deleteAt": -1,
    "workspaceUUID": "wksp_example001",
    "name": "Production API Latency",
    "level": "system_level_1",
    "statusType": 15,
    "statusTypeUpdateRecord": [
      "1785427260&&Working"
    ],
    "description": "Investigating the cause of the latency.",
    "resourceType": "event",
    "resourceUUID": "",
    "subIdentify": "",
    "resource": "LOG",
    "repeatType": "",
    "extend": {
      "text": "Investigating the cause of the latency.",
      "manager": [],
      "linkList": []
    },
    "resolveAt": -1,
    "eventCount": 0,
    "eventCountUpdateAt": -1,
    "triggerRecord": {},
    "creatorInfo": {},
    "updatorInfo": {
      "uuid": "",
      "status": 0,
      "wsAccountStatus": 0,
      "name": "SYS",
      "username": "SYS",
      "email": "SYS",
      "mobile": ""
    },
    "managerInfos": [],
    "attachments": [],
    "levelInfo": {
      "uuid": "system_level_1",
      "name": "P1",
      "color": "#FF7931",
      "description": "<Description in the current language and level configuration>",
      "isDefault": true
    },
    "bindChannels": []
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Handling
500 ft.InternalServerError When the Issue UUID does not exist or has been deleted, the route first reads an empty workspaceUUID object, or reading details/associated data fails Internal error First verify that the Issue actually exists, has not been deleted, and that the UUID is accurate; this External route currently cannot treat nonexistence as a fixed 404. Retain the traceId and contact the administrator for verification.

Feedback

Is this page helpful?