Hi All,
I have the Rest API Code to create Single Space in Confluence, but I am looking for a Rest API Script to create multiple spaces in Confluence like more there 10 Spaces at a time.
Reason: I have to perform Application Performance Test so I have execute the Code through JMETER.
Example: API used for single Space is as bellow:
{
"name": "WXY",
"key": "XYZ",
"description": {
"plain": {
"value": "This is an example space2",
"representation": "plain"
}
},
"metadata": {}
},
Please help me for multiple creation.
Dear @Kumar ,
there is no API call for this. You have to loop yourself around multiple times with
POST /rest/api/space
So long
Thomas
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.