Skip to main content

tagged_objects

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

Overview

Nametagged_objects
TypeResource
Idlinode.tags.tagged_objects

Fields

The following fields are returned by SELECT queries:

A paginated list of objects, organized by type, that have been tagged with the requested tag.

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_tagged_objectsselectpage, page_sizeReturns a paginated list of all objects you've tagged with the specified tag. The response includes a mixed collection of all object types.

> 📘
>
> This operation can only be accessed by account users with unrestricted access. OAuth scopes.

<br /> account:read_only<br />

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 paginated list of all objects you've tagged with the specified tag. The response includes a mixed collection of all object types.

> 📘
>
> This operation can only be accessed by account users with unrestricted access. OAuth scopes.

<br /> account:read_only<br />

Learn more...

SELECT
data,
page,
pages,
results
FROM linode.tags.tagged_objects
WHERE page = '{{ page }}'
AND page_size = '{{ page_size }}';