# `Magpie.Files.Paper`
[🔗](https://github.com/alexcassol/magpie/blob/v0.3.1/lib/magpie/files/paper.ex#L1)

Paper docs stored as files (`/files/paper/*`) — the replacement for the
deprecated `/paper/docs/*` API. Content is uploaded from a local file.

# `create`

Creates a new Paper doc at `path` importing the local file `file`
(`import_format`: `"html"`, `"markdown"` or `"plain_text"`).

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-paper-create

# `update`

Updates an existing Paper doc with the contents of the local file `file`.
`doc_update_policy` is `"update"` or `"overwrite"`; `opts` accepts
`"paper_revision"`.

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-paper-update

---

*Consult [api-reference.md](api-reference.md) for complete listing*
