Status | ||||
---|---|---|---|---|
|
POSTÂ http://localhost:8090/rest/pagefields/1.0/utility/updateadd/field
Required Schema Fields:
pageId (Number) - Confluence Page ID
fieldName (String)
fieldValue (String)
history (Boolean) - Optional
Response: [Status: 200]
Code Block |
---|
$ curl -u user -XPOST -H "Content-Type: application/json" --data '{"pageId":342345, \ "fieldName":"customer.name", "fieldValue":"ILA eSolution"}' \ http://localhost:8090/rest/pagefields/1.0/utility/add/field Enter host password for user 'user:pass" -': {"field":10,"message":"[Info] Added New Page Field ID #10"} $ |
Status | ||||
---|---|---|---|---|
|
POSTÂ http://localhost:8090/rest/pagefields/1.0/utility/update/field
Required Schema Fields:
pageId (Number) - Confluence Page ID
fieldName (String)
fieldValue (String)
history (Boolean) - Optional
Response: [Status: 200]
Code Block |
---|
$ curl -u user -XPOST -H "Content-Type: application/json" --data '{"pageId":342345, \ "fieldName":"confidential.agreement.receive.datecustomer.name", "fieldValue":"2017-05-03ILA"}' \ http://localhost:8090/rest/pagefields/1.0/utility/update/field Enter host password for user 'user': {"field":10,"message":"[Info] Updated Page Field ID #10"} $ |
Info |
---|
Update creates field if not exists. |
...