Skip to end of metadata
Go to start of metadata

Function addBlock

Example

/oxyd/addBlock/Foo/Bar?position=2&content=this%20is%20

  • Foo is the workspace name
  • Bar is the document name

Developpement Status

In progress

Parameters

  • The Workspace Name (in the URL)
  • The Document Name (in the URL)
  • position is a string (it can be usefull for the text, but not for XML)
  • content the best is to send it by POST, he contain the content of the block

functionality

  • this create the block and if necessary move others blocks
  • set the content of the block

return of the function

return an XML with the block.

Labels
  • None