Resource API

POST /api/upload-resource

Changed on

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/upload-resource
  • Auth
    none declared

Query parameters

ownerstring required

Owner

userstring required

User

applicationstring required

Application

tagstring

Tag

parentstring

Parent

fullFilePathstring required

Full File Path

createdTimestring

Created Time

descriptionstring

Description

Request body application/x-www-form-urlencoded

filestring binary required

Resource file

Response

FileUrl, objectKey

applicationstring
createdTimestring
descriptionstring
fileFormatstring
fileNamestring
fileSizeinteger
fileTypestring
namestring
ownerstring
parentstring
providerstring
tagstring
urlstring
userstring

Changes

    • breaking

      added the new required query request parameter application

    • breaking

      added the new required query request parameter fullFilePath

    • breaking

      added the new required query request parameter owner

    • breaking

      added the new required query request parameter user

    • info

      added the new optional query request parameter createdTime

    • info

      added the new optional query request parameter description

    • info

      added the new optional query request parameter parent

    • info

      added the new optional query request parameter tag

    • info

      added the success response with the status

    • info

      endpoint added