You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| key |[bytes](#bytes)|| Parameter key. UTF-8 encoded string (with no zero bytes). |
346
346
| value |[bytes](#bytes)|| Parameter value |
347
347
348
348
@@ -370,7 +370,7 @@ NeoFS node description
370
370
| ----- | ---- | ----- | ----------- |
371
371
| public_key |[bytes](#bytes)|| Public key of the NeoFS node in a binary format |
372
372
| addresses |[string](#string)| repeated | Ways to connect to a node |
373
-
| attributes |[NodeInfo.Attribute](#neo.fs.v2.netmap.NodeInfo.Attribute)| repeated | Carries list of the NeoFS node attributes in a key-value form. Key name must be a node-unique valid UTF-8 string. Value can't be empty. NodeInfo structures with duplicated attribute names or attributes with empty values will be considered invalid. |
373
+
| attributes |[NodeInfo.Attribute](#neo.fs.v2.netmap.NodeInfo.Attribute)| repeated | Carries list of the NeoFS node attributes in a key-value form. Key name must be a node-unique valid UTF-8 string (without zero bytes). Value can't be empty. NodeInfo structures with duplicated attribute names or attributes with empty values will be considered invalid. |
374
374
| state |[NodeInfo.State](#neo.fs.v2.netmap.NodeInfo.State)|| Carries state of the NeoFS node |
375
375
376
376
@@ -380,7 +380,7 @@ NeoFS node description
380
380
Administrator-defined Attributes of the NeoFS Storage Node.
381
381
382
382
`Attribute` is a Key-Value metadata pair. Key name must be a valid UTF-8
383
-
string. Value can't be empty.
383
+
string (without zero bytes that are forbidden). Value can't be empty.
384
384
385
385
Attributes can be constructed into a chain of attributes: any attribute can
386
386
have a parent attribute and a child attribute (except the first and the last
Copy file name to clipboardExpand all lines: proto-docs/object.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -837,7 +837,7 @@ Object Search request body
837
837
| filters |[SearchFilter](#neo.fs.v2.object.SearchFilter)| repeated | List of search expressions. Limited to 8. If additional attributes are requested (see attributes below) then the first filter's key MUST be the first requested attribute. '$Object:containerID' and '$Object:objectID' filters are prohibited. |
838
838
| cursor |[string](#string)|| Cursor to continue search. Can be omitted or empty for the new search. |
839
839
| count |[uint32](#uint32)|| Limits the number of responses to the specified number. Can't be more than 1000. |
840
-
| attributes |[string](#string)| repeated | List of attribute names (including special ones as defined by SearchFilter key) to include into the reply. Limited to 8, these attributes also affect result ordering (result is ordered by attributes and then by OID). If additional attributes are requested, then the first filter key (see filters above) MUST be the first requested attribute. '$Object:containerID' and '$Object:objectID' attributes are prohibited. |
840
+
| attributes |[string](#string)| repeated | List of attribute names (including special ones as defined by SearchFilter key) to include into the reply. Limited to 8, these attributes also affect result ordering (result is ordered by attributes and then by OID). If additional attributes are requested, then the first filter's key (see filters above) MUST be the first requested attribute. '$Object:containerID' and '$Object:objectID' attributes are prohibited. |
841
841
842
842
843
843
<aname="neo.fs.v2.object.SearchV2Response"></a>
@@ -920,7 +920,8 @@ object.
920
920
921
921
Key name must be an object-unique valid UTF-8 string. Value can't be empty.
922
922
Objects with duplicated attribute names or attributes with empty values
923
-
will be considered invalid.
923
+
will be considered invalid. Keys and values can't contain zero bytes as
924
+
well.
924
925
925
926
There are some "well-known" attributes starting with `__NEOFS__` prefix
0 commit comments