Skip to content

Get



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

Overview

Get the details, owner, level, channels, and attachment information of a single Issue in the current workspace.

Prerequisites and Usage Steps

Obtain the uuid from the Issue List or the creation result and put it in the path. The response includes the saved description and extend, display information, and attachment identifiers; you can use the returned uuid to continue updating or replying. The operation uses the workspace to which the current API Key belongs; obtain resource identifiers from the same workspace.

Path Parameters

Parameter Type Required Description
issue_uuid string Y UUID of the Issue in the current workspace.
Example: issue_example
How to obtain or enter: Obtain from content.data[].uuid in the Issue List or content.uuid in the Create Issue response.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or enter: Obtain an OpenAPI Key with the required permission from API Key Management in the target workspace.

Additional Parameter Notes

Read the returned extend before making modifications to retain owners, links, and display information that are still needed. To download an attachment, use the attachment UUID, not the Issue UUID.

Request Example

curl --get 'https://openapi.guance.com/api/v1/issue/issue_example/get' \
  -H 'DF-API-KEY: <DF-API-KEY>'

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content.id integer or null Record ID. The response for creating an Issue/reply may be null if it is constructed before persistence; use uuid to operate on resources.
content.uuid string Resource UUID.
content.workspaceUUID string UUID of the workspace to which the resource belongs.
content.status integer Record status; 0 normal, 3 deleted. This is different from the Issue business status statusType.
content.creator string Identity of the creation call; may be an API Key identifier, account, or system identity.
content.updator string Identity of the most recent update; an empty string if not set.
content.createAt integer Creation time, in Unix seconds.
content.updateAt integer Most recent update time, in Unix seconds; may be -1 if not updated.
content.deleteAt integer Deletion time, in Unix seconds; -1 if not deleted.
content.name string Issue title.
content.level string Level UUID; an empty string is allowed to indicate that no level is specified; 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 may 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, such as LOG, TRACING, EVENTS, or RUM.
content.repeatType string Repeat type of an automatically discovered issue; can be new, repeat, or regression; may 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 Time when the Issue was most recently set to Resolved or Closed, in Unix seconds; -1 if it has never been resolved. 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; it is no longer used as a notification trigger control parameter.
content.extend object Extended content. In requests, pass an object {} rather than null; see the parameter table for structures such as members, channels, and owners.
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; on return, exists is refreshed based on the current existence of the resource.
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 Whether the channel exists at return time.
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 Whether the account exists at return time.
content.extend.manager array<string> Array of owner identifiers, used only by Issues; members/teams/Notification Targets/emails, etc. are normalized based on validity.
content.extend.manager[] string A single owner 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 page link; filled in by the client when present.
content.extend.extra object Display information for third-party integration; does not change the actual API authentication identity.
content.extend.extra.creator object Display information for the third-party creator; 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 Display information for the third-party updater; 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 Mapping of display information keyed by owner email, used only by Issues.
content.extend.extra.managerInfos.邮箱.name string Display name of the owner corresponding to the email.
content.extend.Other Fields JSON Other extended information saved by the client; this does not mean that all of it triggers business behavior.
content.creatorInfo object Creator display information; when the third-party extend.extra.creator has a value, some read APIs prioritize that display information.
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 information; may be an empty object.
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 old levels that have been deleted or are not in the current valid list; may 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 owner display information. Account information is returned according to the fields actually visible; teams/Notification Targets usually include uuid and name, and emails include uuid/email/name.
content.managerInfos[].uuid string Owner identifier.
content.managerInfos[].name string Display name.
content.managerInfos[].email string Email owner or account email, provided when available.
content.ruleType string Type provided when the source is checker and a monitor configuration is found.
content.eventTimeRange array<integer> Start and end times 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.declaration object or null Workspace common declaration; appended only at the content level.
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 number; may be empty or omitted.
content.creatorInfo.countryCode string Mobile number country/region code; 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 number; may be empty or omitted.
content.updatorInfo.countryCode string Mobile number country/region code; 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 number; may be empty or omitted.
content.managerInfos[].countryCode string Mobile number country/region code; may be omitted.
content.managerInfos[].acntWsNickname string Workspace nickname; may be omitted.
content.levelInfo.id integer or null Level record ID; this field is not provided for system default levels.
content.levelInfo.workspaceUUID string Optional field in historical level display information. UUID of the workspace to which it belongs.
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. Identity of the creation call; may be an API Key identifier, account, or system identity.
content.levelInfo.updator string Optional field in historical level display information. Identity of the most recent update; an empty string if 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; may be -1 if not updated.
content.levelInfo.deleteAt integer Optional field in historical level display information. Deletion time, in Unix seconds; -1 if not deleted.
content.levelInfo.extend object or null Optional field in historical level display information. Additional JSON object saved at creation; the level modification API currently does not modify this field.
content.levelInfo.isManage boolean or number Optional field in historical level display information. Whether it is a platform-managed level; workspace-created levels are usually false.
content.levelInfo.isDefault boolean Display flag for a system default level; may be omitted.
{
  "code": 200,
  "content": {
    "id": 101,
    "uuid": "issue_example",
    "workspaceUUID": "wksp_example",
    "status": 0,
    "creator": "wsak_example",
    "updator": "wsak_example",
    "createAt": 1785430800,
    "updateAt": 1785430800,
    "deleteAt": -1,
    "name": "checkout-api latency anomaly",
    "level": "system_level_1",
    "statusType": 10,
    "statusTypeUpdateRecord": [],
    "description": "Locate production API latency and record the handling process.",
    "resourceType": "",
    "resourceUUID": "",
    "resource": "",
    "repeatType": "",
    "subIdentify": "",
    "extend": {},
    "resolveAt": -1,
    "eventCount": 0,
    "eventCountUpdateAt": -1,
    "triggerRecord": {},
    "creatorInfo": {},
    "updatorInfo": {},
    "levelInfo": {
      "uuid": "system_level_1",
      "name": "P1",
      "description": "Important business functions are unavailable, but the impact on users is limited.",
      "color": "#FF7931",
      "isDefault": true
    },
    "managerInfos": [],
    "bindChannels": [
      {
        "uuid": "chan_example",
        "name": "Production anomaly"
      }
    ],
    "attachments": [],
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

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

HTTP Status errorCode Trigger Condition Message or Response Description Handling
404 ft.NotFoundIsuue The Issue does not exist, has been deleted, or does not belong to the current workspace Specified Issue not found Use Issue List to obtain a valid uuid again; note that the misspelled Isuue in the error code is retained.

Feedback

Is this page helpful?