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
Hello,
I am trying to create a new version of a resource through the API without success.
I tried to PUT the same resource incrementing the versionNumber and passing the same vuid but the exact same resource got updated.
I also tried to POST the same resource content, still passing versionNumber and the same vuid but using the endpoint /:slug/:resourceId (the resourceId is the strapi integer id) as I see from the source code but I got 405 Method Not Allowed.
Where Am I doing wrong?
On the permission level, the token that I use got the full permission to play that slug property.
The text was updated successfully, but these errors were encountered:
Hi, right now versioning works only in Strapi admin. We did not create API for Content API, just for Admin API. So I will convert this as enhancement and we will do it in the future.
Hi @martincapek, thank you so much for building such a great plugin, just wanted to know if you have plans to publish this enhancement feature for the Content API, as it is very crucial for building data-extensive web apps which use Strapi as their backend!
Hello,
I am trying to create a new version of a resource through the API without success.
I tried to
PUT
the same resource incrementing theversionNumber
and passing the samevuid
but the exact same resource got updated.I also tried to
POST
the same resource content, still passingversionNumber
and the samevuid
but using the endpoint/:slug/:resourceId
(the resourceId is the strapi integer id) as I see from the source code but I got 405Method Not Allowed
.Where Am I doing wrong?
On the permission level, the token that I use got the full permission to play that
slug
property.The text was updated successfully, but these errors were encountered: