ticket_replies
Creates, updates, deletes, gets or lists a ticket_replies resource.
Overview
| Name | ticket_replies |
| Type | Resource |
| Id | linode.support.ticket_replies |
Fields
The following fields are returned by SELECT queries:
- list
Returns a paginated list of support ticket replies.
| Name | Datatype | Description |
|---|---|---|
id | integer | Read-only The unique ID of this support ticket reply. |
gravatar_id | string | Read-only The Gravatar ID of the user who created this reply. (example: 474a1b7373ae0be4132649e69c36ce30) |
created | string (date-time) | Read-only When this ticket reply was created. (example: 2015-06-02T14:31:41) |
created_by | string | Read-only The user who submitted this reply. (example: John Q. Linode) |
description | string | Read-only The body of this support ticket reply. (example: Hello,\nI'm sorry to hear that you're having trouble resetting the root password of your Linode. Just to be sure, have you tried to follow the instructions here: https://techdocs.akamai.com/cloud-computing/docs/reset-the-root-password-on-a-compute-instance? If you have, please reply with any additional steps you've also taken.\nRegards,\nLinode Support Team) |
from_linode | boolean | Read-only If true, this reply came from a Linode employee. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | ticketId | page, page_size | Returns a collection of replies to a support ticket on your account. Learn more... Learn more... |
create | insert | ticketId, description | Adds a reply to an existing support ticket. Learn more... Learn more... |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ticketId | string | The ID of the support ticket. |
page | integer | The page of a collection to return. |
page_size | integer | The number of items to return per page. |
SELECT examples
- list
Returns a collection of replies to a support ticket on your account.
Learn more...
Learn more...
SELECT
id,
gravatar_id,
created,
created_by,
description,
from_linode
FROM linode.support.ticket_replies
WHERE ticketId = '{{ ticketId }}' -- required
AND page = '{{ page }}'
AND page_size = '{{ page_size }}'
;
INSERT examples
- create
- Manifest
Adds a reply to an existing support ticket.
Learn more...
Learn more...
INSERT INTO linode.support.ticket_replies (
description,
ticketId
)
SELECT
'{{ description }}' /* required */,
'{{ ticketId }}'
RETURNING
id,
gravatar_id,
created,
created_by,
description,
from_linode
;
# Description fields are for documentation purposes
- name: ticket_replies
props:
- name: ticketId
value: "{{ ticketId }}"
description: Required parameter for the ticket_replies resource.
- name: description
value: "{{ description }}"
description: |
The content of your reply.