Skip to content

Commit 45ed47b

Browse files
authored
Update OpenAPI spec for ticket updated attribute metadata (#268)
* Update OpenAPI spec for ticket updated attribute metadata * Added examples
1 parent 6a8b8f1 commit 45ed47b

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12442,6 +12442,15 @@ paths:
1244212442
email: operator+this_is_an_id692_that_should_be_at_least_@intercom.io
1244312443
attachments: []
1244412444
redacted: false
12445+
updated_attribute_data:
12446+
attribute:
12447+
type: "attribute"
12448+
id: "10"
12449+
label: "Photo"
12450+
value:
12451+
type: "value"
12452+
id: [2]
12453+
label: ["photo.png"]
1244512454
- type: ticket_part
1244612455
id: '178'
1244712456
part_type: ticket_attribute_updated_by_admin
@@ -12454,6 +12463,15 @@ paths:
1245412463
email: operator+this_is_an_id692_that_should_be_at_least_@intercom.io
1245512464
attachments: []
1245612465
redacted: false
12466+
updated_attribute_data:
12467+
attribute:
12468+
type: "attribute"
12469+
id: "7"
12470+
label: "Progress"
12471+
value:
12472+
type: "value"
12473+
id: "Fast"
12474+
label: "Fast"
1245712475
- type: ticket_part
1245812476
id: '179'
1245912477
part_type: ticket_state_updated_by_admin
@@ -19958,6 +19976,72 @@ components:
1995819976
nullable: false
1995919977
example: text-integration
1996019978
description: The app package code if this part was created via API. Note this field won't show if the part was not created via API.
19979+
updated_attribute_data:
19980+
title: Updated Attribute
19981+
type: object
19982+
description: The updated attribute data of the ticket part. Only present for attribute update parts.
19983+
nullable: true
19984+
properties:
19985+
attribute:
19986+
type: object
19987+
description: Information about the attribute that was updated.
19988+
properties:
19989+
type:
19990+
type: string
19991+
description: The type of the object. Always 'attribute'.
19992+
enum:
19993+
- attribute
19994+
example: attribute
19995+
id:
19996+
type: string
19997+
description: The unique identifier of the attribute.
19998+
example: "7"
19999+
label:
20000+
type: string
20001+
description: The human-readable name of the attribute.
20002+
example: "Progress"
20003+
required:
20004+
- type
20005+
- id
20006+
- label
20007+
value:
20008+
type: object
20009+
description: The new value of the attribute.
20010+
properties:
20011+
type:
20012+
type: string
20013+
description: The type of the object. Always 'value'.
20014+
enum:
20015+
- value
20016+
example: value
20017+
id:
20018+
oneOf:
20019+
- type: string
20020+
description: The value for text/number/decimal/boolean/date attributes, or the ID of the list option for list attributes.
20021+
nullable: true
20022+
example: "Fast"
20023+
- type: array
20024+
description: Array of file IDs for file attributes.
20025+
items:
20026+
type: integer
20027+
example: [2]
20028+
label:
20029+
oneOf:
20030+
- type: string
20031+
description: The display value for text/number/decimal/boolean/date/list attributes.
20032+
example: "Fast"
20033+
- type: array
20034+
description: Array of file names for file attributes.
20035+
items:
20036+
type: string
20037+
example: ["photo.png"]
20038+
required:
20039+
- type
20040+
- id
20041+
- label
20042+
required:
20043+
- attribute
20044+
- value
1996120045
ticket_part_author:
1996220046
title: Ticket part author
1996320047
type: object

0 commit comments

Comments
 (0)