Tag: TTWrite API

TTWrite API: Report Post

Endpoint URL //ttwrite.4up.eu/mobile_api/publication_report Description This API allows users to report a publication for violating platform guidelines or other issues. Parameters Field Value Remarks post_id integer The unique identifier of the post being reported. reason string The reason for reporting the post (e.g., “spam”, “abuse”). additional_info string Optional. Any additional informationRead More

TTWrite API: Refresh Access Token

Endpoint URL //ttwrite.4up.eu/mobile_api/refresh_access_token Description This API allows users to refresh their access token, ensuring continued access to the platform without requiring a re-login. Parameters Field Value Remarks refresh_token string The refresh token issued during the initial authentication process. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/refresh_access_token Content-Type: application/json { “refresh_token”: “eyJhbGc…dXNzIn” } Notes

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

TTWrite API: Logout User

Endpoint URL //ttwrite.4up.eu/mobile_api/logout Description This API logs out the authenticated user, invalidating the current session token. Parameters Field Value Remarks None None No additional parameters are required. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/logout Content-Type: application/json {} Notes Let me know if you need further refinements or additional details!

TTWrite API: Like / Unlike Post

Endpoint URL //ttwrite.4up.eu/mobile_api/like_post Description This API allows the authenticated user to like or unlike a specific post on the TTWrite platform. Parameters Field Value Remarks post_id integer The unique identifier of the post to like or unlike. action string Specifies the action: either like or unlike. Example Usage httpCopy codePOSTRead More