fix: Update Includes example values and enhance description for clarity

This commit is contained in:
Simon Larsen
2025-07-10 14:26:25 +01:00
parent 16bed1861c
commit cd8d851366
2 changed files with 6 additions and 3 deletions

View File

@@ -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"
]
}
}

View File

@@ -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="[&amp;>:first-child]:mt-0 [&amp;>: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">