Assets
Get asset data in text UTF8 representation by ID
Retrieves the text data in UTF8 representation of the asset based on the given <strong>{id}</strong>. <br> The <strong>{id}</strong> must be an ID of existing asset.
get/pimcore-studio/api/assets/{id}/text
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/assets/{id}/text
- Auth: none declared
Path parameters
idinteger required
Example:83
Id of the asset
Response
Successfully retrieved UTF8 encoded text data of asset
Example response
{
"data": "Test content"
}Changes
No recorded changes to this operation across all 2 revisions of this API.