Skip to content

Files

Latest commit

cb6ef17 · Mar 9, 2025

History

History
2926 lines (2124 loc) · 111 KB

BilibiliWebApiApi.md

File metadata and controls

2926 lines (2124 loc) · 111 KB

BilibiliWebApiApi

All URIs are relative to http://localhost

Method HTTP request Description
fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet GET /api/v1/bilibili/web/fetch_all_live_areas 获取所有直播分区列表/Get a list of all live areas
fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0 GET /api/v1/bilibili/web/fetch_all_live_areas 获取所有直播分区列表/Get a list of all live areas
fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet GET /api/v1/bilibili/web/fetch_collect_folders 获取用户所有收藏夹信息/Get user collection folders
fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0 GET /api/v1/bilibili/web/fetch_collect_folders 获取用户所有收藏夹信息/Get user collection folders
fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet GET /api/v1/bilibili/web/fetch_com_popular 获取综合热门视频信息/Get comprehensive popular video information
fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0 GET /api/v1/bilibili/web/fetch_com_popular 获取综合热门视频信息/Get comprehensive popular video information
fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet GET /api/v1/bilibili/web/fetch_comment_reply 获取视频下指定评论的回复/Get reply to the specified comment
fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0 GET /api/v1/bilibili/web/fetch_comment_reply 获取视频下指定评论的回复/Get reply to the specified comment
fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet GET /api/v1/bilibili/web/fetch_live_room_detail 获取指定直播间信息/Get information of specified live room
fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0 GET /api/v1/bilibili/web/fetch_live_room_detail 获取指定直播间信息/Get information of specified live room
fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet GET /api/v1/bilibili/web/fetch_live_streamers 获取指定分区正在直播的主播/Get live streamers of specified live area
fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0 GET /api/v1/bilibili/web/fetch_live_streamers 获取指定分区正在直播的主播/Get live streamers of specified live area
fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet GET /api/v1/bilibili/web/fetch_live_videos 获取直播间视频流/Get live video data of specified room
fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0 GET /api/v1/bilibili/web/fetch_live_videos 获取直播间视频流/Get live video data of specified room
fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet GET /api/v1/bilibili/web/fetch_user_dynamic 获取指定用户动态/Get dynamic information of specified user
fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0 GET /api/v1/bilibili/web/fetch_user_dynamic 获取指定用户动态/Get dynamic information of specified user
fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet GET /api/v1/bilibili/web/fetch_user_profile 获取指定用户的信息/Get information of specified user
fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0 GET /api/v1/bilibili/web/fetch_user_profile 获取指定用户的信息/Get information of specified user
fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet GET /api/v1/bilibili/web/fetch_video_comments 获取指定视频的评论/Get comments on the specified video
fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0 GET /api/v1/bilibili/web/fetch_video_comments 获取指定视频的评论/Get comments on the specified video
fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet GET /api/v1/bilibili/web/fetch_general_search 获取综合搜索信息/Get general search data
fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet_0 GET /api/v1/bilibili/web/fetch_general_search 获取综合搜索信息/Get general search data
fetchHotSearchApiV1BilibiliWebFetchHotSearchGet GET /api/v1/bilibili/web/fetch_hot_search 获取热门搜索信息/Get hot search data
fetchHotSearchApiV1BilibiliWebFetchHotSearchGet_0 GET /api/v1/bilibili/web/fetch_hot_search 获取热门搜索信息/Get hot search data
fetchOneVideoApiV1BilibiliWebBvToAidGet GET /api/v1/bilibili/web/bv_to_aid 通过bv号获得视频aid号/Generate aid by bvid
fetchOneVideoApiV1BilibiliWebBvToAidGet_0 GET /api/v1/bilibili/web/bv_to_aid 通过bv号获得视频aid号/Generate aid by bvid
fetchOneVideoApiV1BilibiliWebFetchOneVideoGet GET /api/v1/bilibili/web/fetch_one_video 获取单个视频详情信息/Get single video data
fetchOneVideoApiV1BilibiliWebFetchOneVideoGet_0 GET /api/v1/bilibili/web/fetch_one_video 获取单个视频详情信息/Get single video data
fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet GET /api/v1/bilibili/web/fetch_video_danmaku 获取视频实时弹幕/Get Video Danmaku
fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet_0 GET /api/v1/bilibili/web/fetch_video_danmaku 获取视频实时弹幕/Get Video Danmaku
fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet GET /api/v1/bilibili/web/fetch_video_parts 通过bv号获得视频分p信息/Get Video Parts By bvid
fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet_0 GET /api/v1/bilibili/web/fetch_video_parts 通过bv号获得视频分p信息/Get Video Parts By bvid
fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet GET /api/v1/bilibili/web/fetch_video_playurl 获取视频流地址/Get video playurl
fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet_0 GET /api/v1/bilibili/web/fetch_video_playurl 获取视频流地址/Get video playurl
fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get GET /api/v1/bilibili/web/fetch_one_video_v2 获取单个视频详情信息V2/Get single video data V2
fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get_0 GET /api/v1/bilibili/web/fetch_one_video_v2 获取单个视频详情信息V2/Get single video data V2
fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet GET /api/v1/bilibili/web/fetch_user_collection_videos 获取指定收藏夹内视频数据/Gets video data from a collection folder
fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet_0 GET /api/v1/bilibili/web/fetch_user_collection_videos 获取指定收藏夹内视频数据/Gets video data from a collection folder
fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet GET /api/v1/bilibili/web/fetch_user_post_videos 获取用户主页作品数据/Get user homepage video data
fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet_0 GET /api/v1/bilibili/web/fetch_user_post_videos 获取用户主页作品数据/Get user homepage video data

fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet()

获取所有直播分区列表/Get a list of all live areas

[中文] ### 用途: - 获取所有直播分区列表 ### 参数: ### 返回: - 所有直播分区列表 # [English] ### Purpose: - Get a list of all live areas ### Parameters: ### Return: - list of all live areas # [示例/Example]

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0()

获取所有直播分区列表/Get a list of all live areas

[中文] ### 用途: - 获取所有直播分区列表 ### 参数: ### 返回: - 所有直播分区列表 # [English] ### Purpose: - Get a list of all live areas ### Parameters: ### Return: - list of all live areas # [示例/Example]

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet(uid)

获取用户所有收藏夹信息/Get user collection folders

[中文] ### 用途: - 获取用户收藏作品数据 ### 参数: - uid: 用户UID ### 返回: - 用户收藏夹信息 # [English] ### Purpose: - Get user collection folders ### Parameters: - uid: User UID ### Return: - user collection folders # [示例/Example] uid = "178360345"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet(uid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0(uid)

获取用户所有收藏夹信息/Get user collection folders

[中文] ### 用途: - 获取用户收藏作品数据 ### 参数: - uid: 用户UID ### 返回: - 用户收藏夹信息 # [English] ### Purpose: - Get user collection folders ### Parameters: - uid: User UID ### Return: - user collection folders # [示例/Example] uid = "178360345"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0(uid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet(pn)

获取综合热门视频信息/Get comprehensive popular video information

[中文] ### 用途: - 获取综合热门视频信息 ### 参数: - pn: 页码 ### 返回: - 综合热门视频信息 # [English] ### Purpose: - Get comprehensive popular video information ### Parameters: - pn: Page number ### Return: - comprehensive popular video information # [示例/Example] pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet(pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0(pn)

获取综合热门视频信息/Get comprehensive popular video information

[中文] ### 用途: - 获取综合热门视频信息 ### 参数: - pn: 页码 ### 返回: - 综合热门视频信息 # [English] ### Purpose: - Get comprehensive popular video information ### Parameters: - pn: Page number ### Return: - comprehensive popular video information # [示例/Example] pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0(pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet(bvId, rpid, pn)

获取视频下指定评论的回复/Get reply to the specified comment

