-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
🔖 Feature description
Currently, the public API doesn't return URL pictures/videos uploaded to a post.
The docs clearly show that:
https://docs.postiz.com/public-api#post-list
🎤 Why is this feature needed ?
Being able to list all the files belong to the post would be handy so that we can access all that we uploaded.
In my use case, I'm using Postiz to create and publish posts to social media platforms but I also add these posts to my blog. Currently, I have no way of adding the images as well.
✌️ How do you aim to achieve this?
I've looked at the database structure and the URLs where the files are available are stored in the "Image" column in a JSON format.
I'm not familar with TS but I assume it could be just adding that extra field in the select statement here?
https://github.com/gitroomhq/postiz-app/blob/main/libraries/nestjs-libraries/src/database/prisma/posts/posts.repository.ts#L178-L202
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
- I checked and didn't find similar issue
Are you willing to submit PR?
None