Endpoint
Authentication
Required. User must be authenticated to save a post.Path Parameters
The unique identifier of the post to save (PostID)
Request Body
The username of the authenticated user saving the post
Behavior
- Creates a SavedPost record with composite key (SaverID, PostID)
- Allows users to bookmark posts for later viewing
- Prevents saving posts from blocked accounts
- Each user can only save a post once
Request
Response
201 Created - Post saved successfully
Errors
Post or account does not exist, or action cannot be completed due to a block
The user already saved the post