Skip to end of metadata
Go to start of metadata
|
|
|
---|
<title>Atlassian Cloud Notifications - Page Unavailable</title> or <h1>404</h1> <div class="aui-page-notification-description"> Page not found </div>
Solution: wrong page " https://thefreetelecomuni.atlassian.net/wiki/rest/api/content/ "
|
myplex@batpc2:~$ curl -X POST -H 'Content-Type: application/json' -d '{"type":"page2","title":"new page", "space":{"key":"TEST"},"body":{"storage":{"value":"<p>This is a new page from curl Linux<br/> a new page</p>","representation":
"storage"}}}' https://thefreetelecomuni.atlassian.net/rest/api/content/
<!DOCTYPE html>
<html>
<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="//aui-cdn.atlassian.com/aui-adg/5.8.15/css/aui.css">
</head>
<body class="aui-layout aui-page-notification aui-page-size-medium" data-aui-version="5.7.0">
<div id="smart-status-page">
<section id="content" role="main">
<div id="notifications">
<div class="default-component 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>
</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>myplex@batpc2:~$
|
|
"statusCode":500, "message":"java.lang.IllegalArgumentException: No ContentTypeBinding found for type: page2"
Solution: |
myplex@batpc2:~$ curl -X POST -H 'Content-Type: application/json' -d '{"type":"page2","title":"new page",
"space":{"key":"TEST"},"body":{"storage":{"value":"<p>This is a new page from curl Linux<br/> a new page</p>","representation":
"storage"}}}' https://thefreetelecomuni.atlassian.net/wiki/rest/api/content/
{"statusCode":500,"message":"java.lang.IllegalArgumentException: No ContentTypeBinding found for type: page2"}myplex@batpc2:~$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|