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
dataarray
pageintegerRead-only The current page.
pagesintegerRead-only The total number of pages.
resultsintegerRead-only The total number of results.

Methods

The following methods are available for this resource:

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

Learn more...

Learn more...
post_ticket_replyinsertdata__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
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
data,
page,
pages,
results
FROM linode.support.ticket_replies
WHERE 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 (
data__description
)
SELECT
'{{ description }}' --required
RETURNING
id,
gravatar_id,
created,
created_by,
description,
from_linode
;