[中文] ### 用途: - 获取视频下指定评论的回复 ### 参数: - bv_id: 作品id - pn: 页码 - rpid: 回复id ### 返回: - 指定评论的回复数据 # [English] ### Purpose: - Get reply to the specified comment ### Parameters: - bv_id: Video id - pn: Page number - rpid: Reply id ### Return: - Reply of the specified comment # [示例/Example] bv_id = "BV1M1421t7hT" pn = 1 rpid = "237109455120"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        String rpid = 237109455120; // String | 回复id/Reply id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet(bvId, rpid, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
rpid String 回复id/Reply id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0(bvId, rpid, pn)

获取视频下指定评论的回复/Get reply to the specified comment

[中文] ### 用途: - 获取视频下指定评论的回复 ### 参数: - bv_id: 作品id - pn: 页码 - rpid: 回复id ### 返回: - 指定评论的回复数据 # [English] ### Purpose: - Get reply to the specified comment ### Parameters: - bv_id: Video id - pn: Page number - rpid: Reply id ### Return: - Reply of the specified comment # [示例/Example] bv_id = "BV1M1421t7hT" pn = 1 rpid = "237109455120"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        String rpid = 237109455120; // String | 回复id/Reply id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0(bvId, rpid, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
rpid String 回复id/Reply id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet(roomId)

获取指定直播间信息/Get information of specified live room

[中文] ### 用途: - 获取指定直播间信息 ### 参数: - room_id: 直播间ID ### 返回: - 指定直播间信息 # [English] ### Purpose: - Get information of specified live room ### Parameters: - room_id: Live room ID ### Return: - information of specified live room # [示例/Example] room_id = "22816111"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String roomId = 22816111; // String | 直播间ID/Live room ID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
roomId String 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0(roomId)

获取指定直播间信息/Get information of specified live room

[中文] ### 用途: - 获取指定直播间信息 ### 参数: - room_id: 直播间ID ### 返回: - 指定直播间信息 # [English] ### Purpose: - Get information of specified live room ### Parameters: - room_id: Live room ID ### Return: - information of specified live room # [示例/Example] room_id = "22816111"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String roomId = 22816111; // String | 直播间ID/Live room ID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
roomId String 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet(areaId, pn)

获取指定分区正在直播的主播/Get live streamers of specified live area

