mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: Update Includes example values and enhance description for clarity
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
"labels": {
|
||||
"_type": "Includes",
|
||||
"value": [
|
||||
"18a50259-6802-4478-8e0b-f3ea8f5b2792",
|
||||
"1c17c3e1-85d5-4d65-8a90-fe55aa2a2f90"
|
||||
"aaa00000-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
|
||||
"bbb00000-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -402,7 +402,10 @@
|
||||
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
|
||||
<div class="[&>:first-child]:mt-0 [&>:last-child]:mb-0">
|
||||
<p>
|
||||
Here is how to use `includes` to query with OneUptime List API:
|
||||
Includes will get objects that match any of the values in the array. It is used to
|
||||
filter objects that have a field that matches any of the values in the array. For example, if you
|
||||
want to get all objects that have a label with ID `aaa00000-aaaa-aaaa-aaaa-aaaaaaaaaaaa` or
|
||||
`bbb00000-bbbb-bbbb-bbbb-bbbbbbbbbbbb`, you can use the `includes` query type.
|
||||
</p>
|
||||
|
||||
<div class="my-6">
|
||||
|
||||
Reference in New Issue
Block a user