Likes
Liking/Unliking operations
Adds a like to a specific blog post. Increments likes count.
JWT Access Token obtained via login/register/refresh
ID of the blog post.
Blog liked successfully. Returns new likes count.
User has already liked this blog.
Authentication information is missing or invalid (e.g., missing/expired token).
The specified resource was not found.
An unexpected error occurred on the server.
Removes a like from a specific blog post. Decrements likes count.
JWT Access Token obtained via login/register/refresh
ID of the blog post.
Request successful, no response body.
User has not liked this blog previously.
Authentication information is missing or invalid (e.g., missing/expired token).
The specified resource was not found.
An unexpected error occurred on the server.
No content
Last updated
Was this helpful?