[中文] ### 用途: - 获取指定分区正在直播的主播 ### 参数: - area_id: 直播分区id - pn: 页码 ### 返回: - 指定分区正在直播的主播 # [English] ### Purpose: - Get live streamers of specified live area ### Parameters: - area_id: Live area ID - pn: Page number ### Return: - live streamers of specified live area # [示例/Example] area_id = "9" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String areaId = 9; // String | 直播分区id/Live area ID
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet(areaId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
areaId String 直播分区id/Live area ID
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0(areaId, pn)

获取指定分区正在直播的主播/Get live streamers of specified live area

[中文] ### 用途: - 获取指定分区正在直播的主播 ### 参数: - area_id: 直播分区id - pn: 页码 ### 返回: - 指定分区正在直播的主播 # [English] ### Purpose: - Get live streamers of specified live area ### Parameters: - area_id: Live area ID - pn: Page number ### Return: - live streamers of specified live area # [示例/Example] area_id = "9" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String areaId = 9; // String | 直播分区id/Live area ID
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0(areaId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
areaId String 直播分区id/Live area ID
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet(roomId)

获取直播间视频流/Get live video data of specified room

[中文] ### 用途: - 获取指定直播间视频流 ### 参数: - room_id: 直播间ID ### 返回: - 指定直播间视频流 # [English] ### Purpose: - Get live video data of specified room ### Parameters: - room_id: Live room ID ### Return: - live video data of specified room # [示例/Example] room_id = "1815229528"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String roomId = 1815229528; // String | 直播间ID/Live room ID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
roomId String 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0(roomId)

获取直播间视频流/Get live video data of specified room

[中文] ### 用途: - 获取指定直播间视频流 ### 参数: - room_id: 直播间ID ### 返回: - 指定直播间视频流 # [English] ### Purpose: - Get live video data of specified room ### Parameters: - room_id: Live room ID ### Return: - live video data of specified room # [示例/Example] room_id = "1815229528"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String roomId = 1815229528; // String | 直播间ID/Live room ID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
roomId String 直播间ID/Live room ID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet(uid, offset)

获取指定用户动态/Get dynamic information of specified user

[中文] ### 用途: - 获取指定用户动态 ### 参数: - uid: 用户UID - offset: 开始索引 ### 返回: - 指定用户动态数据 # [English] ### Purpose: - Get dynamic information of specified user ### Parameters: - uid: User UID - offset: offset ### Return: - dynamic information of specified user # [示例/Example] uid = "178360345" offset = "953154282154098691"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 16015678; // String | 用户UID
        String offset = 953154282154098691; // String | 开始索引/offset
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet(uid, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID
offset String 开始索引/offset [optional] [default to ""]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0(uid, offset)

获取指定用户动态/Get dynamic information of specified user

[中文] ### 用途: - 获取指定用户动态 ### 参数: - uid: 用户UID - offset: 开始索引 ### 返回: - 指定用户动态数据 # [English] ### Purpose: - Get dynamic information of specified user ### Parameters: - uid: User UID - offset: offset ### Return: - dynamic information of specified user # [示例/Example] uid = "178360345" offset = "953154282154098691"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 16015678; // String | 用户UID
        String offset = 953154282154098691; // String | 开始索引/offset
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0(uid, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID
offset String 开始索引/offset [optional] [default to ""]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet(uid)

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

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - uid: 用户UID ### 返回: - 指定用户的个人信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - uid: User UID ### Return: - information of specified user # [示例/Example] uid = "178360345"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet(uid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0(uid)

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

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - uid: 用户UID ### 返回: - 指定用户的个人信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - uid: User UID ### Return: - information of specified user # [示例/Example] uid = "178360345"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0(uid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet(bvId, pn)

获取指定视频的评论/Get comments on the specified video

[中文] ### 用途: - 获取指定视频的评论 ### 参数: - bv_id: 作品id - pn: 页码 ### 返回: - 指定视频的评论数据 # [English] ### Purpose: - Get comments on the specified video ### Parameters: - bv_id: Video id - pn: Page number ### Return: - comments of the specified video # [示例/Example] bv_id = "BV1M1421t7hT" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet(bvId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0

ResponseModel fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0(bvId, pn)

获取指定视频的评论/Get comments on the specified video

[中文] ### 用途: - 获取指定视频的评论 ### 参数: - bv_id: 作品id - pn: 页码 ### 返回: - 指定视频的评论数据 # [English] ### Purpose: - Get comments on the specified video ### Parameters: - bv_id: Video id - pn: Page number ### Return: - comments of the specified video # [示例/Example] bv_id = "BV1M1421t7hT" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0(bvId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet

ResponseModel fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet(keyword, order, page, pageSize)

获取综合搜索信息/Get general search data

[中文] ### 用途: - 获取综合搜索信息 ### 参数: - keyword: 搜索关键词 - order: 排序方式 - totalrank 综合排序 - click 最多播放 - pubdate 最新发布 - dm 最多弹幕 - stow 最多收藏 - page: 页码 - page_size: 每页数量 ### 返回: - 综合搜索信息 # [English] ### Purpose: - Get general search data ### Parameters: - keyword: Search keyword - order: Order method - totalrank Comprehensive sorting - click Most played - pubdate Latest release - dm Most barrage - stow Most collection - page: Page number - page_size: Number per page ### Return: - General search data # [示例/Example] keyword = "火影忍者" order = "totalrank" page = 1 page_size = 42

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String keyword = 火影忍者; // String | 搜索关键词/Search keyword
        String order = totalrank; // String | 排序方式/Order method
        Integer page = 1; // Integer | 页码/Page number
        Integer pageSize = 42; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet(keyword, order, page, pageSize);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 搜索关键词/Search keyword
order String 排序方式/Order method
page Integer 页码/Page number
pageSize Integer 每页数量/Number per page

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet_0

ResponseModel fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet_0(keyword, order, page, pageSize)

获取综合搜索信息/Get general search data

[中文] ### 用途: - 获取综合搜索信息 ### 参数: - keyword: 搜索关键词 - order: 排序方式 - totalrank 综合排序 - click 最多播放 - pubdate 最新发布 - dm 最多弹幕 - stow 最多收藏 - page: 页码 - page_size: 每页数量 ### 返回: - 综合搜索信息 # [English] ### Purpose: - Get general search data ### Parameters: - keyword: Search keyword - order: Order method - totalrank Comprehensive sorting - click Most played - pubdate Latest release - dm Most barrage - stow Most collection - page: Page number - page_size: Number per page ### Return: - General search data # [示例/Example] keyword = "火影忍者" order = "totalrank" page = 1 page_size = 42

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String keyword = 火影忍者; // String | 搜索关键词/Search keyword
        String order = totalrank; // String | 排序方式/Order method
        Integer page = 1; // Integer | 页码/Page number
        Integer pageSize = 42; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet_0(keyword, order, page, pageSize);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchGeneralSearchApiV1BilibiliWebFetchGeneralSearchGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 搜索关键词/Search keyword
order String 排序方式/Order method
page Integer 页码/Page number
pageSize Integer 每页数量/Number per page

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHotSearchApiV1BilibiliWebFetchHotSearchGet

ResponseModel fetchHotSearchApiV1BilibiliWebFetchHotSearchGet(limit)

获取热门搜索信息/Get hot search data

[中文] ### 用途: - 获取热门搜索信息 ### 参数: - limit: 返回数量 ### 返回: - 热门搜索信息 ### 说明: - limit默认为10,上限为50 # [English] ### Purpose: - Get hot search data ### Parameters: - limit: Return number ### Return: - Hot search data ### Note: - limit default is 10, maximum is 50 # [示例/Example] limit = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String limit = 10; // String | 返回数量/Return number
        try {
            ResponseModel result = apiInstance.fetchHotSearchApiV1BilibiliWebFetchHotSearchGet(limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchHotSearchApiV1BilibiliWebFetchHotSearchGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
limit String 返回数量/Return number

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHotSearchApiV1BilibiliWebFetchHotSearchGet_0

ResponseModel fetchHotSearchApiV1BilibiliWebFetchHotSearchGet_0(limit)

获取热门搜索信息/Get hot search data

[中文] ### 用途: - 获取热门搜索信息 ### 参数: - limit: 返回数量 ### 返回: - 热门搜索信息 ### 说明: - limit默认为10,上限为50 # [English] ### Purpose: - Get hot search data ### Parameters: - limit: Return number ### Return: - Hot search data ### Note: - limit default is 10, maximum is 50 # [示例/Example] limit = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String limit = 10; // String | 返回数量/Return number
        try {
            ResponseModel result = apiInstance.fetchHotSearchApiV1BilibiliWebFetchHotSearchGet_0(limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchHotSearchApiV1BilibiliWebFetchHotSearchGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
limit String 返回数量/Return number

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebBvToAidGet

ResponseModel fetchOneVideoApiV1BilibiliWebBvToAidGet(bvId)

通过bv号获得视频aid号/Generate aid by bvid

[中文] ### 用途: - 通过bv号获得视频aid号 ### 参数: - bv_id: 作品id ### 返回: - 视频aid号 # [English] ### Purpose: - Generate aid by bvid ### Parameters: - bv_id: Video id ### Return: - Video aid # [示例/Example] bv_id = "BV1M1421t7hT"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebBvToAidGet(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebBvToAidGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebBvToAidGet_0

ResponseModel fetchOneVideoApiV1BilibiliWebBvToAidGet_0(bvId)

通过bv号获得视频aid号/Generate aid by bvid

[中文] ### 用途: - 通过bv号获得视频aid号 ### 参数: - bv_id: 作品id ### 返回: - 视频aid号 # [English] ### Purpose: - Generate aid by bvid ### Parameters: - bv_id: Video id ### Return: - Video aid # [示例/Example] bv_id = "BV1M1421t7hT"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebBvToAidGet_0(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebBvToAidGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchOneVideoGet

ResponseModel fetchOneVideoApiV1BilibiliWebFetchOneVideoGet(bvId)

获取单个视频详情信息/Get single video data

[中文] ### 用途: - 获取单个视频详情信息 ### 参数: - bv_id: 作品id ### 返回: - 视频详情信息 # [English] ### Purpose: - Get single video data ### Parameters: - bv_id: Video id ### Return: - Video data # [示例/Example] bv_id = "BV1M1421t7hT"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchOneVideoGet(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchOneVideoGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchOneVideoGet_0

ResponseModel fetchOneVideoApiV1BilibiliWebFetchOneVideoGet_0(bvId)

获取单个视频详情信息/Get single video data

[中文] ### 用途: - 获取单个视频详情信息 ### 参数: - bv_id: 作品id ### 返回: - 视频详情信息 # [English] ### Purpose: - Get single video data ### Parameters: - bv_id: Video id ### Return: - Video data # [示例/Example] bv_id = "BV1M1421t7hT"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1M1421t7hT; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchOneVideoGet_0(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchOneVideoGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet(cid)

获取视频实时弹幕/Get Video Danmaku

[中文] ### 用途: - 获取视频实时弹幕 ### 参数: - cid: 作品cid ### 返回: - 视频实时弹幕 # [English] ### Purpose: - Get Video Danmaku ### Parameters: - cid: Video cid ### Return: - Video Danmaku # [示例/Example] cid = "1639235405"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String cid = 1639235405; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet(cid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
cid String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet_0

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet_0(cid)

获取视频实时弹幕/Get Video Danmaku

[中文] ### 用途: - 获取视频实时弹幕 ### 参数: - cid: 作品cid ### 返回: - 视频实时弹幕 # [English] ### Purpose: - Get Video Danmaku ### Parameters: - cid: Video cid ### Return: - Video Danmaku # [示例/Example] cid = "1639235405"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String cid = 1639235405; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet_0(cid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoDanmakuGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
cid String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet(bvId)

通过bv号获得视频分p信息/Get Video Parts By bvid

[中文] ### 用途: - 通过bv号获得视频分p信息 ### 参数: - bv_id: 作品id ### 返回: - 视频分p信息 # [English] ### Purpose: - Get Video Parts By bvid ### Parameters: - bv_id: Video id ### Return: - Video Parts # [示例/Example] bv_id = "BV1vf421i7hV"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1vf421i7hV; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet_0

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet_0(bvId)

通过bv号获得视频分p信息/Get Video Parts By bvid

[中文] ### 用途: - 通过bv号获得视频分p信息 ### 参数: - bv_id: 作品id ### 返回: - 视频分p信息 # [English] ### Purpose: - Get Video Parts By bvid ### Parameters: - bv_id: Video id ### Return: - Video Parts # [示例/Example] bv_id = "BV1vf421i7hV"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1vf421i7hV; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet_0(bvId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoPartsGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet(bvId, cid)

获取视频流地址/Get video playurl

[中文] ### 用途: - 获取视频流地址 ### 参数: - bv_id: 作品id - cid: 作品cid ### 返回: - 视频流地址 # [English] ### Purpose: - Get video playurl ### Parameters: - bv_id: Video id - cid: Video cid ### Return: - Video playurl # [示例/Example] bv_id = "BV1y7411Q7Eq" cid = "171776208"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1y7411Q7Eq; // String | 作品id/Video id
        String cid = 171776208; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet(bvId, cid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
cid String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet_0

ResponseModel fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet_0(bvId, cid)

获取视频流地址/Get video playurl

[中文] ### 用途: - 获取视频流地址 ### 参数: - bv_id: 作品id - cid: 作品cid ### 返回: - 视频流地址 # [English] ### Purpose: - Get video playurl ### Parameters: - bv_id: Video id - cid: Video cid ### Return: - Video playurl # [示例/Example] bv_id = "BV1y7411Q7Eq" cid = "171776208"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String bvId = BV1y7411Q7Eq; // String | 作品id/Video id
        String cid = 171776208; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet_0(bvId, cid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoApiV1BilibiliWebFetchVideoPlayurlGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bvId String 作品id/Video id
cid String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get

ResponseModel fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get(aId, cId)

获取单个视频详情信息V2/Get single video data V2

[中文] ### 用途: - 获取单个视频详情信息V2 ### 参数: - a_id: 作品id - c_id: 作品cid ### 返回: - 视频详情信息V2 # [English] ### Purpose: - Get single video data V2 ### Parameters: - a_id: Video id - c_id: Video cid ### Return: - Video data V2 # [示例/Example] a_id = "114006081739452" c_id = "28400484458"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String aId = 114006081739452; // String | 作品id/Video id
        String cId = 28400484458; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get(aId, cId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
aId String 作品id/Video id
cId String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get_0

ResponseModel fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get_0(aId, cId)

获取单个视频详情信息V2/Get single video data V2

[中文] ### 用途: - 获取单个视频详情信息V2 ### 参数: - a_id: 作品id - c_id: 作品cid ### 返回: - 视频详情信息V2 # [English] ### Purpose: - Get single video data V2 ### Parameters: - a_id: Video id - c_id: Video cid ### Return: - Video data V2 # [示例/Example] a_id = "114006081739452" c_id = "28400484458"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String aId = 114006081739452; // String | 作品id/Video id
        String cId = 28400484458; // String | 作品cid/Video cid
        try {
            ResponseModel result = apiInstance.fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get_0(aId, cId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchOneVideoV2ApiV1BilibiliWebFetchOneVideoV2Get_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
aId String 作品id/Video id
cId String 作品cid/Video cid

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet

ResponseModel fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet(folderId, pn)

获取指定收藏夹内视频数据/Gets video data from a collection folder

[中文] ### 用途: - 获取指定收藏夹内视频数据 ### 参数: - folder_id: 用户UID - pn: 页码 ### 返回: - 指定收藏夹内视频数据 # [English] ### Purpose: - Gets video data from a collection folder ### Parameters: - folder_id: collection folder id - pn: Page number ### Return: - video data from collection folder # [示例/Example] folder_id = "1756059545" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String folderId = 1756059545; // String | 收藏夹id/collection folder id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet(folderId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
folderId String 收藏夹id/collection folder id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet_0

ResponseModel fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet_0(folderId, pn)

获取指定收藏夹内视频数据/Gets video data from a collection folder

[中文] ### 用途: - 获取指定收藏夹内视频数据 ### 参数: - folder_id: 用户UID - pn: 页码 ### 返回: - 指定收藏夹内视频数据 # [English] ### Purpose: - Gets video data from a collection folder ### Parameters: - folder_id: collection folder id - pn: Page number ### Return: - video data from collection folder # [示例/Example] folder_id = "1756059545" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String folderId = 1756059545; // String | 收藏夹id/collection folder id
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet_0(folderId, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchUserCollectionVideosApiV1BilibiliWebFetchUserCollectionVideosGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
folderId String 收藏夹id/collection folder id
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet

ResponseModel fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet(uid, pn)

获取用户主页作品数据/Get user homepage video data

[中文] ### 用途: - 获取用户发布的视频数据 ### 参数: - uid: 用户UID - pn: 页码 ### 返回: - 用户发布的视频数据 # [English] ### Purpose: - Get user post video data ### Parameters: - uid: User UID - pn: Page number ### Return: - User posted video data # [示例/Example] uid = "178360345" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet(uid, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet_0

ResponseModel fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet_0(uid, pn)

获取用户主页作品数据/Get user homepage video data

[中文] ### 用途: - 获取用户发布的视频数据 ### 参数: - uid: 用户UID - pn: 页码 ### 返回: - 用户发布的视频数据 # [English] ### Purpose: - Get user post video data ### Parameters: - uid: User UID - pn: Page number ### Return: - User posted video data # [示例/Example] uid = "178360345" pn = 1

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.BilibiliWebApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        BilibiliWebApiApi apiInstance = new BilibiliWebApiApi(defaultClient);
        String uid = 178360345; // String | 用户UID
        Integer pn = 1; // Integer | 页码/Page number
        try {
            ResponseModel result = apiInstance.fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet_0(uid, pn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BilibiliWebApiApi#fetchUserPostVideosApiV1BilibiliWebFetchUserPostVideosGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
uid String 用户UID
pn Integer 页码/Page number [optional] [default to 1]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -