Skip to content

Latest commit

 

History

History
1266 lines (716 loc) · 63.6 KB

Lemon8AppAPIApi.md

File metadata and controls

1266 lines (716 loc) · 63.6 KB

\Lemon8AppAPIApi

All URIs are relative to http://localhost

Method HTTP request Description
FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet Get /api/v1/lemon8/app/fetch_discover_banners 获取发现页Banner/Get banners of discover page
FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet_0 Get /api/v1/lemon8/app/fetch_discover_banners 获取发现页Banner/Get banners of discover page
FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet Get /api/v1/lemon8/app/fetch_discover_tab 获取发现页主体内容/Get main content of discover page
FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet_0 Get /api/v1/lemon8/app/fetch_discover_tab 获取发现页主体内容/Get main content of discover page
FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet Get /api/v1/lemon8/app/fetch_discover_tab_information_tabs 获取发现页的 Editor's Picks/Get Editor's Picks of discover page
FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet_0 Get /api/v1/lemon8/app/fetch_discover_tab_information_tabs 获取发现页的 Editor's Picks/Get Editor's Picks of discover page
FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet Get /api/v1/lemon8/app/fetch_hot_search_keywords 获取热搜关键词/Get hot search keywords
FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet_0 Get /api/v1/lemon8/app/fetch_hot_search_keywords 获取热搜关键词/Get hot search keywords
FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet Get /api/v1/lemon8/app/fetch_post_comment_list 获取指定作品的评论列表/Get comments list of specified post
FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet_0 Get /api/v1/lemon8/app/fetch_post_comment_list 获取指定作品的评论列表/Get comments list of specified post
FetchPostDetailApiV1Lemon8AppFetchPostDetailGet Get /api/v1/lemon8/app/fetch_post_detail 获取指定作品的信息/Get information of specified post
FetchPostDetailApiV1Lemon8AppFetchPostDetailGet_0 Get /api/v1/lemon8/app/fetch_post_detail 获取指定作品的信息/Get information of specified post
FetchSearchApiV1Lemon8AppFetchSearchGet Get /api/v1/lemon8/app/fetch_search 搜索接口/Search API
FetchSearchApiV1Lemon8AppFetchSearchGet_0 Get /api/v1/lemon8/app/fetch_search 搜索接口/Search API
FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet Get /api/v1/lemon8/app/fetch_topic_info 获取话题信息/Get topic information
FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet_0 Get /api/v1/lemon8/app/fetch_topic_info 获取话题信息/Get topic information
FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet Get /api/v1/lemon8/app/fetch_topic_post_list 获取话题作品列表/Get topic post list
FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet_0 Get /api/v1/lemon8/app/fetch_topic_post_list 获取话题作品列表/Get topic post list
FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet Get /api/v1/lemon8/app/fetch_user_follower_list 获取指定用户的粉丝列表/Get fans list of specified user
FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet_0 Get /api/v1/lemon8/app/fetch_user_follower_list 获取指定用户的粉丝列表/Get fans list of specified user
FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet Get /api/v1/lemon8/app/fetch_user_following_list 获取指定用户的关注列表/Get following list of specified user
FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet_0 Get /api/v1/lemon8/app/fetch_user_following_list 获取指定用户的关注列表/Get following list of specified user
GetItemIdApiV1Lemon8AppGetItemIdGet Get /api/v1/lemon8/app/get_item_id 通过分享链接获取作品ID/Get post ID through sharing link
GetItemIdApiV1Lemon8AppGetItemIdGet_0 Get /api/v1/lemon8/app/get_item_id 通过分享链接获取作品ID/Get post ID through sharing link
GetItemIdsApiV1Lemon8AppGetItemIdsPost Post /api/v1/lemon8/app/get_item_ids 通过分享链接批量获取作品ID/Get post IDs in batch through sharing links
GetItemIdsApiV1Lemon8AppGetItemIdsPost_0 Post /api/v1/lemon8/app/get_item_ids 通过分享链接批量获取作品ID/Get post IDs in batch through sharing links
GetUserIdApiV1Lemon8AppGetUserIdGet Get /api/v1/lemon8/app/get_user_id 通过分享链接获取用户ID/Get user ID through sharing link
GetUserIdApiV1Lemon8AppGetUserIdGet_0 Get /api/v1/lemon8/app/get_user_id 通过分享链接获取用户ID/Get user ID through sharing link
GetUserIdsApiV1Lemon8AppGetUserIdsPost Post /api/v1/lemon8/app/get_user_ids 通过分享链接批量获取用户ID/Get user IDs in batch through sharing links
GetUserIdsApiV1Lemon8AppGetUserIdsPost_0 Post /api/v1/lemon8/app/get_user_ids 通过分享链接批量获取用户ID/Get user IDs in batch through sharing links
HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet Get /api/v1/lemon8/app/fetch_user_profile 获取指定用户的信息/Get information of specified user
HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet_0 Get /api/v1/lemon8/app/fetch_user_profile 获取指定用户的信息/Get information of specified user

FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet

ResponseModel FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet(ctx, )

获取发现页Banner/Get banners of discover page

[中文] ### 用途: - 获取发现页Banner(搜索页上方的滚动内容) ### 返回: - Banner列表 # [English] ### Purpose: - Get banners of discover page ### Return: - Banners list # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet_0

ResponseModel FetchDiscoverBannersApiV1Lemon8AppFetchDiscoverBannersGet_0(ctx, )

获取发现页Banner/Get banners of discover page

[中文] ### 用途: - 获取发现页Banner(搜索页上方的滚动内容) ### 返回: - Banner列表 # [English] ### Purpose: - Get banners of discover page ### Return: - Banners list # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet

ResponseModel FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet(ctx, )

获取发现页主体内容/Get main content of discover page

[中文] ### 用途: - 获取发现页(搜索页主体内容) ### 返回: - 主体内容 # [English] ### Purpose: - Get main content of discover page ### Return: - Main content # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet_0

ResponseModel FetchDiscoverTabApiV1Lemon8AppFetchDiscoverTabGet_0(ctx, )

获取发现页主体内容/Get main content of discover page

[中文] ### 用途: - 获取发现页(搜索页主体内容) ### 返回: - 主体内容 # [English] ### Purpose: - Get main content of discover page ### Return: - Main content # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet

ResponseModel FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet(ctx, )

获取发现页的 Editor's Picks/Get Editor's Picks of discover page

[中文] ### 用途: - 获取发现页(搜索页下方的推荐内容 - Editor's Picks) ### 返回: - 推荐内容 # [English] ### Purpose: - Get Editor's Picks of discover page ### Return: - Editor's Picks # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet_0

ResponseModel FetchDiscoverTabInformationTabsApiV1Lemon8AppFetchDiscoverTabInformationTabsGet_0(ctx, )

获取发现页的 Editor's Picks/Get Editor's Picks of discover page

[中文] ### 用途: - 获取发现页(搜索页下方的推荐内容 - Editor's Picks) ### 返回: - 推荐内容 # [English] ### Purpose: - Get Editor's Picks of discover page ### Return: - Editor's Picks # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet

ResponseModel FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet(ctx, )

获取热搜关键词/Get hot search keywords

[中文] ### 用途: - 获取热搜关键词 ### 返回: - 热搜关键词列表 # [English] ### Purpose: - Get hot search keywords ### Return: - Hot search keywords list # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet_0

ResponseModel FetchHotSearchKeywordsApiV1Lemon8AppFetchHotSearchKeywordsGet_0(ctx, )

获取热搜关键词/Get hot search keywords

[中文] ### 用途: - 获取热搜关键词 ### 返回: - 热搜关键词列表 # [English] ### Purpose: - Get hot search keywords ### Return: - Hot search keywords list # [示例/Example]

Required Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet

ResponseModel FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet(ctx, groupId, itemId, mediaId, optional)

获取指定作品的评论列表/Get comments list of specified post

[中文] ### 用途: - 获取指定作品的评论列表 ### 参数: - group_id: 作品的group_id,可以从接口/lemon8/app/fetch_post_detail获取 - item_id: 作品的item_id,可以从接口/lemon8/app/fetch_post_detail/lemon8/app/get_item_id获取 - media_id: 作品的media_id,可以从接口/lemon8/app/fetch_post_detail获取 - offset: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的offset进行翻页。 ### 返回: - 评论列表 # [English] ### Purpose: - Get comments list of specified post ### Parameters: - group_id: Post's group_id, can be obtained from the interface /lemon8/app/fetch_post_detail - item_id: Post's item_id, can be obtained from the interface /lemon8/app/fetch_post_detail or /lemon8/app/get_item_id - media_id: Post's media_id, can be obtained from the interface /lemon8/app/fetch_post_detail - offset: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the offset returned by the last request is used for subsequent requests. ### Return: - Comments list # [示例/Example] group_id = "7361926875709129222" item_id = "7361926875709129222" media_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
groupId string 作品的group_id/Post's group_id
itemId string 作品的item_id/Post's item_id
mediaId string 作品的media_id/Post's media_id
optional *FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGetOpts struct

Name Type Description Notes

offset | optional.String| 翻页参数/Pagination parameter | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet_0

ResponseModel FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet_0(ctx, groupId, itemId, mediaId, optional)

获取指定作品的评论列表/Get comments list of specified post

[中文] ### 用途: - 获取指定作品的评论列表 ### 参数: - group_id: 作品的group_id,可以从接口/lemon8/app/fetch_post_detail获取 - item_id: 作品的item_id,可以从接口/lemon8/app/fetch_post_detail/lemon8/app/get_item_id获取 - media_id: 作品的media_id,可以从接口/lemon8/app/fetch_post_detail获取 - offset: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的offset进行翻页。 ### 返回: - 评论列表 # [English] ### Purpose: - Get comments list of specified post ### Parameters: - group_id: Post's group_id, can be obtained from the interface /lemon8/app/fetch_post_detail - item_id: Post's item_id, can be obtained from the interface /lemon8/app/fetch_post_detail or /lemon8/app/get_item_id - media_id: Post's media_id, can be obtained from the interface /lemon8/app/fetch_post_detail - offset: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the offset returned by the last request is used for subsequent requests. ### Return: - Comments list # [示例/Example] group_id = "7361926875709129222" item_id = "7361926875709129222" media_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
groupId string 作品的group_id/Post's group_id
itemId string 作品的item_id/Post's item_id
mediaId string 作品的media_id/Post's media_id
optional *FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet_5Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchPostCommentListApiV1Lemon8AppFetchPostCommentListGet_5Opts struct

Name Type Description Notes

offset | optional.String| 翻页参数/Pagination parameter | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostDetailApiV1Lemon8AppFetchPostDetailGet

ResponseModel FetchPostDetailApiV1Lemon8AppFetchPostDetailGet(ctx, itemId)

获取指定作品的信息/Get information of specified post

[中文] ### 用途: - 获取指定作品的信息 ### 参数: - item_id: 作品ID,可以从接口/lemon8/app/get_item_id获取 ### 返回: - 作品信息 # [English] ### Purpose: - Get information of specified post ### Parameters: - item_id: Post ID, can be obtained from the interface /lemon8/app/get_item_id ### Return: - Post information # [示例/Example] item_id = "7361926875709129222"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品ID/Post ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchPostDetailApiV1Lemon8AppFetchPostDetailGet_0

ResponseModel FetchPostDetailApiV1Lemon8AppFetchPostDetailGet_0(ctx, itemId)

获取指定作品的信息/Get information of specified post

[中文] ### 用途: - 获取指定作品的信息 ### 参数: - item_id: 作品ID,可以从接口/lemon8/app/get_item_id获取 ### 返回: - 作品信息 # [English] ### Purpose: - Get information of specified post ### Parameters: - item_id: Post ID, can be obtained from the interface /lemon8/app/get_item_id ### Return: - Post information # [示例/Example] item_id = "7361926875709129222"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
itemId string 作品ID/Post ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchApiV1Lemon8AppFetchSearchGet

