You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying the /api/collections/{collection}/entries endpoint and the entries include an asset, the alt text is missing from the response. When querying the asset directly (e.g. /api/assets/{container}/{path}) it's there.
Querying the collection and its entries (or just that specific entry by itself):
{
"assets_field":
[
{
"id":"assets::test.png",
"some more stuff but no alt text"
}
]
}
Querying the asset works as expected:
{
"alt":"Wow, this is an Alt text.",
"id":"assets::test.png"
}
How to reproduce
Query the /api/collections/{collection}/entries endpoint with the blueprint having an asset field
Have an alt text for the image
See that the response does not include the alt text
Logs
No response
Environment
EnvironmentApplication Name: StatamicLaravel Version: 10.48.10PHP Version: 8.3.6Composer Version: 2.7.1Environment: localDebug Mode: ENABLEDURL: sandbox.testMaintenance Mode: OFFCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: statamicDatabase: mysqlLogs: stack / singleMail: smtpQueue: syncSession: fileStatamicAddons: 0Antlers: runtimeSites: 1Stache Watcher: EnabledStatic Caching: DisabledVersion: 4.57.3 PRO
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered:
Bug description
When querying the
/api/collections/{collection}/entries
endpoint and the entries include an asset, the alt text is missing from the response. When querying the asset directly (e.g./api/assets/{container}/{path}
) it's there.Querying the collection and its entries (or just that specific entry by itself):
Querying the asset works as expected:
How to reproduce
/api/collections/{collection}/entries
endpoint with the blueprint having an asset fieldLogs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: