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
@@ -117,7 +118,7 @@ Events can use the [Blobs API](/developers/api-reference/blobs-api/) to associat
117
118
```json
118
119
cat > /tmp/event.json <<EOF
119
120
{
120
-
"trails": ["Safety Conformance", "Clouseau"],
121
+
"trails": ["Clouseau"],
121
122
"attributes": {
122
123
"arc_primary_image": {
123
124
"arc_attribute_type": "arc_attachment",
@@ -127,7 +128,8 @@ Events can use the [Blobs API](/developers/api-reference/blobs-api/) to associat
127
128
"arc_blob_hash_alg": "SHA256",
128
129
"arc_file_name": "$BLOB_FILE"
129
130
}
130
-
}
131
+
},
132
+
"event_type": "Safety Conformance",
131
133
}
132
134
EOF
133
135
```
@@ -177,23 +179,29 @@ Event records in DataTrails are assigned UUIDs at creation time and referred to
177
179
```bash
178
180
cat > /tmp/search.json <<EOF
179
181
{
180
-
"filter": "",
182
+
"filter": "trails/any(t: t eq 'Clouseau') and event_type eq 'Safety Conformance'",
181
183
"top": 20,
182
184
"skip": 0
183
185
}
184
186
EOF
185
187
```
186
188
187
189
where:
188
-
`filter` = attribute name/value pairs
190
+
`filter` = [OData filter](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31360955) expression currently following properties of event are filterable:
0 commit comments