Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
titleAdd 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]

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':
{"field":10,"message":"[Info] Added New Page Field ID #10"}
$

Status
colourGreen
titleUpdate Page Field

POST http://localhost:8090/rest/pagefields/1.0/utility/update/field

...