Hello,
for university i need to create a short presentation about Confluence, focused on the API.
For this I need a to provide a sample API request on my Confluence instance.
I am using Postman to send requests.
I've read this article: https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/ and tried sending the following:
GET https://<<my Confluence>>.atlassian.net:8080/confluence/rest/api/131664/child/attachment
in order to read the attachements of this page. (<<my Confluence>> is the name I gave my page.)
However, Postman returns "Could not get any response".
Is there something I am doing fundamentally wrong?
Unfortunately I don't have any experience with APIs so any help would be greatly appreciated.
Thank you and have a nice day
I think the example in your documentation is outdated.
Check the official REST API for Cloud. There, you can find the API for getting attachments.
GET /wiki/rest/api/content/{id}/child/attachment
For your instance:
https://<<my Confluence>>.atlassian.net/wiki/rest/api/content/131664/child/attachment
Hope this helped
Regards, Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.