TTWrite API: Profile Endpoints
The Profile API provides endpoints for fetching user profile data and retrieving posts associated with a profile.
1. Fetch Profile Data
Endpoint URL
//ttwrite.4up.eu/mobile_api/profile
Description
Retrieves detailed information about a user’s profile, including personal and public data.
Parameters
Field | Value | Remarks |
---|---|---|
user_id | integer | The unique identifier of the user whose profile is being fetched. |
Example Usage
httpCopy codeGET //ttwrite.4up.eu/mobile_api/profile?user_id=123
Notes
- Authentication is required to access this API.
- If the
user_id
is omitted, the API defaults to the profile of the authenticated user.
2. Fetch Profile Posts
Endpoint URL
//ttwrite.4up.eu/mobile_api/profile_posts
Description
Retrieves posts associated with a specific user’s profile.
Parameters
Field | Value | Remarks |
---|---|---|
user_id | integer | The unique identifier of the user whose posts are being fetched. |
limit | integer | Optional. The number of posts to return. |
offset | integer | Optional. Pagination starting point. |
Example Usage
httpCopy codeGET //ttwrite.4up.eu/mobile_api/profile_posts?user_id=123&limit=10&offset=0
Notes
- Authentication is required to access this API.
- Use pagination (
limit
andoffset
) to manage large result sets.
Notes for Both Endpoints
- These endpoints provide a comprehensive view of user profiles and their associated content.
- Ensure valid
user_id
values to avoid errors.
admin December 9, 2024 API for profile details, fetch profile posts, fetch user data TTWrite, fetch user posts, get user profile, profile API documentation, profile content retrieval, profile data endpoint, profile data management, profile posts API, profile posts management, TTWrite API, TTWrite profile actions, TTWrite profile features, TTWrite profile posts endpoint, TTWrite user details, user profile API, user profile data TTWrite, user profile information API API, Social Media, TTWrite Comments Off on TTWrite API: Profile Endpoints