Path: / files

get all file-descriptors


Resources
NameDescription
{id}get a file-descriptor with given id

Method Summary
ResourceDescription
GET /filesget all file-descriptors
POST /filesupload a file

Method Detail
HTTP Example:
GET /files

API Example:

FilesResource.getAllFileDescriptors({});

get all file-descriptors

Output:
java.util.List<java.io.FileDescriptor> - list of FileDescriptor
Produces:
application/json
HTTP Example:
POST /files

API Example:

FilesResource.uploadFile({'$entity': /* input form data with file and other information */});

upload a file

Input:
org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput - form data with file and other information
Output:
java.io.FileDescriptor - generated new FileDescriptor
Produces:
application/json
Consumes:
multipart/form-data