ResponseModel FetchSearchApiV1Lemon8AppFetchSearchGet(ctx, query, optional)

搜索接口/Search API

[中文] ### 用途: - 搜索接口 ### 参数: - query: 搜索关键词 - max_cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的max_cursor进行翻页,可以通过返回结果的has_more字段判断是否还有更多数据。 - filter_type: 搜索过滤类型,默认为空字符串,可选值如下: - 空字符串:All(全部,默认使用此参数搜索) - video:只搜索视频作品 - posts:只搜索文章作品 - order_by: 搜索排序方式,默认为空字符串,可选值如下: - 空字符串:Relevance(相关度,默认使用此参数排序) - popular:流行度排序 - recent:从新到旧排序 - search_tab: 搜索类型,默认为main,可选值如下: - main:APP中显示为 Top(综合搜索,默认使用此参数搜索) - user:APP中显示为 Accounts (搜索用户账号) - hashtag:APP中显示为 Hashtags(搜索话题) - article:APP中显示为 Posts(搜索文章) ### 返回: - 搜索结果 # [English] ### Purpose: - Search API ### Parameters: - query: Search keyword - max_cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_cursor returned by the last request is used for subsequent requests. You can judge whether there is more data by the has_more field in the return result. - filter_type: Search filter type, default is an empty string, optional values are as follows: - Empty string: All (default using this parameter to search) - video: Search only video - posts: Search only posts - order_by: Search sort type, default is an empty string, optional values are as follows: - Empty string: Relevance (default using this parameter to sort) - popular: Sort by popularity - recent: Sort from new to old - search_tab: Search type, default is main, optional values are as follows: - main: Display as Top in the APP (comprehensive search, default using this parameter to search) - user: Display as Accounts in the APP (search user accounts) - hashtag: Display as Hashtags in the APP (search hashtags) - article: Display as Posts in the APP (search articles) ### Return: - Search results # [示例/Example] query = "lemon8" max_cursor = "" filter_type = "" order_by = "" search_tab = "main"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
query string 搜索关键词/Search keyword
optional *FetchSearchApiV1Lemon8AppFetchSearchGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchApiV1Lemon8AppFetchSearchGetOpts struct

Name Type Description Notes

maxCursor | optional.String| 翻页参数/Pagination parameter | [default to ] filterType | optional.String| 搜索过滤类型/Search filter type | [default to ] orderBy | optional.String| 搜索排序方式/Search sort type | [default to ] searchTab | optional.String| 搜索类型/Search type | [default to main]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchSearchApiV1Lemon8AppFetchSearchGet_0

ResponseModel FetchSearchApiV1Lemon8AppFetchSearchGet_0(ctx, query, optional)

搜索接口/Search API

[中文] ### 用途: - 搜索接口 ### 参数: - query: 搜索关键词 - max_cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的max_cursor进行翻页,可以通过返回结果的has_more字段判断是否还有更多数据。 - filter_type: 搜索过滤类型,默认为空字符串,可选值如下: - 空字符串:All(全部,默认使用此参数搜索) - video:只搜索视频作品 - posts:只搜索文章作品 - order_by: 搜索排序方式,默认为空字符串,可选值如下: - 空字符串:Relevance(相关度,默认使用此参数排序) - popular:流行度排序 - recent:从新到旧排序 - search_tab: 搜索类型,默认为main,可选值如下: - main:APP中显示为 Top(综合搜索,默认使用此参数搜索) - user:APP中显示为 Accounts (搜索用户账号) - hashtag:APP中显示为 Hashtags(搜索话题) - article:APP中显示为 Posts(搜索文章) ### 返回: - 搜索结果 # [English] ### Purpose: - Search API ### Parameters: - query: Search keyword - max_cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_cursor returned by the last request is used for subsequent requests. You can judge whether there is more data by the has_more field in the return result. - filter_type: Search filter type, default is an empty string, optional values are as follows: - Empty string: All (default using this parameter to search) - video: Search only video - posts: Search only posts - order_by: Search sort type, default is an empty string, optional values are as follows: - Empty string: Relevance (default using this parameter to sort) - popular: Sort by popularity - recent: Sort from new to old - search_tab: Search type, default is main, optional values are as follows: - main: Display as Top in the APP (comprehensive search, default using this parameter to search) - user: Display as Accounts in the APP (search user accounts) - hashtag: Display as Hashtags in the APP (search hashtags) - article: Display as Posts in the APP (search articles) ### Return: - Search results # [示例/Example] query = "lemon8" max_cursor = "" filter_type = "" order_by = "" search_tab = "main"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
query string 搜索关键词/Search keyword
optional *FetchSearchApiV1Lemon8AppFetchSearchGet_7Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchSearchApiV1Lemon8AppFetchSearchGet_7Opts struct

Name Type Description Notes

maxCursor | optional.String| 翻页参数/Pagination parameter | [default to ] filterType | optional.String| 搜索过滤类型/Search filter type | [default to ] orderBy | optional.String| 搜索排序方式/Search sort type | [default to ] searchTab | optional.String| 搜索类型/Search type | [default to main]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet

ResponseModel FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet(ctx, forumId)

获取话题信息/Get topic information

[中文] ### 用途: - 获取话题信息 ### 参数: - forum_id: 话题ID,可以从下面的接口获取 - 获取指定作品的信息:/lemon8/app/fetch_post_detail - 获取发现页的 Editor's Picks:/lemon8/app/fetch_discover_tab_information_tabs - 通过接口搜索 Hashtag:/lemon8/app/fetch_search?search_tab=hashtag&keyword=lemon8 ### 返回: - 话题信息 # [English] ### Purpose: - Get topic information ### Parameters: - forum_id: Topic ID, can be obtained from the following interfaces - Get information of specified post: /lemon8/app/fetch_post_detail - Get Editor's Picks of discover page: /lemon8/app/fetch_discover_tab_information_tabs - Search Hashtag through interface: /lemon8/app/fetch_search?search_tab=hashtag&keyword=lemon8 ### Return: - Topic information # [示例/Example] forum_id = "7174447913778593798"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
forumId string 话题ID/Topic ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet_0

ResponseModel FetchTopicInfoApiV1Lemon8AppFetchTopicInfoGet_0(ctx, forumId)

获取话题信息/Get topic information

[中文] ### 用途: - 获取话题信息 ### 参数: - forum_id: 话题ID,可以从下面的接口获取 - 获取指定作品的信息:/lemon8/app/fetch_post_detail - 获取发现页的 Editor's Picks:/lemon8/app/fetch_discover_tab_information_tabs - 通过接口搜索 Hashtag:/lemon8/app/fetch_search?search_tab=hashtag&keyword=lemon8 ### 返回: - 话题信息 # [English] ### Purpose: - Get topic information ### Parameters: - forum_id: Topic ID, can be obtained from the following interfaces - Get information of specified post: /lemon8/app/fetch_post_detail - Get Editor's Picks of discover page: /lemon8/app/fetch_discover_tab_information_tabs - Search Hashtag through interface: /lemon8/app/fetch_search?search_tab=hashtag&keyword=lemon8 ### Return: - Topic information # [示例/Example] forum_id = "7174447913778593798"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
forumId string 话题ID/Topic ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet

ResponseModel FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet(ctx, category, categoryParameter, hashtagName, optional)

获取话题作品列表/Get topic post list

