Skip to content

Commit c1f8730

Browse files
PourliverMaxime Carbonneau
andauthored
Added value and order to cookie search (#131)
* Added value and order to cookie search * Specified single value for values * Fixed typo in declaration --------- Co-authored-by: Maxime Carbonneau <maxime.carbonneau@flare.systems>
1 parent 5b1049f commit c1f8730

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/api-reference/astp/endpoints/post-cookies-search.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import GatedAccessFeatureAstp from '/snippets/gated-access-feature-astp.mdx';
88

99
<GatedAccessFeatureAstp />
1010

11-
Returns a list of credentials matching the query provided.
11+
Returns a list of cookies matching the query provided.
1212

1313
<ResponseExample>
1414

@@ -49,6 +49,10 @@ See the guide for using this endpoint:
4949
The exact domain for which you want to search cookies. Subdomains will not be included.
5050
</ParamField>
5151

52+
<ParamField body="values" type="string[]">
53+
A list of exact values for which you want to search cookies. Currently limited to a single value.
54+
</ParamField>
55+
5256
<ParamField body="size" type="number">
5357
The number of results to fetch. (default: 100, max: 2000)
5458
</ParamField>
@@ -72,3 +76,8 @@ See the guide for using this endpoint:
7276
<ParamField body="expires_after" type="string">
7377
ISO-formatted datetime string to filter for cookie expiration, for example `2024-10-29T17:50:44.237148+00:00`.
7478
</ParamField>
79+
80+
<ParamField body="order" type="string">
81+
Order in which you want to browse the cookies. One of `asc` or `desc`.
82+
It defaults to `asc` which is the recommended way to use the API to obtain newly imported cookies.
83+
</ParamField>

0 commit comments

Comments
 (0)