Back to DropboxPaper - Docs - Create
Creates a new Paper doc with the provided content.
Input
type: object
properties:
data:
type: object
description: >
import_format: The format of provided data.
parent_folder_id: The Paper folder ID where the Paper document should be
created. The API user has to have write access to this folder or error is
thrown.
properties:
parent_folder_id:
type: string
description: >-
The Paper folder ID where the Paper document should be created. The
API user has to have write access to this folder or error is thrown.
import_format:
type: object
description: >
The import format of the incoming data.
html: The provided data is interpreted as standard HTML.
markdown: The provided data is interpreted as markdown.
Note: The first line of the provided document will be used as the doc
title.
plain_text: The provided data is interpreted as plain text.
Note: The first line of the provided document will be used as the doc
title.
other: None
properties:
.tag:
title: Choice of ImportFormat
type: string
enum:
- html
- markdown
- plain_text
- other
title: Data
Output
type: object
description: |
doc_id: Doc ID of the newly created doc.
revision: The Paper doc revision. Simply an ever increasing number.
title: The Paper doc title.
properties:
title:
type: string
description: The Paper doc title.
doc_id:
type: string
description: Doc ID of the newly created doc.
revision:
type: number
description: The Paper doc revision. Simply an ever increasing number.