如果您使用页面令牌,youtube 数据 api 分页是否一致?(v3 数据 API)
YouTube V3 数据 API 为来自搜索端点的分页结果集提供页面令牌".
The YouTube V3 Data API provides "page tokens" for paging result sets from search endpoints.
如果使用页面标记,查看的数据集是否一致?
Is the dataset being viewed consistent if you make use of the page tokens?
例如如果视图计数有排序,这可能会随时间变化,那么保证跨多个查询的总结果集的排序,因此保证第一页上的最低结果的排序大于上的最高结果下一页?
e.g. if there is an ordering on view count, which is likely to change with time, then is the ordering over the total result set guaranteed across multiple queries, so the lowest result on the first page is guaranteed to be ordered greater than the highest result on the following page?
使用页面标记时无法保证顺序.(在 v1/v2 中使用 start-index 时也不能保证.)如果在获取一页和下一页之间后端数据源的顺序发生了变化,那么检索下一页将反映更新后的顺序.
The ordering is not guaranteed when using page tokens. (Nor was it guaranteed when using start-index in v1/v2.) If something changes with the backend data source's ordering in between fetching one page and the next page, then retrieving the next page would reflect the updated ordering.