I've installed Confluence on my local machine, but same problem exists on the Atalassin demo site.
Demo site : https://confluence.atlassian.com/plugins/servlet/restbrowser#/
According to the screen and docs of the REST Browser, I should able to enter "project" or "api" to see the REST API. See here REST Browser plugin
But on demo site, and my local install I can only see the "json-rpc" calls, e.g. "json-rpc/confluenceservice-v2/updatePage"
Community moderators have prevented the ability to post new answers.
You may try without the slash "/" http://awesomescreenshot.com/0fe331gs15
Cheers
I can see list of calls such as...
json-rpc/concluenceservice-v2/updatePage
But nothing that looks like the REST API described here.
https://developer.atlassian.com/static/connect/docs/scopes/confluence-rest-scopes.htm
Should the REST Browser show the REST API ?l
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
confluence.atlassian.comis not showing the new /rest/api resources due to the REST API Browser not being upgraded.
This upgrade (to 3.0.7) is required to see "versionless" resources in the REST API browser. This upgrade was an oversight, and is being organised right now. Not specific ETA just yet, but you may notice it working before I can provide an update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank Craig! Please keep me updated!
This is explains why I can't get the "online" demo site to work, I'm still puzzled over why running a local install, via "atlas-run-standalone" doesn't work.
:-D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
The Confluence REST Scopes document that you linked refers to parts of the Confluence API that change across the multiple different versions of Confluence that are available for download.
The new Confluence REST API (which includes the resources that have a URL starting with "/rest/api/") is only available in Confluence OnDemand and Confluence 5.5 and later. The REST Browser on https://confluence.atlassian.comdoes not show these APIs because it's only running a version of Confluence 5.4 - I assume this is also the case for the version of Confluence that you are running in your local install.
For earlier versions of Confluence, there is a "prototype" REST API (which includes the resources that have a URL starting with "/rest/prototype/{version}").
The "prototype" API, and the JSON-RPC and XML-RPC APIs are available in all versions of Confluence, but they are marked with a deprecation warning as of Confluence 5.5 and will eventually be removed in a future version of Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the comments.
I agree that the "Confluence REST Scopes" link I pasted refers to the older version of the REST API. Newer versions use an endpoint format of "rest/api/xxx"
The REST Browser states it supports "Confluence 5.1 - 5.5.3" See https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser
I'm testing locallay on version 5.5.3 and 5.5.1
My local install is started by..
atlas-run-standalone --product confluence --version 5.5.3 --bundled-plugins com.atlassian.plugins:atlassian-connect-plugin:1.0.2,com.atlassian.jwt:jwt-plugin:1.0.0,com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0-m0 --jvmargs -Datlassian.upm.on.demand=true
The online demo shows Atlassian Confluence 5.5.4-m2, Not version 5.4
see "https://confluence.atlassian.com/plugins/servlet/".
I would expect the "REST Browser" to show the "rest/api" endpoints. If not, can you tell me why?
Is the REST Browser Broken?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of the Atlassian Plugin SDK do you have installed? You can check by running the 'atlas-version' command. I'm using SDK version 5.0.3 and the new Confluence REST API is loading in the browser OK for me:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what I get...
C:\Users\porterj\Downloads>atlas-version
ATLAS Version: 5.0.3
ATLAS Home: C:\Users\porterj\atlassian-plugin-sdk
ATLAS Scripts: C:\Users\porterj\atlassian-plugin-sdk\bin
ATLAS Maven Home: C:\Users\porterj\atlassian-plugin-sdk\apache-maven-3.2.1
--------
Executing: "C:\Users\porterj\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\porterj\atlassian-plugin-sdk\apache
-maven-3.2.1/conf/settings.xml
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T13:07:52-04:30)
Maven home: C:\Users\porterj\atlassian-plugin-sdk\apache-maven-3.2.1\bin\..
Java version: 1.6.0_43, vendor: Sun Microsystems Inc.
Java home: C:\tools\Java\jdk1.6.0_43_32bit\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
It doesn't seem to mention the SDK version though.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "ATLAS Version" is the SDK version, so you're on the same one as me.
How are you starting Confluence? Can you show me the command you're using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.