Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want add attachment data on confluence page using rest api postman

Balaji Shriram Murkute
Contributor
June 12, 2023

Hi team,

I want to add attachment data to a Confluence page using the Rest API Postman.

I am trying to add attachment data using the below JSON payload.

API:https://{url}}/wiki/rest/api/content
JSON:
{
    "type": "page",
    "title": "Abc2",
    "space": {
        "key": "Test1"
    },
    "body": {
        "storage": {
            "value": "Test.html",
            "representation": "storage"
        }
    }
}
But still, attachment data is not coming in on the Confluence page, so please suggest if it is possible or not.
Regards,
Balaji Murkute.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events