# HELLO WEB SERVICES !

http://localhost:8080/linshare/webservice/services

# Exemples REST (json ou xml)

## Récuperer la liste des documents utilisateur

- http://localhost:8080/linshare/webservice/rest/list.json
- http://localhost:8080/linshare/webservice/rest/list.xml

## Upload un fichier (multipart/form-data)

retour info doc en json

comment: |
filename: |
file: |

retour info doc en xml

comment: |
filename: |
file: |

## userMaxFileSize

- http://localhost:8080/linshare/webservice/rest/document/userMaxFileSize.json
- http://localhost:8080/linshare/webservice/rest/document/userMaxFileSize.xml

## availableSize

- http://localhost:8080/linshare/webservice/rest/document/availableSize.json
- http://localhost:8080/linshare/webservice/rest/document/availableSize.xml

## Share a document

url est http://localhost:8080/linshare/webservice/rest/share/sharedocument/maggie.simpson@int1.linshare.dev/7e6fb8a3-82dd-48c1-a3b8-f0eaaff815fb?securedShare=1
Share a document

## Share multiple documents

To:
Secured share
comment:
bla bla

Files: