forked from TrueCloudLab/frostfs-api
[#194] Document status returns of Object and Container service RPCs
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1c683c7578
commit
0caf501b4a
2 changed files with 69 additions and 12 deletions
|
@ -42,7 +42,9 @@ service ContainerService {
|
|||
// Statuses:
|
||||
// - **OK** (0, SECTION_SUCCESS):
|
||||
// container has been successfully read;
|
||||
// - Common failures (SECTION_FAILURE_COMMON).
|
||||
// - Common failures (SECTION_FAILURE_COMMON);
|
||||
// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
|
||||
// requested container not found.
|
||||
rpc Get(GetRequest) returns (GetResponse);
|
||||
|
||||
// Returns all owner's containers from 'Container` smart contract' storage.
|
||||
|
@ -69,7 +71,9 @@ service ContainerService {
|
|||
// Statuses:
|
||||
// - **OK** (0, SECTION_SUCCESS):
|
||||
// container eACL has been successfully read;
|
||||
// - Common failures (SECTION_FAILURE_COMMON).
|
||||
// - Common failures (SECTION_FAILURE_COMMON);
|
||||
// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
|
||||
// container not found.
|
||||
rpc GetExtendedACL(GetExtendedACLRequest) returns (GetExtendedACLResponse);
|
||||
|
||||
// Announce container used space values for P2P synchronization.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue