/
Update Page Fields
Update Page Fields
Add Page Field
POST http://localhost:8090/rest/pagefields/1.0/utility/add/field
Required Schema Fields:
pageId (Number) - Confluence Page ID
fieldName (String)
fieldValue (String)
history (Boolean) - Optional
Response: [Status: 200]
$ 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':
{"field":10,"message":"[Info] Added New Page Field ID #10"}
$
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 -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 'user':
{"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
, multiple selections available,
Related content
Page Fields REST API
Page Fields REST API
More like this
Page Fields for Confluence
Page Fields for Confluence
More like this
Page Fields for Chart Macro
Page Fields for Chart Macro
Read with this
CQL Search for Page Field Name
CQL Search for Page Field Name
Read with this
Space Fields REST API
Space Fields REST API
More like this
Space Fields Cloud App
Space Fields Cloud App
More like this