Search
搜索资源。Search resources.
根据关键字搜索公开仓库列表。 Search public repositories by keyword. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-basic-info:r
get/search/public-repos
Request
- Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
- URL: https://api.cnb.cool/search/public-repos
- Auth: API key in header Authorization
Query parameters
keystring
键名。Key name.
flags'KnowledgeBase' | 'NPC' | 'Skills'
仓库类型标记,逗号分隔。Repository type flags, comma separated
flags_match'intersection' | 'union'
flags 多值匹配模式。Flags match mode when multiple flags provided
order_by'created_at' | 'last_updated_at' | 'stars' | 'forks'
排序类型,默认last_updated_at. Sort type, defaults to last_updated_at.
descboolean
排序顺序。Sort order.
topNinteger
排行前N位,默认10,最大值100。Top N in ranking, default 10, max 100.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.