@@ -20,19 +20,19 @@ service ObjectService {
2020 // keeping receiving order.
2121 //
2222 // Statuses:
23- // - **OK** (0, SECTION_SUCCESS):
24- // object has been successfully read;
23+ // - **OK** (0, SECTION_SUCCESS): \
24+ // object has been successfully read;
2525 // - Common failures (SECTION_FAILURE_COMMON);
26- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
27- // object container not found;
28- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
29- // read access to the object is denied;
30- // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT):
31- // object not found in container;
32- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
33- // provided session token has expired;
34- // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT):
35- // the requested object has been marked as deleted.
26+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
27+ // object container not found;
28+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
29+ // read access to the object is denied;
30+ // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
31+ // object not found in container;
32+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
33+ // provided session token has expired;
34+ // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
35+ // the requested object has been marked as deleted.
3636 rpc Get (GetRequest ) returns (stream GetResponse );
3737
3838 // Put the object into container. Request uses gRPC stream. First message
@@ -43,77 +43,77 @@ service ObjectService {
4343 // Chunk messages SHOULD be sent in direct order of fragmentation.
4444 //
4545 // Statuses:
46- // - **OK** (0, SECTION_SUCCESS):
47- // object has been successfully saved in the container;
46+ // - **OK** (0, SECTION_SUCCESS): \
47+ // object has been successfully saved in the container;
4848 // - Common failures (SECTION_FAILURE_COMMON);
49- // - **LOCKED** (2050, SECTION_OBJECT):
50- // placement of an object of type TOMBSTONE that includes at least one locked
51- // object is prohibited;
52- // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT):
53- // placement of an object of type LOCK that includes at least one object of
54- // type other than REGULAR is prohibited;
55- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
56- // object storage container not found;
57- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
58- // write access to the container is denied;
59- // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION):
60- // (for trusted object preparation) session private key does not exist or has
49+ // - **LOCKED** (2050, SECTION_OBJECT): \
50+ // placement of an object of type TOMBSTONE that includes at least one locked
51+ // object is prohibited;
52+ // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \
53+ // placement of an object of type LOCK that includes at least one object of
54+ // type other than REGULAR is prohibited;
55+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
56+ // object storage container not found;
57+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
58+ // write access to the container is denied;
59+ // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
60+ // (for trusted object preparation) session private key does not exist or has
6161 // been deleted;
62- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
63- // provided session token has expired.
62+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
63+ // provided session token has expired.
6464 rpc Put (stream PutRequest ) returns (PutResponse );
6565
6666 // Delete the object from a container. There is no immediate removal
6767 // guarantee. Object will be marked for removal and deleted eventually.
6868 //
6969 // Statuses:
70- // - **OK** (0, SECTION_SUCCESS):
71- // object has been successfully marked to be removed from the container;
70+ // - **OK** (0, SECTION_SUCCESS): \
71+ // object has been successfully marked to be removed from the container;
7272 // - Common failures (SECTION_FAILURE_COMMON);
73- // - **LOCKED** (2050, SECTION_OBJECT):
74- // deleting a locked object is prohibited;
75- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
76- // object container not found;
77- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
78- // delete access to the object is denied;
79- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
80- // provided session token has expired.
73+ // - **LOCKED** (2050, SECTION_OBJECT): \
74+ // deleting a locked object is prohibited;
75+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
76+ // object container not found;
77+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
78+ // delete access to the object is denied;
79+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
80+ // provided session token has expired.
8181 rpc Delete (DeleteRequest ) returns (DeleteResponse );
8282
8383 // Returns the object Headers without data payload. By default full header is
8484 // returned. If `main_only` request field is set, the short header with only
8585 // the very minimal information would be returned instead.
8686 //
8787 // Statuses:
88- // - **OK** (0, SECTION_SUCCESS):
89- // object header has been successfully read;
88+ // - **OK** (0, SECTION_SUCCESS): \
89+ // object header has been successfully read;
9090 // - Common failures (SECTION_FAILURE_COMMON);
91- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
92- // object container not found;
93- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
94- // access to operation HEAD of the object is denied;
95- // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT):
96- // object not found in container;
97- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
98- // provided session token has expired;
99- // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT):
100- // the requested object has been marked as deleted.
91+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
92+ // object container not found;
93+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
94+ // access to operation HEAD of the object is denied;
95+ // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
96+ // object not found in container;
97+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
98+ // provided session token has expired;
99+ // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
100+ // the requested object has been marked as deleted.
101101 rpc Head (HeadRequest ) returns (HeadResponse );
102102
103103 // Search objects in container. Search query allows to match by Object
104104 // Header's filed values. Please see the corresponding NeoFS Technical
105105 // Specification section for more details.
106106 //
107107 // Statuses:
108- // - **OK** (0, SECTION_SUCCESS):
109- // objects have been successfully selected;
108+ // - **OK** (0, SECTION_SUCCESS): \
109+ // objects have been successfully selected;
110110 // - Common failures (SECTION_FAILURE_COMMON);
111- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
112- // search container not found;
113- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
114- // access to operation SEARCH of the object is denied;
115- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
116- // provided session token has expired.
111+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
112+ // search container not found;
113+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
114+ // access to operation SEARCH of the object is denied;
115+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
116+ // provided session token has expired.
117117 rpc Search (SearchRequest ) returns (stream SearchResponse );
118118
119119 // Get byte range of data payload. Range is set as an (offset, length) tuple.
@@ -122,19 +122,19 @@ service ObjectService {
122122 // order.
123123 //
124124 // Statuses:
125- // - **OK** (0, SECTION_SUCCESS):
126- // data range of the object payload has been successfully read;
125+ // - **OK** (0, SECTION_SUCCESS): \
126+ // data range of the object payload has been successfully read;
127127 // - Common failures (SECTION_FAILURE_COMMON);
128- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
129- // object container not found;
130- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
131- // access to operation RANGE of the object is denied;
132- // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT):
133- // object not found in container;
134- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
135- // provided session token has expired;
136- // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT):
137- // the requested object has been marked as deleted.
128+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
129+ // object container not found;
130+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
131+ // access to operation RANGE of the object is denied;
132+ // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
133+ // object not found in container;
134+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
135+ // provided session token has expired;
136+ // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
137+ // the requested object has been marked as deleted.
138138 rpc GetRange (GetRangeRequest ) returns (stream GetRangeResponse );
139139
140140 // Returns homomorphic or regular hash of object's payload range after
@@ -143,17 +143,17 @@ service ObjectService {
143143 // request. Note that hash is calculated for XORed data.
144144 //
145145 // Statuses:
146- // - **OK** (0, SECTION_SUCCESS):
147- // data range of the object payload has been successfully hashed;
146+ // - **OK** (0, SECTION_SUCCESS): \
147+ // data range of the object payload has been successfully hashed;
148148 // - Common failures (SECTION_FAILURE_COMMON);
149- // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER):
150- // object container not found;
151- // - **ACCESS_DENIED** (2048, SECTION_OBJECT):
152- // access to operation RANGEHASH of the object is denied;
153- // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT):
154- // object not found in container;
155- // - **TOKEN_EXPIRED** (4097, SECTION_SESSION):
156- // provided session token has expired.
149+ // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
150+ // object container not found;
151+ // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
152+ // access to operation RANGEHASH of the object is denied;
153+ // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
154+ // object not found in container;
155+ // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
156+ // provided session token has expired.
157157 rpc GetRangeHash (GetRangeHashRequest ) returns (GetRangeHashResponse );
158158}
159159
0 commit comments