files
post/files

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/files
  • Auth
    API key in header Authorization

Request body

namestring required
descriptionstring
mime_typestring nullable
contentstring required
projectstring nullable

Response

Successful Response

idstring uuid required
created_atstring date-time required
namestring required
descriptionstring
mime_typestring nullable
contentstring required
projectstring nullable
sizeinteger required
hashstring required

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from 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 required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the response required property became read-only for the status