我正在尝试使用 REST API 在 Confluence 页面上的元数据列表中获取项目的值。到目前为止,我已经能够使用这样的 URL 提取获取正文
https://acme.com/rest/api/content/105088446?expand=body.storage (此处的文档:https ://developer.atlassian.com/confdev/confluence-server-rest-api/expansions-in-the -rest-api )
或元数据列表宏的完整内容,如 https://acme.com/rest/api/content/105088446/history/10/macro/id/c65d00a3-49e2-40e5-a032-50b6c187d968 (此处的文档:https: //docs.atlassian.com/confluence/REST/latest/#content )
但这些都不令人满意。第一个留下很多解析,第二个需要我定义页面的版本,然后返回需要解析的整个表。