Create a document

Creates a new document in the specified vault. Set status to "active" for immediate publication; otherwise it is saved as a draft.