Single Assets
Last updated
Last updated
Demonstrates the basic query for a single asset
.
When querying documents, addembedAssets=true
as URL parameter or as a query option to include assets by default. This eliminates the need to perform single asset queries and reduces the number of API calls.
Like documents, assets have fields which can be defined when making a query. In this example, we're going to query an asset just with its target URL.
To learn how to make a request with multiple fields, take a look at the .
Example for requesting an asset in one specific language (German).