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

« Previous Version 3 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 username -XPOST -H "Content-Type: application/json" --data '{"pageId":342345, \
"fieldName":"customer.name", "fieldValue":"ILA"}' http://localhost:8090/rest/pagefields/1.0/utility/update/field
Enter host password for user 'username':
{"field":10,"message":"[Info] Updated Page Field ID #10"}
$

Update creates field if not exists.

For more REST APIs go to, Page Fields REST API

  • No labels