Artifacts

Create an artifact

Changed on

Creates an artifact owned by the caller, with its first version. Store each file with POST /api/files first.

post/api/artifacts

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-sixb-csrf
    • HTTP bearer
    • HTTP bearer

Request body

kind'document' | 'sheet' | 'slides' | 'page' | 'canvas' | 'file' required
titlestring required

Response

Response for status 201

Changes

    • warning

      added the new canvas enum value to the / response property for the response status

    • warning

      added the new page enum value to the / response property for the response status

    • info

      added the new canvas enum value to the request property (media type: application/json)

    • info

      added the new canvas enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new canvas enum value to the request property (media type: multipart/form-data)

    • info

      added the new page enum value to the request property (media type: application/json)

    • info

      added the new page enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new page enum value to the request property (media type: multipart/form-data)

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added subschema #4 subschema #5 to the / response property anyOf list for the response status

    • breaking

      removed the enum value canvas of the request property (media type: application/json)

    • breaking

      removed the enum value canvas of the request property (media type: application/x-www-form-urlencoded)

    • breaking

      removed the enum value canvas of the request property (media type: multipart/form-data)

    • breaking

      removed the enum value page of the request property (media type: application/json)

    • breaking

      removed the enum value page of the request property (media type: application/x-www-form-urlencoded)

    • breaking

      removed the enum value page of the request property (media type: multipart/form-data)

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      removed subschema #4 subschema #5 from the / response property anyOf list for the response status

    • info

      removed the canvas enum value from the / response property for the response status

    • info

      removed the page enum value from the / response property for the response status