From 5affdf2d381526b082d7c0b0570fa9441a878f02 Mon Sep 17 00:00:00 2001 From: mordka Date: Tue, 25 Jul 2017 18:03:02 +0200 Subject: [PATCH] add library methods --- source/includes/_library.md | 23 +++++++++++++++++++++++ source/includes/_user.md | 7 ++----- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/source/includes/_library.md b/source/includes/_library.md index b23eb3f3baa..e2bcd7f0ceb 100644 --- a/source/includes/_library.md +++ b/source/includes/_library.md @@ -48,3 +48,26 @@ filename | string | required| the name which will be assigned in s3 storage After you obtain the presigned url, you need to perform browser based upload to S3. More details in S3 API documentation: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html +### List session media files + +Retrieve all images and videos recorded on a given device in particular session. +#### API Endpoint + + `GET /library/device/{deviceId}/session/{sessionId}` + +### List device media files + +Retrieve all images and videos recorded on a given device in any session. +#### API Endpoint + + `GET /library/device/{deviceId}/session}` + +### List device sessions + +Retrieve list of sessions recorded using particular device. +#### API Endpoint + + `GET /library/session/device/{deviceId}/` + + + diff --git a/source/includes/_user.md b/source/includes/_user.md index a2407916e3e..3ace940496c 100644 --- a/source/includes/_user.md +++ b/source/includes/_user.md @@ -1,17 +1,14 @@ - ## User -Represents customer user. +Represents the Unleash User. ### Create a user -Creates new user item +Create new representation of Unleash User. This is post user registration and used only for user data management (not authentication) #### API Endpoint `POST /user` - - #### Parameters Name | Type | Contraints | Description