Likes

Remove your like from a post if you change your mind

delete/posts/{postId}/likes

Request

  • Base URL
    http://localhost:8080/api
  • URL
    http://localhost:8080/api/posts/{postId}/likes
  • Auth
    none declared

Path parameters

postIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000

Unique identifier of the post

Response

Like removed successfully

Changes

    • breaking

      added the new path request parameter postId

    • breaking

      the response's property type changed from object to array for status

    • breaking

      the response's property type changed from object to array for status

    • warning

      deleted the query request parameter username

    • breaking

      added the new required query request parameter username

    • warning

      deleted the path request parameter postId

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status