All requests must be sent using POST method with parameters in the JSON encoded
body. Server needs Content-Type
set to application/json
.
Status code is:
200
if success400
if client/parameter error Error should return amessage
parameter to provide informations about the error.
All response parameters are sent into a JSON encoded object as the body
with Content-Type
set to application/json
.
- account: the name of the account trying to login
- key: access key
- type: The type of the user
- key: access key
- content: base64 encoded content
- houseId : id of the house that the document is linked
- url: file url
- key: access key
- url: file url
- content: base64 encoded content
- key: access key
- url: file url
- houseId : id of the house that the document is linked
- owner: The nale of the person the file belong to.
None
- key: access key
-content : list of houses and for each house a list of files
- key: access key
- houseId: id of the house that the document is linked
None
- key: access key
- street : street of the house
- zipCode : zip code of the house
- city : of the house
- country : of the house
none
- key: access key
- houseId : id of the house
None
- key: access key
- houseId : id of the house
- documentId: Id of the document
- owner: the owner of the house
None