/api/document

POST /api/document/{from-document-id}/copy

Changed on

Copy a Document.

post/api/document/{from-document-id}/copy

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

from-document-idinteger required

value must be an integer greater than zero.

Request body

collection_idinteger nullable

value must be an integer greater than zero.

collection_positioninteger nullable

value must be an integer greater than zero.

namestring nullable

value must be a non-blank string.

Response

Successful response

idinteger required

Valid Document ID

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      endpoint added