获取成员的展示柜
GET/v1/members/{username}/showcase
返回已发布的个人主页展示柜:其中的区块、区块顺序和页面主题。
请求
curl -g "https://api.nogitsu.com/v1/members/{username}/showcase"参数
username路径必填
成员的用户名。
文本
响应
请求成功时返回 200 和以下 JSON:
showcase对象可为 nulltheme对象可为 nullbackground文本accent文本font文本允许的值defaultserifmonodensity文本允许的值comfortablecompact
blocks多种结构之一 列表选项 1
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值currently_consuminglibrary文本允许的值screenreading
选项 2
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值favoritessubject文本允许的值workcharacter
选项 3
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值pinned_collectioncollectionId文本 (uuid)
选项 4
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值collection_list
选项 5
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值stats
选项 6
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值genres
选项 7
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值badges
选项 8
isVisibletrue 或 falsewidth文本允许的值widenarrowkind文本允许的值communities
version整数0 到 9007199254740991
updatedAt文本 (date-time)
错误
与所有操作一样,此操作在参数无效时可能返回 400,找不到内容时返回 404,请求过多时返回 429。所有错误的结构都相同。