Open axeloz opened 1 year ago
Related to #71.
When using an Asset field and selecting an existing asset, the API returns:
"main-image": { "_id": "64368f514cbb71ea5f08edf4", "path": "\/2023\/04\/12\/875-875-storyblok_ceeddf138cb9b2d3491fe7399a30eb21_uid_64368f519a6da.webp", "title": "875-875-storyblok_ceeddf138cb9b2d3491fe7399a30eb21.webp", "mime": "image\/webp", "type": "image", "description": "", "tags": [], "size": 99532, "colors": [ "#c0936a", "#4d3421", "#fae6d2", "#604d39", "#f9d5ad" ], "width": 875, "height": 1189, "_hash": "685514c442bcc3846c7dc2dc677ac316", "_created": 1681297233, "_modified": 1681297233, "_cby": "643685aafcc37886b1028da7", "folder": "" },
The path provided doesn't even include storage/uploads. It's really missing a full_path property here with http(s)://<domain>/<folder>/storage/uploads/<image_path>.
storage/uploads
full_path
http(s)://<domain>/<folder>/storage/uploads/<image_path>
The /assets/ or /assets/image/ endpoint don't give the full path either.
/assets/
/assets/image/
Related to #71.
When using an Asset field and selecting an existing asset, the API returns:
The path provided doesn't even include
storage/uploads
. It's really missing afull_path
property here withhttp(s)://<domain>/<folder>/storage/uploads/<image_path>
.The
/assets/
or/assets/image/
endpoint don't give the full path either.