List the tickets linked to a register item
GET
/v1/integrations/{provider}/{installation_id}/configs/{config_id}/tickets/{target_id}
const url = 'https://api.adversarial.com/api/v1/integrations/example/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/configs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tickets/1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.adversarial.com/api/v1/integrations/example/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/configs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tickets/1Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider
required
string
installation_id
required
string format: uuid
config_id
required
string format: uuid
target_id
required
integer format: int64
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
A ticket link recorded against a register item.
object
available
required
false when the provider no longer returns this ticket, or when the
installation cannot reach it. The link stays listed so an operator can
remove it.
boolean
config_id
required
Configuration the link was made through.
string format: uuid
external_id
required
Provider-side identifier of the ticket.
string
external_key
required
Human-readable provider key of the ticket.
string
id
required
Link identifier, used to remove the link.
string format: uuid
image
required
Icon URL for the ticket type, empty while the ticket is unavailable.
string
installation_id
required
Installation that owns the ticket.
string format: uuid
project
Provider-side project or table the ticket lives in, where the provider reports one.
string | null
summary
required
Short summary the provider reports, empty while the ticket is unavailable.
string
url
required
URL to open the ticket in the provider, empty while the ticket is unavailable.
string
Examplegenerated
[ { "available": true, "config_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "external_id": "example", "external_key": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "image": "example", "installation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "project": "example", "summary": "example", "url": "example" }]