Bilibili-Huahuo-API

地域下拉/Get region options

Changed on

[中文]

用途:

  • 获取 UP 主常驻地域筛选所需的省市层级字典。

参数:

  • 无。

返回:

  • 把选中一级地域节点的 value 放入 search_upper.region_id;把选中一级节点 children 中的二级节点 value 放入 search_upper.second_region_id。
  • 多选时将所有选中值分别放入对应数组。例如北京、上海、福建,以及福建下的 厦门和福州为 {"region_id":[4,5,23],"second_region_id":[51,50]}。

调用示例:

GET /api/v1/bilibili/huahuo/region_drop

计费:

  • 0.006 USD / 次。

[English]

Purpose:

  • Retrieve the province/city hierarchy used by creator residence filters.

Parameters:

  • None.

Returns:

  • Put selected primary-node values in search_upper.region_id, and selected children[].values in search_upper.second_region_id.
  • For multiple selections, collect all values in their respective arrays. For example: {"region_id":[4,5,23],"second_region_id":[51,50]}.

Example:

GET /api/v1/bilibili/huahuo/region_drop

Billing:

  • 0.006 USD per request.
get/api/v1/bilibili/huahuo/region_drop

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes