Skip to main content

ticket_replies

Creates, updates, deletes, gets or lists a ticket_replies resource.

Overview

Nameticket_replies
TypeResource
Idlinode.support.ticket_replies

Fields

The following fields are returned by SELECT queries:

Returns a paginated list of support ticket replies.

NameDatatypeDescription
idintegerRead-only The unique ID of this support ticket reply.
gravatar_idstringRead-only The Gravatar ID of the user who created this reply. (example: 474a1b7373ae0be4132649e69c36ce30)
createdstring (date-time)Read-only When this ticket reply was created. (example: 2015-06-02T14:31:41)
created_bystringRead-only The user who submitted this reply. (example: John Q. Linode)
descriptionstringRead-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_linodebooleanRead-only If true, this reply came from a Linode employee.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectticketIdpage, page_sizeReturns a collection of replies to a support ticket on your account.

Learn more...

Learn more...
createinsertticketId, descriptionAdds 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.

NameDatatypeDescription
ticketIdstringThe ID of the support ticket.
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples

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

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
;