Unfinished project, still in development
- Name : FileSpace
- Description : Remote file manager + Home automation with Raspberry Pi
- Front : Android & Web
- Back : Rest API PHP
- Location : Paris
- Starting Date : October 2014
- Configuration : /config/config.json
- Install data base : /database/script.sql
- Allow rewrite_module on Apache (httpd.conf) : LoadModule rewrite_module modules/mod_rewrite.so
- Tested on Apache
- Optional robotics : Raspberry Pi with this project
For each file request : basic-authentication token:empty
Root |
Method |
Description |
Input |
Output |
/file/ |
GET |
Get list of files (bdd) |
|
jsonArray files (include ids) |
/file/ |
POST |
Add file (bdd + physic) |
'url','visibility','file' |
json file id |
/file/:id |
GET |
Get file (physic) |
|
real file (download) |
/file/:id |
PUT |
Update file (bdd + physic) |
|
|
/file/:id |
DELETE |
Delete file (bdd + physic) |
|
|
Root |
Method |
Description |
Input |
Output |
/user |
GET |
|
basic-authentication login:pass |
json |
/user |
POST |
|
'username','password' |
json token |
Root |
Method |
Description |
Input |
Output |
/robotics/:id |
GET |
Get the raspberry pin status |
pin id (url) |
json |
/robotics/:id |
PUT |
Set the raspberry pin status |
pin id (url) |
json |
Root |
Method |
Description |
Input |
Output |
/information |
GET |
|
|
json |
OpenSource : just mention developer name if you use the code.