Download OpenAPI specification:
// 上传评论图片
| client_md5 | string |
| content_type | string |
| file | string <binary> |
| file_name | string |
{- "client_md5": "string",
- "content_type": "string",
- "file": "string",
- "file_name": "string"
}{- "body": {
- "asset": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}
}, - "code": "string",
- "message": "string"
}// 获取评论详情
| comment_id | string |
| cursor | string |
| limit | int64 |
{- "comment_id": "string",
- "cursor": "string",
- "limit": null
}{- "body": {
- "detail": {
- "child_replies": [
- {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}
], - "focus_comment": {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}, - "has_more": null,
- "next_cursor": "string"
}
}, - "code": "string",
- "message": "string"
}// 获取内容评论列表
| content_id | string |
| content_type | string |
| cursor | string |
| limit | int64 |
{- "content_id": "string",
- "content_type": "string",
- "cursor": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "threads": [
- {
- "has_more_replies": null,
- "reply_previews": [
- {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}
], - "root_comment": {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}, - "total_reply_count": null
}
]
}, - "code": "string",
- "message": "string"
}// 发布评论
| content_id | string |
| content_type | string |
object (locus.models.params.common.comment.CommentImageInput) | |
| mentioned_user_ids | Array of strings |
| parent_comment_id | string |
| reply_to_user_id | string |
| text | string |
{- "content_id": "string",
- "content_type": "string",
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_user_ids": [
- "string"
], - "parent_comment_id": "string",
- "reply_to_user_id": "string",
- "text": "string"
}{- "body": {
- "comment": {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}
}, - "code": "string",
- "message": "string"
}// 获取我的评论
| content_type | string |
| cursor | string |
| limit | int64 |
{- "content_type": "string",
- "cursor": "string",
- "limit": null
}{- "body": {
- "comments": [
- {
- "comment": {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_delete": null,
- "comment_id": "string",
- "content_id": "string",
- "content_type": "CommentContentTypeEnum_CommentContentTypeEnum_Invalid",
- "created_at": null,
- "has_more_thread_replies": null,
- "image": {
- "asset_id": "string",
- "height": null,
- "url": "string",
- "width": null
}, - "mentioned_users": [
- {
- "nickname": "string",
- "user_id": "string"
}
], - "parent_comment_id": "string",
- "reply_level": null,
- "reply_to_user": {
- "nickname": "string",
- "user_id": "string"
}, - "root_comment_id": "string",
- "status": "CommentStatusEnum_CommentStatusEnum_Invalid",
- "text": "string",
- "thread_reply_count": null
}, - "jump_comment_id": "string",
- "target_cover": "string",
- "target_summary": "string"
}
], - "has_more": null,
- "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}// 上传发帖媒体
| client_md5 | string // 客户端文件摘要 |
| content_type | string // 原始内容类型,由 multipart 文件头回填 |
| file | string <binary> // 上传文件内容,由 multipart 解析后回填 |
| file_name | string // 原始文件名,由 multipart 文件头回填 |
| media_type | string // 媒体类型 |
| usage_scene | string // 使用场景 |
{- "client_md5": "string",
- "content_type": "string",
- "file": "string",
- "file_name": "string",
- "media_type": "string",
- "usage_scene": "string"
}{- "body": {
- "asset": {
- "asset_id": "string",
- "content_type": "string",
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "usage_scene": "string",
- "width": null
}
}, - "code": "string",
- "message": "string"
}// 获取我的活动中心
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
| tab | string Enum: "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid" "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Landing" "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Waiting" "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Applying" "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Watching" "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Finished" // tab |
{- "cursor": "string",
- "limit": null,
- "tab": "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid"
}{- "body": {
- "dashboard": {
- "cards": [
- {
- "application_status": "CompanionApplicationStatusEnum_CompanionApplicationStatusEnum_Invalid",
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "can_manage_members": null,
- "dashboard_tab": "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid",
- "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "group_chat_url": "string",
- "latest_action_time": null,
- "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid",
- "post_id": "string",
- "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "review_label": "CompanionParticipationReviewLabelEnum_CompanionParticipationReviewLabelEnum_Invalid",
- "share_path": "string",
- "start_time": null,
- "title": "string",
- "viewer_role": "CompanionParticipationRoleEnum_CompanionParticipationRoleEnum_Invalid"
}
], - "empty_tip": "string",
- "has_more": null,
- "next_cursor": "string",
- "selected_tab": "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid",
- "tabs": [
- {
- "count": null,
- "selected": null,
- "tab": "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid"
}
]
}
}, - "code": "string",
- "message": "string"
}// 获取我的参与列表
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
| status | string Enum: "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Watching" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Applying" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Rejected" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_ReadyToStart" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_InProgress" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_PendingReview" "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Finished" // 状态过滤 |
{- "cursor": "string",
- "limit": null,
- "status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid"
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "participations": [
- {
- "application_status": "CompanionApplicationStatusEnum_CompanionApplicationStatusEnum_Invalid",
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "can_manage_members": null,
- "dashboard_tab": "CompanionDashboardTabEnum_CompanionDashboardTabEnum_Invalid",
- "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "group_chat_url": "string",
- "latest_action_time": null,
- "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid",
- "post_id": "string",
- "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "review_label": "CompanionParticipationReviewLabelEnum_CompanionParticipationReviewLabelEnum_Invalid",
- "share_path": "string",
- "start_time": null,
- "title": "string",
- "viewer_role": "CompanionParticipationRoleEnum_CompanionParticipationRoleEnum_Invalid"
}
]
}, - "code": "string",
- "message": "string"
}// 获取可评价活动列表
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
{- "cursor": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "reviews": [
- {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "can_edit": null,
- "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "organizer_feedback_done": null,
- "post_feedback_done": null,
- "post_id": "string",
- "start_time": null,
- "title": "string",
- "window_close_time": null
}
]
}, - "code": "string",
- "message": "string"
}// 获取招募帖子列表
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
| location | string // 地点过滤 |
| recruit_status | string Enum: "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid" "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Recruiting" "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_RecruitCompleted" "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Closed" // 招募状态过滤 |
| tags | Array of strings // 标签过滤 |
object (locus.models.params.common.companion.CompanionTimeRange) |
{- "cursor": "string",
- "limit": null,
- "location": "string",
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "tags": [
- "string"
], - "time_range": {
- "end_time": null,
- "start_time": null
}
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "posts": [
- {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_apply": null,
- "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "member_previews": [
- {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}
], - "post_id": "string",
- "publish_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "publish_time": null,
- "recommend_trace": {
- "activity_level": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "experiment": "string",
- "experiment_id": "string",
- "fallback_mode": "string",
- "fallback_reason": "string",
- "profile_ready": null,
- "rank_position": null,
- "request_id": "string",
- "request_time": null,
- "scene": "string",
- "stats_ready": null,
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}, - "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "show_apply_button": null,
- "start_time": null,
- "summary": "string",
- "tags": [
- {
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "title": "string",
- "view_count": null
}
]
}, - "code": "string",
- "message": "string"
}// 创建招募帖子
| idempotency_token | string // 幂等 token |
object (locus.models.params.common.companion.CompanionPostComposerPayload) |
{- "idempotency_token": "string",
- "payload": {
- "background": "string",
- "content_blocks": [
- {
- "block_type": "string",
- "image_block": {
- "caption": "string",
- "image": "string"
}, - "sort_no": null,
- "text_block": {
- "text": "string"
}, - "trip_plan_block": {
- "departure": "string",
- "destination": "string",
- "end_time": null,
- "note": "string",
- "start_time": null
}
}
], - "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "group_chat_url": "string",
- "publish_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "recruit_rule": {
- "cert_tag_limit": "string",
- "ext_limit": "string",
- "gender_limit": "string",
- "max_age": null,
- "min_age": null,
- "region_limit": "string"
}, - "recruit_total_count": null,
- "review_window_days": null,
- "start_time": null,
- "summary": "string",
- "tag_ids": [
- "string"
], - "title": "string"
}
}{- "body": {
- "post_id": "string",
- "publish_time": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 获取帖子详情
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "post": {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "content_blocks": [
- {
- "block_id": "string",
- "block_type": "CompanionContentBlockTypeEnum_CompanionContentBlockTypeEnum_Invalid",
- "image_block": {
- "caption": "string",
- "image": "string"
}, - "sort_no": null,
- "text_block": {
- "text": "string"
}, - "trip_plan_block": {
- "departure": "string",
- "destination": "string",
- "end_time": null,
- "note": "string",
- "start_time": null
}
}
], - "interaction": {
- "comment_count": null,
- "favorite_count": null,
- "like_count": null,
- "view_count": null
}, - "post_id": "string",
- "publish_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "publish_time": null,
- "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "summary": "string",
- "title": "string",
- "viewer_states": {
- "can_apply": null,
- "favorited": null,
- "followed_author": null,
- "has_applied": null,
- "has_joined": null,
- "is_author": null,
- "liked": null
}
}
}, - "code": "string",
- "message": "string"
}// 编辑招募帖子
object (locus.models.params.common.companion.CompanionPostComposerPayload) | |
| post_id required | string // 帖子ID |
{- "payload": {
- "background": "string",
- "content_blocks": [
- {
- "block_type": "string",
- "image_block": {
- "caption": "string",
- "image": "string"
}, - "sort_no": null,
- "text_block": {
- "text": "string"
}, - "trip_plan_block": {
- "departure": "string",
- "destination": "string",
- "end_time": null,
- "note": "string",
- "start_time": null
}
}
], - "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "group_chat_url": "string",
- "publish_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "recruit_rule": {
- "cert_tag_limit": "string",
- "ext_limit": "string",
- "gender_limit": "string",
- "max_age": null,
- "min_age": null,
- "region_limit": "string"
}, - "recruit_total_count": null,
- "review_window_days": null,
- "start_time": null,
- "summary": "string",
- "tag_ids": [
- "string"
], - "title": "string"
}, - "post_id": "string"
}{- "body": {
- "post_id": "string",
- "updated_at": null
}, - "code": "string",
- "message": "string"
}// 获取我的申请状态
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "status": {
- "application_id": "string",
- "application_status": "CompanionApplicationStatusEnum_CompanionApplicationStatusEnum_Invalid",
- "apply_time": null,
- "can_apply": null,
- "fail_reason": "string",
- "has_applied": null,
- "has_joined": null,
- "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid",
- "post_id": "string",
- "reject_reason": "string",
- "remaining_apply_count": null,
- "review_time": null,
- "reviewer_user_id": "string",
- "used_apply_count": null
}
}, - "code": "string",
- "message": "string"
}// 申请状态变更
| action required | string Enum: "CompanionApplyActionEnum_CompanionApplyActionEnum_Invalid" "CompanionApplyActionEnum_CompanionApplyActionEnum_Apply" "CompanionApplyActionEnum_CompanionApplyActionEnum_CancelApply" "CompanionApplyActionEnum_CompanionApplyActionEnum_ApplyLeave" // 申请动作 |
| confirm_notice_read | bool // 是否确认已读平台须知 |
| post_id required | string // 帖子ID |
{- "action": "CompanionApplyActionEnum_CompanionApplyActionEnum_Invalid",
- "confirm_notice_read": null,
- "post_id": "string"
}{- "body": {
- "application_status": "CompanionApplicationStatusEnum_CompanionApplicationStatusEnum_Invalid",
- "fail_reason": "string",
- "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid",
- "remaining_apply_count": null
}, - "code": "string",
- "message": "string"
}// 招募审核
| application_id required | string // 申请ID |
| decision required | string Enum: "CompanionReviewDecisionEnum_CompanionReviewDecisionEnum_Invalid" "CompanionReviewDecisionEnum_CompanionReviewDecisionEnum_Approve" "CompanionReviewDecisionEnum_CompanionReviewDecisionEnum_Reject" // 审核结论 |
| post_id required | string // 帖子ID |
| reason | string // 审核理由 |
{- "application_id": "string",
- "decision": "CompanionReviewDecisionEnum_CompanionReviewDecisionEnum_Invalid",
- "post_id": "string",
- "reason": "string"
}{- "body": {
- "application_status": "CompanionApplicationStatusEnum_CompanionApplicationStatusEnum_Invalid",
- "applying_count": null,
- "joined_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 获取申请预览
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "preview": {
- "author_notice": "string",
- "can_apply": null,
- "fail_reason_codes": [
- "string"
], - "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "need_location_permission": null,
- "platform_notice_url": "string",
- "post_id": "string",
- "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "recruit_rule_summary": {
- "cert_tag_limit": "string",
- "gender_limit": "string",
- "max_age": null,
- "min_age": null,
- "region_limit": "string"
}, - "remaining_apply_count": null,
- "start_time": null,
- "used_apply_count": null
}
}, - "code": "string",
- "message": "string"
}// 获取评论列表
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
| post_id required | string // 帖子ID |
{- "cursor": "string",
- "limit": null,
- "post_id": "string"
}{- "body": {
- "comments": [
- {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "comment_id": "string",
- "content": "string",
- "created_at": null,
- "parent_comment_id": "string",
- "post_id": "string"
}
], - "has_more": null,
- "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}// 切换收藏
| folder_id | string // 收藏夹ID(为空时返回可选收藏夹) |
| post_id required | string // 帖子ID |
{- "folder_id": "string",
- "post_id": "string"
}{- "body": {
- "favorite_count": null,
- "favorited": null,
- "folders": [
- {
- "folder_id": "string",
- "folder_name": "string",
- "is_default": null,
- "items_count": null
}
]
}, - "code": "string",
- "message": "string"
}// 切换点赞
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "like_count": null,
- "liked": null
}, - "code": "string",
- "message": "string"
}// 获取招募队列
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "countdown_seconds": null,
- "entry_closed": null,
- "joined_members": [
- {
- "application_id": "string",
- "apply_time": null,
- "avatar": "string",
- "cert_tags": [
- "string"
], - "join_time": null,
- "leave_time": null,
- "mutual_followed": null,
- "nickname": "string",
- "real_name_verified": null,
- "user_id": "string"
}
], - "left_members": [
- {
- "application_id": "string",
- "apply_time": null,
- "avatar": "string",
- "cert_tags": [
- "string"
], - "join_time": null,
- "leave_time": null,
- "mutual_followed": null,
- "nickname": "string",
- "real_name_verified": null,
- "user_id": "string"
}
], - "pending_applications": [
- {
- "application_id": "string",
- "apply_time": null,
- "avatar": "string",
- "cert_tags": [
- "string"
], - "join_time": null,
- "leave_time": null,
- "mutual_followed": null,
- "nickname": "string",
- "real_name_verified": null,
- "user_id": "string"
}
], - "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 关闭报名入口
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "entry_closed": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 获取我的评价面板
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "panel": {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "can_edit": null,
- "end_time": null,
- "organizer_feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "organizer_rating": {
- "organizer_user_id": "string",
- "review_count": null,
- "score_average": null,
- "star_average": null,
- "tags": [
- {
- "color": "string",
- "downvote_count": null,
- "name": "string",
- "select_count": null,
- "support_score": null,
- "tag_id": "string",
- "upvote_count": null
}
]
}, - "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid",
- "post_feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "post_id": "string",
- "start_time": null,
- "title": "string",
- "window_close_time": null
}
}, - "code": "string",
- "message": "string"
}// 参与者评价组织者
| operate_type required | string Enum: "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Submit" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Revoke" // 操作类型 |
| post_id required | string // 帖子ID |
| score | int64 // 分数 |
| star_level | int64 // 星级 |
Array of objects (locus.models.params.api.companion.CompanionApiFeedbackTagActionInput) // 标签动作 |
{- "operate_type": "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid",
- "post_id": "string",
- "score": null,
- "star_level": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "tag_id": "string"
}
]
}{- "body": {
- "feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 组织者查看参与者评价列表
| post_id required | string // 帖子ID |
| scope | string Enum: "CompanionFeedbackListScopeEnum_CompanionFeedbackListScopeEnum_Invalid" "CompanionFeedbackListScopeEnum_CompanionFeedbackListScopeEnum_Open" "CompanionFeedbackListScopeEnum_CompanionFeedbackListScopeEnum_All" // 列表范围 |
{- "post_id": "string",
- "scope": "CompanionFeedbackListScopeEnum_CompanionFeedbackListScopeEnum_Invalid"
}{- "body": {
- "reviews": [
- {
- "counterparty_feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "counterparty_visible": null,
- "join_time": null,
- "leave_time": null,
- "organizer_feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "participant": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "participant_user_id": "string",
- "window_close_time": null
}
]
}, - "code": "string",
- "message": "string"
}// 组织者评价参与者
| operate_type required | string Enum: "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Submit" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Revoke" // 操作类型 |
| participant_user_id required | string // 参与者用户ID |
| post_id required | string // 帖子ID |
| star_level | int64 // 星级 |
Array of objects (locus.models.params.api.companion.CompanionApiFeedbackTagActionInput) // 标签动作 |
{- "operate_type": "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid",
- "participant_user_id": "string",
- "post_id": "string",
- "star_level": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "tag_id": "string"
}
]
}{- "body": {
- "feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}
}, - "code": "string",
- "message": "string"
}// 参与者评价活动
| operate_type required | string Enum: "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Submit" "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Revoke" // 操作类型 |
| post_id required | string // 帖子ID |
| score | int64 // 分数 |
| star_level | int64 // 星级 |
Array of objects (locus.models.params.api.companion.CompanionApiFeedbackTagActionInput) // 标签动作 |
{- "operate_type": "CompanionFeedbackOperateEnum_CompanionFeedbackOperateEnum_Invalid",
- "post_id": "string",
- "score": null,
- "star_level": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "tag_id": "string"
}
]
}{- "body": {
- "feedback": {
- "can_edit": null,
- "feedback_id": "string",
- "feedback_status": "CompanionFeedbackStatusEnum_CompanionFeedbackStatusEnum_Invalid",
- "feedback_type": "CompanionFeedbackTypeEnum_CompanionFeedbackTypeEnum_Invalid",
- "revise_count": null,
- "score": null,
- "star_level": null,
- "submitted_time": null,
- "tag_actions": [
- {
- "action_type": "CompanionTagActionTypeEnum_CompanionTagActionTypeEnum_Invalid",
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "target_user_id": "string",
- "visible_after": null,
- "visible_to_counterparty": null
}, - "participation_status": "CompanionParticipationStatusEnum_CompanionParticipationStatusEnum_Invalid"
}, - "code": "string",
- "message": "string"
}// 上传发布媒体
| client_md5 | string // 客户端文件摘要 |
| content_type | string // 原始内容类型,由 multipart 文件头回填 |
| file | string <binary> // 上传文件内容,由 multipart 解析后回填 |
| file_name | string // 原始文件名,由 multipart 文件头回填 |
| media_type | string // 媒体类型 |
{- "client_md5": "string",
- "content_type": "string",
- "file": "string",
- "file_name": "string",
- "media_type": "string"
}{- "body": {
- "asset": {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
}, - "code": "string",
- "message": "string"
}// 保存当前草稿
| base_version | int64 // 基准版本 |
object (locus.models.params.common.post.PostComposerPayload) | |
| template_type | string // 模板类型 |
{- "base_version": null,
- "payload": {
- "activity": {
- "activity_type": "string",
- "city": "string",
- "end_time": null,
- "start_time": null
}, - "content_text": "string",
- "locations": [
- {
- "address": "string",
- "latitude": null,
- "location_name": "string",
- "longitude": null
}
], - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "mentioned_user_ids": [
- "string"
], - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "visibility": "string",
- "vote": {
- "end_time": null,
- "options": [
- "string"
], - "start_time": null,
- "title": "string"
}
}, - "template_type": "string"
}{- "body": {
- "draft_id": "string",
- "draft_version": null,
- "updated_at": null
}, - "code": "string",
- "message": "string"
}// 获取当前草稿
| template_type | string // 模板类型 |
{- "template_type": "string"
}{- "body": {
- "draft": {
- "draft_id": "string",
- "draft_version": null,
- "payload": {
- "activity": {
- "activity_type": "string",
- "city": "string",
- "end_time": null,
- "start_time": null
}, - "content_text": "string",
- "locations": [
- {
- "address": "string",
- "latitude": null,
- "location_name": "string",
- "longitude": null
}
], - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "mentioned_user_ids": [
- "string"
], - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "visibility": "string",
- "vote": {
- "end_time": null,
- "options": [
- "string"
], - "start_time": null,
- "title": "string"
}
}
}, - "draft_exists": null,
- "updated_at": null
}, - "code": "string",
- "message": "string"
}// 获取 marketing 推荐 feed
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
{- "cursor": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "posts": [
- {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}, - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "post_id": "string",
- "publish_time": null,
- "recommend_trace": {
- "activity_level": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "experiment": "string",
- "experiment_id": "string",
- "fallback_mode": "string",
- "fallback_reason": "string",
- "profile_ready": null,
- "rank_position": null,
- "request_id": "string",
- "request_time": null,
- "scene": "string",
- "stats_ready": null,
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}, - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "view_count": null,
- "visibility": "string"
}
]
}, - "code": "string",
- "message": "string"
}// 发布帖子
| discard_active_draft | bool // 是否丢弃当前激活草稿 |
| draft_id | string // 草稿ID |
| idempotency_token | string // 幂等token |
object (locus.models.params.common.post.PostComposerPayload) |
{- "discard_active_draft": null,
- "draft_id": "string",
- "idempotency_token": "string",
- "payload": {
- "activity": {
- "activity_type": "string",
- "city": "string",
- "end_time": null,
- "start_time": null
}, - "content_text": "string",
- "locations": [
- {
- "address": "string",
- "latitude": null,
- "location_name": "string",
- "longitude": null
}
], - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "mentioned_user_ids": [
- "string"
], - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "visibility": "string",
- "vote": {
- "end_time": null,
- "options": [
- "string"
], - "start_time": null,
- "title": "string"
}
}
}{- "body": {
- "post_id": "string",
- "publish_status": "string",
- "publish_time": null
}, - "code": "string",
- "message": "string"
}// 获取帖子详情
| post_id required | string // 帖子ID |
| topic_id | string // 话题ID |
{- "post_id": "string",
- "topic_id": "string"
}{- "body": {
- "post": {
- "activity": {
- "activity_type": "string",
- "city": "string",
- "end_time": null,
- "start_time": null
}, - "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}, - "content_text": "string",
- "favorited": null,
- "like_count": null,
- "liked": null,
- "locations": [
- {
- "address": "string",
- "latitude": null,
- "location_name": "string",
- "longitude": null
}
], - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "mentioned_user_ids": [
- "string"
], - "post_id": "string",
- "publish_time": null,
- "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "view_count": null,
- "visibility": "string",
- "vote": {
- "end_time": null,
- "options": [
- "string"
], - "start_time": null,
- "title": "string"
}
}
}, - "code": "string",
- "message": "string"
}// 切换帖子点赞
| post_id required | string // 帖子ID |
{- "post_id": "string"
}{- "body": {
- "like_count": null,
- "liked": null
}, - "code": "string",
- "message": "string"
}// 搜索内容
| author_user_id | string |
| cursor | string |
| keyword | string |
| limit | int64 |
{- "author_user_id": "string",
- "cursor": "string",
- "keyword": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "items": [
- {
- "author_user_id": "string",
- "content_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "like_count": null,
- "title": "string",
- "update_time": null,
- "view_count": null
}
], - "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}// 获取发布模板
| template_type | string // 模板类型 |
{- "template_type": "string"
}{- "body": {
- "draft_key": "string",
- "max_draft_count_per_user": null,
- "template": {
- "activity_enabled": null,
- "content_text_required": null,
- "location_enabled": null,
- "max_media_count": null,
- "media_selector_enabled": null,
- "mention_selector_enabled": null,
- "supported_media_types": [
- "string"
], - "supported_visibilities": [
- "string"
], - "template_type": "string",
- "title_required": null,
- "topic_selector_enabled": null,
- "visibility_selector_enabled": null,
- "vote_enabled": null
}
}, - "code": "string",
- "message": "string"
}// 获取用户可见帖子列表
| cursor | string // 分页游标 |
| limit | int64 // 分页大小 |
| topic_id | string // 话题ID |
| user_id required | string // 用户ID |
| visibility | string // 可见性 |
{- "cursor": "string",
- "limit": null,
- "topic_id": "string",
- "user_id": "string",
- "visibility": "string"
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "posts": [
- {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}, - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "post_id": "string",
- "publish_time": null,
- "recommend_trace": {
- "activity_level": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "experiment": "string",
- "experiment_id": "string",
- "fallback_mode": "string",
- "fallback_reason": "string",
- "profile_ready": null,
- "rank_position": null,
- "request_id": "string",
- "request_time": null,
- "scene": "string",
- "stats_ready": null,
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}, - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "view_count": null,
- "visibility": "string"
}
]
}, - "code": "string",
- "message": "string"
}Array of objects (locus.models.domain.recommend.RecommendEvent) |
{- "events": [
- {
- "action_type": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "event_time": null,
- "experiment": "string",
- "experiment_id": "string",
- "rank_position": null,
- "request_id": "string",
- "scene": "string",
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}
]
}{- "body": {
- "accepted_count": null
}, - "code": "string",
- "message": "string"
}// 取关用户
| unfollow_id | string // 取关id |
| user_id | string // 用户ID |
{- "unfollow_id": "string",
- "user_id": "string"
}{- "body": { },
- "code": "string",
- "message": "string"
}{- "code": "string"
}{- "body": {
- "authorization": "string",
- "is_new_user": null,
- "user_id": "string"
}, - "code": "string",
- "message": "string"
}// 获取收藏夹
{ }{- "body": {
- "folders": [
- {
- "folder_id": "string",
- "folder_name": "string",
- "is_default": null,
- "items_count": null
}
]
}, - "code": "string",
- "message": "string"
}{- "folder_name": "string"
}{- "body": {
- "folder": {
- "folder_id": "string",
- "folder_name": "string",
- "is_default": null,
- "items_count": null
}
}, - "code": "string",
- "message": "string"
}// 获取收藏夹条目列表
| cursor | string |
| folder_id | string |
| limit | int64 |
{- "cursor": "string",
- "folder_id": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "items": [
- {
- "entered_at": null,
- "folder_id": "string",
- "target_id": "string",
- "target_summary": {
- "author_user_id": "string",
- "cover_url": "string",
- "publish_time": null,
- "summary": "string",
- "target_id": "string",
- "target_type": "string",
- "title": "string"
}, - "target_type": "string"
}
], - "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}// 重命名收藏夹
| folder_id | string |
| folder_name | string |
{- "folder_id": "string",
- "folder_name": "string"
}{- "body": {
- "folder": {
- "folder_id": "string",
- "folder_name": "string",
- "is_default": null,
- "items_count": null
}
}, - "code": "string",
- "message": "string"
}// 收藏内容或活动
| folder_id | string |
| target_id | string |
| target_type | string |
{- "folder_id": "string",
- "target_id": "string",
- "target_type": "string"
}{- "body": {
- "current_folder_id": "string",
- "current_folder_name": "string",
- "favorited": null,
- "folder_id": "string"
}, - "code": "string",
- "message": "string"
}// 删除收藏条目
| folder_id | string |
| target_id | string |
| target_type | string |
{- "folder_id": "string",
- "target_id": "string",
- "target_type": "string"
}{- "body": {
- "favorited": null,
- "folder_id": "string"
}, - "code": "string",
- "message": "string"
}// 移动收藏条目
| source_folder_id | string |
| target_folder_id | string |
| target_id | string |
| target_type | string |
{- "source_folder_id": "string",
- "target_folder_id": "string",
- "target_id": "string",
- "target_type": "string"
}{- "body": {
- "entered_at": null,
- "favorited": null,
- "source_folder_id": "string",
- "target_folder_id": "string"
}, - "code": "string",
- "message": "string"
}// 获取互关用户列表
| cursor | string |
| keyword | string |
| limit | int64 |
{- "cursor": "string",
- "keyword": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "next_cursor": "string",
- "users": [
- {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string",
- "user_short_id": "string"
}
]
}, - "code": "string",
- "message": "string"
}// 获取关注时间线
| cursor | string |
| limit | int64 |
{- "cursor": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "items": [
- {
- "author_user_id": "string",
- "companion_post_card": {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "can_apply": null,
- "end_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "member_previews": [
- {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}
], - "post_id": "string",
- "publish_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "publish_time": null,
- "recommend_trace": {
- "activity_level": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "experiment": "string",
- "experiment_id": "string",
- "fallback_mode": "string",
- "fallback_reason": "string",
- "profile_ready": null,
- "rank_position": null,
- "request_id": "string",
- "request_time": null,
- "scene": "string",
- "stats_ready": null,
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}, - "recruit_progress": {
- "applying_count": null,
- "joined_count": null,
- "lacking_count": null,
- "recruit_status": "CompanionRecruitStatusEnum_CompanionRecruitStatusEnum_Invalid",
- "recruit_total_count": null,
- "show_progress": null
}, - "show_apply_button": null,
- "start_time": null,
- "summary": "string",
- "tags": [
- {
- "color": "string",
- "name": "string",
- "tag_id": "string"
}
], - "title": "string",
- "view_count": null
}, - "content_id": "string",
- "content_type": "string",
- "post_card": {
- "author": {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}, - "media_assets": [
- {
- "asset_id": "string",
- "content_type": "string",
- "cover_url": "string",
- "duration_mills": null,
- "file_size": null,
- "height": null,
- "media_type": "string",
- "url": "string",
- "width": null
}
], - "post_id": "string",
- "publish_time": null,
- "recommend_trace": {
- "activity_level": "string",
- "client_request_id": "string",
- "content_id": "string",
- "content_type": "string",
- "entry_name": "string",
- "experiment": "string",
- "experiment_id": "string",
- "fallback_mode": "string",
- "fallback_reason": "string",
- "profile_ready": null,
- "rank_position": null,
- "request_id": "string",
- "request_time": null,
- "scene": "string",
- "stats_ready": null,
- "strategy_version": "string",
- "trace_source": "string",
- "user_id": "string"
}, - "summary": "string",
- "template_type": "string",
- "title": "string",
- "topic_ids": [
- "string"
], - "view_count": null,
- "visibility": "string"
}, - "publish_time": null
}
], - "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}{- "user_id": "string"
}{- "body": {
- "avatar": "string",
- "desc": "string",
- "gender": "string",
- "location": "string",
- "nickname": "string"
}, - "code": "string",
- "message": "string"
}// 创建用户
| avatar | string // 头像 |
| birth_time | string // 生日 |
| create_by | string Enum: "UserCreateMethodEnum_UserCreateMethodEnum_Invalid" "UserCreateMethodEnum_UserCreateMethodEnum_ByPhone" "UserCreateMethodEnum_UserCreateMethodEnum_ByWechat" // 创建场景 |
| gender | string // 性别 |
| location | string // 所在城市 |
| passport | string // 验证码 |
object (locus.models.params.common.users.CreateUserScene) | |
| ticket | string // 创建凭证,手机号或者微信openid |
{- "avatar": "string",
- "birth_time": "string",
- "create_by": "UserCreateMethodEnum_UserCreateMethodEnum_Invalid",
- "gender": "string",
- "location": "string",
- "passport": "string",
- "scene": {
- "device": {
- "device_id": "string"
}, - "source": {
- "wechat_app_id": "string",
- "wechat_open_id": "string"
}, - "user_ip": "127.0.0.1"
}, - "ticket": "string"
}{- "body": {
- "redirect_url": "string",
- "user_id": "string"
}, - "code": "string",
- "message": "string"
}// 用户编辑
| avatar | string // 头像 |
| desc | string // 个性签名 |
| gender | string Enum: "UserGenderEnum_UserGenderEnum_Invalid" "UserGenderEnum_UserGenderEnum_Male" "UserGenderEnum_UserGenderEnum_Female" // 性别 |
| location | string // 所在城市 |
| nickname required | string // 昵称 |
{- "avatar": "string",
- "desc": "string",
- "gender": "UserGenderEnum_UserGenderEnum_Invalid",
- "location": "string",
- "nickname": "string"
}{- "body": {
- "avatar": "string",
- "desc": "string",
- "gender": "UserGenderEnum_UserGenderEnum_Invalid",
- "location": "string",
- "nickname": "string",
- "user_id": "string"
}, - "code": "string",
- "message": "string"
}// 获取搭子足迹列表
| cursor | string |
| limit | int64 |
| user_id | string |
{- "cursor": "string",
- "limit": null,
- "user_id": "string"
}{- "body": {
- "has_more": null,
- "items": [
- {
- "author": {
- "avatar": "string",
- "cert_tags": [
- "string"
], - "nickname": "string",
- "real_name_verified": null,
- "user_id": "string",
- "user_ip_location": "string"
}, - "background": "string",
- "complete_time": null,
- "end_time": null,
- "footprint_id": "string",
- "footprint_time": null,
- "gather_location": {
- "city": "string",
- "country": "string",
- "district": "string"
}, - "post_id": "string",
- "role": "string",
- "start_time": null,
- "title": "string"
}
], - "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}{- "user_id": "string"
}{- "body": {
- "achieve_info": {
- "fans_count": "string",
- "follow_count": "string",
- "trips_count": "string"
}, - "avatar": "string",
- "companion_footprint_visible": null,
- "functions": {
- "block": {
- "name": "string",
- "sub_page_link": "string",
- "tags": [
- {
- "icon": "string",
- "link": "string",
- "link_type": "string",
- "name": "string"
}
]
}, - "prefer": {
- "name": "string",
- "sub_page_link": "string",
- "tags": [
- {
- "icon": "string",
- "link": "string",
- "link_type": "string",
- "name": "string"
}
]
}, - "trip": {
- "name": "string",
- "sub_page_link": "string",
- "tags": [
- {
- "icon": "string",
- "link": "string",
- "link_type": "string",
- "name": "string"
}
]
}
}, - "show_info": {
- "background": "string"
}, - "user_id": "string",
- "user_short_id": "string"
}, - "code": "string",
- "message": "string"
}{- "limit": null
}{- "body": {
- "items": [
- {
- "avatar": "string",
- "medal_icon": "string",
- "medal_name": "string",
- "user_id": "string",
- "user_name": "string"
}
]
}, - "code": "string",
- "message": "string"
}// 搜索用户
| cursor | string |
| keyword | string |
| limit | int64 |
{- "cursor": "string",
- "keyword": "string",
- "limit": null
}{- "body": {
- "has_more": null,
- "items": [
- {
- "avatar": "string",
- "nickname": "string",
- "user_id": "string"
}
], - "next_cursor": "string"
}, - "code": "string",
- "message": "string"
}// 主页共同心动目的地提醒
| target_user_id | string |
{- "target_user_id": "string"
}{- "body": {
- "shared_prefers": [
- {
- "tag_id": null,
- "tag_name": "string"
}
]
}, - "code": "string",
- "message": "string"
}{- "userId": "string"
}{- "body": {
- "chosen": [
- "string"
], - "tags": [
- {
- "children": [
- null
], - "chosen": null,
- "id": null,
- "name": "string"
}
]
}, - "code": "string",
- "message": "string"
}// 设置去哪儿的信息
| name | Array of strings |
| userId | string |
{- "name": [
- "string"
], - "userId": "string"
}{- "body": { },
- "code": "string",
- "message": "string"
}