如何解决调用 REST API 以使用邮递员获取汇合页面时出现“页面不可用”404 错误
我是通过 REST api 使用 confluence 的新手,现在我在 confluence 中创建了一个页面,并想通过 REST API 检索页面的内容。我用邮递员来调用 GET url
https://xxxx.atlassian.net/rest/api/content/32991?expand=body.storage
使用基本身份验证,具有从 atlassian 开发人员访问令牌页面生成的用户名和访问令牌。
当我在 postman 中调用 url 时,出现页面不可用错误。做了很少的研究,但无法弄清楚确切的问题。在汇合或其他方面是否有任何权限问题要启用。请帮忙。
<!DOCTYPE html>
<html lang="en">
<head>
<Meta charset="utf-8">
<Meta name="description" content="">
<Meta name="viewport" content="width=device-width,initial-scale=1">
<title>Atlassian Cloud Notifications - Page Unavailable</title>
<link rel="stylesheet" href="/_edge/resources/aui-prototyping.css">
</head>
<body>
<div id="page">
<section id="content" role="main" class="aui-page-notification aui-page-size-medium">
<div id="notifications" class="aui-page-panel">
<div class="aui-page-header-inner">
<section class="aui-page-panel-content">
<h1>404</h1>
<div class="aui-page-notification-description">
Page not found
</div>
</section>
</div>
</div>
</section>
<footer id="footer">
<section class="footer-body">
<ul>
<li><a href="https://status.atlassian.com">Atlassian Status</a></li>
<li><a href="https://confluence.atlassian.com/display/cloud/What's+New">Release Summary</a></li>
<li><a
href="https://confluence.atlassian.com/display/Cloud/Atlassian+Cloud+Documentation">Documentation</a>
</li>
<li><a href="https://answers.atlassian.com">Answers</a></li>
</ul>
<div id="footer-logo"><a href="http://www.atlassian.com/" target="_blank">Atlassian</a></div>
</section>
</footer>
</div>
</body>
</html>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。