From a9839809518248f00c364e6e22890e1457c54dd3 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 20 May 2022 12:33:37 +0300 Subject: [PATCH] [#4] Update README Signed-off-by: Alex Vanin --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 344303d..32715cd 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,9 @@ const neofsCli = native.connect("s01.neofs.devenv:8080", "") #### Methods - `put(container_id, headers, payload)`. Returns dictionary with `success` - boolean flag and `container_id` string. -- `get(container_id, object_id)`. Returns boolean flag. + boolean flag, `object_id` string, and `error` string. +- `get(container_id, object_id)`. Returns dictionary with `success` boolean + flag, and `error` string. ### S3 @@ -63,8 +64,10 @@ const s3cli = s3.connect("http://s3.neofs.devenv:8080") ``` #### Methods -- `put(bucket, key, payload)`. Returns boolean flag. -- `get(bucket, key)`. Returns boolean flag. +- `put(bucket, key, payload)`. Returns dictionary with `success` boolean flag + and `error` string. +- `get(bucket, key)`. Returns dictionary with `success` boolean flag and `error` + string. ## Examples