Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

UPDATE PAGE FIELD

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]

$ curl -u"user:pass" -XPOST -H "Content-Type: application/json" --data '{"pageId":342345, \
"fieldName":"confidential.agreement.receive.date", "fieldValue":"2017-05-03"}' \
http://localhost:8090/rest/pagefields/1.0/utility/update/field

{"field":10,"message":"[Info] Updated Page Field"}
$

Update creates field if not exists.

For more REST APIs go to, Page Fields REST API

  • No labels