logo
logo

Specific Properties

In addition to the generic properties, it is also possible to query for specific named properties.

Root taxonomy item

To query all entities that represent a root taxonomy item, use the IsRootTaxonomyItem property:

GET http://<hostname>/api/entities/query?query=IsRootTaxonomyItem==true

Definition ID

To query for all entities that have a certain definition ID, use the Definition.id property:

GET http://<hostname>/api/entities/query?query=Definition.Id==22
Note

This property only supports == and != operators.

Definition name

To query for all entities that have a certain definition name, use the Definition.Name property:

GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset'
Note

This property only supports == and != operators.

Tip

We recommend to limit queries by including one of the definition restrictions. It improves performance and avoids unexpected results (e.g. a request returns files but you only want assets).

Locked by

To query for all assets locked by a certain user ID, use the LockedBy property:

GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset' AND LockedBy==3
Note

This property only supports == and != operators.

Locked

To query for all locked assets, use the Locked property:

GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset' AND Locked
Note

This property does not support any operators, but can be negated.

Created by

To query for all assets created by a certain user ID, use the CreatedBy property:

GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset' AND CreatedBy==3
Note

This property only supports == and != operators.

Modified by

To query for all assets last modified by a certain user ID, use the ModifiedBy property:

GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset' AND ModifiedBy==3
Note

This property only supports == and != operators.

Can we improve this article ? Provide feedback