Child pages
  • Add/Edit Backup Note

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Use the following API request to update backup with a note:

XML Request example

Code Block
curl -X PUT http://onapp.test/backups/:backup_id/note.xml -d '<backup><note>test note</note></backup>' -u user:password -H 'Accept: application/xml' -H 'Content-type: application/xml'


JSON Request example

Code Block
curl -X PUT http://onapp.test/backups/:backup_id/note.json -d '{"backup":{"note":"test note"}}' -u user:password -H 'Accept: application/json' -H 'Content-type: application/json'

Where you have to specify backup ID in the URL.