Skip to content

能否提供贡献者合集|作者合集 #6966

Open
@AR-26710

Description

@AR-26710

你当前使用的版本

2.20.7

描述一下此特性

我在写一个网站文章贡献者的集合,如下所示:

Image

开发文档中Finder API getContributors(names)可获得贡献者(也包括作者),但names:List<string> - 作者的唯一标识 metadata.name 的集合目前似乎只能基于单篇文章PostVo中的status.contributors中获取,如下图所示:
Image

无法获得全站的文章贡献者,虽有作者归档,但没有作者集合,也不能实现,所以望能提供一个贡献者集合与作者集合。
Image

如提供的话可在uc/profile里提供一个”是否作为贡献者进行显示“的选项,创建此选项的原因如下:
投稿者作为文章作者不想出现可在文章设置中进行修改,但当修改作者后原作者就会作为贡献者出现在contributors中,此选项可供不想透露信息的用户进行选择,由于因为只要修改过文章的用户也会被记录在contributors中,所以也可供只做文章修改的特殊用户进行选择,类似于有些审稿者不想出现在贡献榜单中。
Image

附加信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues or PRs related to the Halo Corearea/themeIssues or PRs related to the Theme Providerkind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions