是否有 JIRA Rest API 来获得 logo/icons 的 JIRA 项目

is there JIRA Rest API to get logo/icons of JIRA Projects

JIRA Atlassian 是否有 API 来获取项目 icon/logo。

我正在使用 /rest/api/latest/project API 从 JIRA Atlassian 获取项目详细信息,但是此 api 每个项目都没有项目头像。

如果您使用以下方式检索项目的详细信息:GET /project/{projectIdOrKey} 您将得到如下结果:

{
    "expand": "description,lead,url,projectKeys",
    "self": "http://www.example.com/jira/rest/api/2/project/EX",
    "id": "10000",
    "key": "EX",
    "description": "This project was created as an example for REST.",
    "lead": {
        "self": "http://www.example.com/jira/rest/api/2/user?username=fred",
        "name": "fred",
        "avatarUrls": {
            "48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
            "24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
            "16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
            "32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
        },
        "displayName": "Fred F. User",
        "active": false
    },

    ...

    "avatarUrls": {
        "48x48": "http://www.example.com/jira/secure/projectavatar?size=large&pid=10000",
        "24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000",
        "16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
        "32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000"
    },
    "projectCategory": {
        "self": "http://www.example.com/jira/rest/api/2/projectCategory/10000",
        "id": "10000",
        "name": "FIRST",
        "description": "First Project Category"
    }
}

avatarUrls 部分提到了不同分辨率下项目图标的 URL。

请注意,在 lead 下还有一个 avatarUrls 部分。这提到了项目负责人头像的 URL。