[中文] ### 用途: - 获取话题作品列表 ### 参数: - category: 话题分类 ID,可以从接口/lemon8/app/fetch_topic_info获取 - max_behot_time: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的max_behot_time进行翻页。 - category_parameter: 分类参数ID,可以从接口/lemon8/app/fetch_topic_info获取 - hashtag_name: Hashtag名称,可以从接口/lemon8/app/fetch_topic_info获取 - sort_type: 排序方式,0为默认排序,当前只支持使用默认排序,请不要传入其他值。 ### 返回: - 作品列表 # [English] ### Purpose: - Get topic post list ### Parameters: - category: Topic category ID, can be obtained from the interface /lemon8/app/fetch_topic_info - max_behot_time: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_behot_time returned by the last request is used for subsequent requests. - category_parameter: Category parameter ID, can be obtained from the interface /lemon8/app/fetch_topic_info - hashtag_name: Hashtag name, can be obtained from the interface /lemon8/app/fetch_topic_info - sort_type: Sort type, 0 for default sort, currently only support default sort, please do not pass other values. ### Return: - Post list # [示例/Example] category = "590" max_behot_time = "" category_parameter = "7174447913778593798" hashtag_name = "lemon8christmas" sort_type = "0"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
category string 话题分类 ID/Topic category ID
categoryParameter string 分类参数/Category parameter
hashtagName string Hashtag名称/Hashtag name
optional *FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGetOpts struct

Name Type Description Notes

maxBehotTime | optional.String| 翻页参数/Pagination parameter | [default to ] sortType | optional.String| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet_0

ResponseModel FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet_0(ctx, category, categoryParameter, hashtagName, optional)

获取话题作品列表/Get topic post list

[中文] ### 用途: - 获取话题作品列表 ### 参数: - category: 话题分类 ID,可以从接口/lemon8/app/fetch_topic_info获取 - max_behot_time: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的max_behot_time进行翻页。 - category_parameter: 分类参数ID,可以从接口/lemon8/app/fetch_topic_info获取 - hashtag_name: Hashtag名称,可以从接口/lemon8/app/fetch_topic_info获取 - sort_type: 排序方式,0为默认排序,当前只支持使用默认排序,请不要传入其他值。 ### 返回: - 作品列表 # [English] ### Purpose: - Get topic post list ### Parameters: - category: Topic category ID, can be obtained from the interface /lemon8/app/fetch_topic_info - max_behot_time: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_behot_time returned by the last request is used for subsequent requests. - category_parameter: Category parameter ID, can be obtained from the interface /lemon8/app/fetch_topic_info - hashtag_name: Hashtag name, can be obtained from the interface /lemon8/app/fetch_topic_info - sort_type: Sort type, 0 for default sort, currently only support default sort, please do not pass other values. ### Return: - Post list # [示例/Example] category = "590" max_behot_time = "" category_parameter = "7174447913778593798" hashtag_name = "lemon8christmas" sort_type = "0"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
category string 话题分类 ID/Topic category ID
categoryParameter string 分类参数/Category parameter
hashtagName string Hashtag名称/Hashtag name
optional *FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet_9Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchTopicPostListApiV1Lemon8AppFetchTopicPostListGet_9Opts struct

Name Type Description Notes

maxBehotTime | optional.String| 翻页参数/Pagination parameter | [default to ] sortType | optional.String| 排序方式/Sort type | [default to 0]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet

ResponseModel FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet(ctx, userId, optional)

获取指定用户的粉丝列表/Get fans list of specified user

[中文] ### 用途: - 获取指定用户的粉丝列表 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 - cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的cursor进行翻页。 ### 返回: - 粉丝列表 # [English] ### Purpose: - Get fans list of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id - cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. ### Return: - Fans list # [示例/Example] user_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID
optional *FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGetOpts struct

Name Type Description Notes

cursor | optional.String| 翻页参数/Pagination parameter | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet_0

ResponseModel FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet_0(ctx, userId, optional)

获取指定用户的粉丝列表/Get fans list of specified user

[中文] ### 用途: - 获取指定用户的粉丝列表 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 - cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的cursor进行翻页。 ### 返回: - 粉丝列表 # [English] ### Purpose: - Get fans list of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id - cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. ### Return: - Fans list # [示例/Example] user_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID
optional *FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet_10Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowerListApiV1Lemon8AppFetchUserFollowerListGet_10Opts struct

Name Type Description Notes

cursor | optional.String| 翻页参数/Pagination parameter | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet

ResponseModel FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet(ctx, userId, optional)

获取指定用户的关注列表/Get following list of specified user

[中文] ### 用途: - 获取指定用户的关注列表 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 - cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的cursor进行翻页。 ### 返回: - 关注列表 # [English] ### Purpose: - Get following list of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id - cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. ### Return: - Following list # [示例/Example] user_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID
optional *FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGetOpts struct

Name Type Description Notes

cursor | optional.String| 翻页参数/Pagination parameter | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet_0

ResponseModel FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet_0(ctx, userId, optional)

获取指定用户的关注列表/Get following list of specified user

[中文] ### 用途: - 获取指定用户的关注列表 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 - cursor: 翻页参数,可以从上一次请求的返回结果中获取,第一次请求为空,后续请求使用上一次请求返回的cursor进行翻页。 ### 返回: - 关注列表 # [English] ### Purpose: - Get following list of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id - cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. ### Return: - Following list # [示例/Example] user_id = "7428056850216862763"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID
optional *FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet_11Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowingListApiV1Lemon8AppFetchUserFollowingListGet_11Opts struct

Name Type Description Notes

cursor | optional.String| 翻页参数/Pagination parameter | [default to ]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetItemIdApiV1Lemon8AppGetItemIdGet

ResponseModel GetItemIdApiV1Lemon8AppGetItemIdGet(ctx, shareText)

通过分享链接获取作品ID/Get post ID through sharing link

[中文] ### 用途: - 通过分享链接获取作品ID ### 参数: - share_text: 分享链接,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 作品ID # [English] ### Purpose: - Get post ID through sharing link ### Parameters: - share_text: Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - Post ID # [示例/Example] share_text = "https://www.lemon8-app.com/@deathlabs_/7445613324903006766\" share_text = "https://v.lemon8-app.com/al/OghwFTppx\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
shareText string 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetItemIdApiV1Lemon8AppGetItemIdGet_0

ResponseModel GetItemIdApiV1Lemon8AppGetItemIdGet_0(ctx, shareText)

通过分享链接获取作品ID/Get post ID through sharing link

[中文] ### 用途: - 通过分享链接获取作品ID ### 参数: - share_text: 分享链接,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 作品ID # [English] ### Purpose: - Get post ID through sharing link ### Parameters: - share_text: Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - Post ID # [示例/Example] share_text = "https://www.lemon8-app.com/@deathlabs_/7445613324903006766\" share_text = "https://v.lemon8-app.com/al/OghwFTppx\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
shareText string 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetItemIdsApiV1Lemon8AppGetItemIdsPost

ResponseModel GetItemIdsApiV1Lemon8AppGetItemIdsPost(ctx, optional)

通过分享链接批量获取作品ID/Get post IDs in batch through sharing links

[中文] ### 用途: - 通过分享链接批量获取作品ID,一次最多获取10个 ### 参数: - share_texts: 分享链接列表,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 作品ID列表 # [English] ### Purpose: - Get post IDs in batch through sharing links, up to 10 at a time ### Parameters: - share_texts: Share links list, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - Post IDs list # [示例/Example] share_texts = [ "https://www.lemon8-app.com/@deathlabs_/7445613324903006766", "https://v.lemon8-app.com/al/OghwFTppx" ]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetItemIdsApiV1Lemon8AppGetItemIdsPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetItemIdsApiV1Lemon8AppGetItemIdsPostOpts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetItemIdsApiV1Lemon8AppGetItemIdsPost_0

ResponseModel GetItemIdsApiV1Lemon8AppGetItemIdsPost_0(ctx, optional)

通过分享链接批量获取作品ID/Get post IDs in batch through sharing links

[中文] ### 用途: - 通过分享链接批量获取作品ID,一次最多获取10个 ### 参数: - share_texts: 分享链接列表,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 作品ID列表 # [English] ### Purpose: - Get post IDs in batch through sharing links, up to 10 at a time ### Parameters: - share_texts: Share links list, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - Post IDs list # [示例/Example] share_texts = [ "https://www.lemon8-app.com/@deathlabs_/7445613324903006766", "https://v.lemon8-app.com/al/OghwFTppx" ]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetItemIdsApiV1Lemon8AppGetItemIdsPost_13Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetItemIdsApiV1Lemon8AppGetItemIdsPost_13Opts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUserIdApiV1Lemon8AppGetUserIdGet

