I need update the classification of some pages, then I found it at https://developer.atlassian.com/cloud/confluence/rest/api-group-content-properties/#api-wiki-rest-api-content-id-property-key-post:
curl --request POST \ --url 'https://your-domain.atlassian.net/wiki/rest/api/content/{id}/property/{key}' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "value": [ "<string>" ] }'
But there is something wrong in my curl that returns error 500:
curl \
-X POST \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"value":{
"name":{
"value":"Interno",
"search":"Interno",
"index":2
},
"icon":{
"url":"/images/blue.png"
}
}
"version":{
"number":null
}
}' \
-u $user:$password \
"https://your-domain.atlassian.net/rest/api/content/111578749/property/classification"
someone could help me to fix it??
How can my website use an auto-ai photo-editing API?
Regarded
Tiger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i also have a question how can i use API on my website?
philodendron
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.
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.