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
Copy file name to clipboardExpand all lines: proto-docs/object.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -834,10 +834,10 @@ Object Search request body
834
834
| ----- | ---- | ----- | ----------- |
835
835
| container_id |[neo.fs.v2.refs.ContainerID](#neo.fs.v2.refs.ContainerID)|| Container where the search is being performed. |
836
836
| version |[uint32](#uint32)|| Version of the Query Language used. |
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 search expression MUST use the first requested attribute. |
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). |
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. |
841
841
842
842
843
843
<aname="neo.fs.v2.object.SearchV2Response"></a>
@@ -1025,10 +1025,6 @@ prefix to the name. Here is the list of fields available via this prefix:
1025
1025
1026
1026
* $Object:version\
1027
1027
version
1028
-
* $Object:objectID\
1029
-
object_id
1030
-
* $Object:containerID\
1031
-
container_id
1032
1028
* $Object:ownerID\
1033
1029
owner_id
1034
1030
* $Object:creationEpoch\
@@ -1064,6 +1060,13 @@ properties:
1064
1060
Returns only objects physically stored in the system. This filter is
1065
1061
activated if the `key` exists, disregarding the value and matcher type.
1066
1062
1063
+
Following filters are deprecated:
1064
+
1065
+
* $Object:objectID\
1066
+
object_id
1067
+
* $Object:containerID\
1068
+
container_id
1069
+
1067
1070
Note: using filters with a key with prefix `$Object:` and match type
1068
1071
`NOT_PRESENT `is not recommended since this is not a cross-version approach.
1069
1072
Behavior when processing this kind of filters is undefined.
0 commit comments