The following operations are available. For a formal definition, please review the Service Description.
Stores a file in the file service.
Owner
is 0, file will be stored under the authority logged in, otherwise file will be stored under the specified authority, for which the logged in user must have rights.Category
must be a value from the 'file-category' value list.Title
must be unique among files with same owner and category.Content
is the Base64 encoded contents of the file to store.Returns identifier of stored file.
This operation is only valid for authorities.
Returns a list of files (identifier, title, MIME type and URL) for a given owner and category.
Owner
must be an authority id.Category
must be a value from the 'file-category' value list.This operation is valid for both applicants and authorities.
Removes a file from the file service.
This operation is only valid for authorities.