ResponseModel GetUserIdApiV1Lemon8AppGetUserIdGet(ctx, shareText)

通过分享链接获取用户ID/Get user ID through sharing link

[中文] ### 用途: - 通过分享链接获取用户ID ### 参数: - share_text: 分享链接,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 用户ID # [English] ### Purpose: - Get user ID through sharing link ### Parameters: - share_text: Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - User ID # [示例/Example] share_text = "https://www.lemon8-app.com/lemon8cars?region=us\" share_text = "https://v.lemon8-app.com/al/OgZrsUppx\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
shareText string 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUserIdApiV1Lemon8AppGetUserIdGet_0

ResponseModel GetUserIdApiV1Lemon8AppGetUserIdGet_0(ctx, shareText)

通过分享链接获取用户ID/Get user ID through sharing link

[中文] ### 用途: - 通过分享链接获取用户ID ### 参数: - share_text: 分享链接,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 用户ID # [English] ### Purpose: - Get user ID through sharing link ### Parameters: - share_text: Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - User ID # [示例/Example] share_text = "https://www.lemon8-app.com/lemon8cars?region=us\" share_text = "https://v.lemon8-app.com/al/OgZrsUppx\"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
shareText string 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUserIdsApiV1Lemon8AppGetUserIdsPost

ResponseModel GetUserIdsApiV1Lemon8AppGetUserIdsPost(ctx, optional)

通过分享链接批量获取用户ID/Get user IDs in batch through sharing links

[中文] ### 用途: - 通过分享链接批量获取用户ID,一次最多获取10个 ### 参数: - share_texts: 分享链接列表,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 用户ID列表 # [English] ### Purpose: - Get user IDs in batch through sharing links, up to 10 at a time ### Parameters: - share_texts: Share links list, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - User IDs list # [示例/Example] share_texts = [ "https://www.lemon8-app.com/lemon8cars?region=us", "https://v.lemon8-app.com/al/OgZrsUppx" ]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetUserIdsApiV1Lemon8AppGetUserIdsPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetUserIdsApiV1Lemon8AppGetUserIdsPostOpts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetUserIdsApiV1Lemon8AppGetUserIdsPost_0

ResponseModel GetUserIdsApiV1Lemon8AppGetUserIdsPost_0(ctx, optional)

通过分享链接批量获取用户ID/Get user IDs in batch through sharing links

[中文] ### 用途: - 通过分享链接批量获取用户ID,一次最多获取10个 ### 参数: - share_texts: 分享链接列表,支持长链接和短链接,可以从网页端以及APP中的分享按钮获取并复制。 ### 返回: - 用户ID列表 # [English] ### Purpose: - Get user IDs in batch through sharing links, up to 10 at a time ### Parameters: - share_texts: Share links list, supports long links and short links, can be obtained and copied from the share button on the web and APP. ### Return: - User IDs list # [示例/Example] share_texts = [ "https://www.lemon8-app.com/lemon8cars?region=us", "https://v.lemon8-app.com/al/OgZrsUppx" ]

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetUserIdsApiV1Lemon8AppGetUserIdsPost_15Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetUserIdsApiV1Lemon8AppGetUserIdsPost_15Opts struct

Name Type Description Notes
requestBody optional.Interface of []string

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet

ResponseModel HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet(ctx, userId)

获取指定用户的信息/Get information of specified user

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id ### Return: - User information # [示例/Example] user_id = "7217844966059656197

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet_0

ResponseModel HandlerUserProfileApiV1Lemon8AppFetchUserProfileGet_0(ctx, userId)

获取指定用户的信息/Get information of specified user

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - user_id: 用户ID,可以从接口/lemon8/app/get_user_id获取 ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - user_id: User ID, can be obtained from the interface /lemon8/app/get_user_id ### Return: - User information # [示例/Example] user_id = "7217844966059656197

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
userId string 用户ID/User ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]