Port: 8082
GET /api/v1/test
- 200 bei Erfolg
- Timeout, wenn Server nicht gefunden wurde
GET /api/v1/images
{
"success": true,
"images": [
{
"uuid": "???",
"filename": "???",
"uploadedFrom": "???",
"totalViewCount": 315,
"show": true/false,
"createdDate": "ISO8601",
"data": "base64 encoded image (thumbnail) or empty string"
}
]
}
POST /api/v1/images/upload
Content-Type: application/json
{
"uuid": <generate uuid on device>,
"name": <name from photographer>,
"image": <base64 encoded jpeg image>
}
- 200 bei Erfolg
- 400, 500 ?! Fehler