Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/api-reference/astp/endpoints/post-cookies-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authMethod: "bearer"
---

import GatedAccessFeature from '/snippets/gated-access-feature.mdx';
import { BetaTag } from '/snippets/beta-tag.mdx';

<GatedAccessFeature name="Account & Session Takeover Prevention (ASTP)" />

Expand Down Expand Up @@ -81,3 +82,11 @@ See the guide for using this endpoint:
Order in which you want to browse the cookies. One of `asc` or `desc`.
It defaults to `asc` which is the recommended way to use the API to obtain newly imported cookies.
</ParamField>

<ParamField body="with_subdomains" type="boolean" default={false} post={[<BetaTag />]}>
When `true`, `domain` is treated as the parent domain and the results also include cookies from its subdomains.

<Note>
This parameter only has an effect if a cookie matching policy is configured for the domain with **Match subdomains** enabled. Without one, only exact matches on `domain` are returned.
</Note>
</ParamField>
1 change: 1 addition & 0 deletions docs/snippets/beta-tag.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const BetaTag = () => <span className="field-beta-pill">beta</span>;
11 changes: 11 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[data-component-part="field-meta-post"]:has(> .field-beta-pill) {
white-space: nowrap;
font-weight: 500;
background-color: rgb(219 234 254 / 0.5); /* blue-100/50 */
color: rgb(37 99 235); /* blue-600 */
}

.dark [data-component-part="field-meta-post"]:has(> .field-beta-pill) {
background-color: rgb(96 165 250 / 0.1); /* blue-400/10 */
color: rgb(147 197 253); /* blue-300 */
}
Loading