Files APIs

Save file or package repository item.

This API endpoint handles the saving of file data, including associated metadata. It requires an HTTP POST request with a RepositoryFileMetaData object provided in the request body. The API verifies the logged user's permissions, processes the file data, and then saves it. Once the file or package has been successfully stored, it can be sent to the device(s).

post/rest/manager/files/savefiledata

Request

  • Base URL
    https://masonconsole.com
  • Auth
    HTTP bearer

Request body

repositoryFileMetaDataIDstring
fileIDstring
fileNamestring
fileLocationstring
ownerUserstring
ownerDomainstring
lastEditorUserstring
privateFileboolean
fileDescstring
fileActionstring
argumentsstring
propertiesobject
colorstring
fontIconstring
creationDatestring date-time
lastUpdatestring date-time

Response

Successful response

dataobject
resultstring
messagestring
@classstring required

Changes