TTWrite API: Repost Post
Endpoint URL
//ttwrite.4up.eu/mobile_api/publication_repost
Description
This API allows users to repost a publication to their profile, similar to retweeting or sharing on other platforms.
Parameters
Field | Value | Remarks |
---|---|---|
post_id | integer | The unique identifier of the post to be reposted. |
Example Usage
httpCopy codePOST //ttwrite.4up.eu/mobile_api/publication_repost
Content-Type: application/json
{
"post_id": 12345
}
Notes
- Authentication is required to access this API.
- Ensure the
post_id
corresponds to a valid and existing post. - A successful request will associate the reposted publication with the user’s profile.