diff --git a/docs/api-reference/astp/endpoints/post-cookies-search-by-value.mdx b/docs/api-reference/astp/endpoints/post-cookies-search-by-value.mdx new file mode 100644 index 0000000..1c60692 --- /dev/null +++ b/docs/api-reference/astp/endpoints/post-cookies-search-by-value.mdx @@ -0,0 +1,52 @@ +--- +title: "Search Cookies by Value" +api: "POST https://api.flare.io/astp/v2/cookies/_search_by_value" +authMethod: "bearer" +--- + +import GatedAccessFeatureAstp from '/snippets/gated-access-feature-astp.mdx'; + + + +Returns a list of cookies matching the value provided, paginated and in descending order from most recently added to least recently added. + + + +```json Response Example +{ + "items": [ + { + "uuid": "44672461-aca4-4b3b-b192-6bd5429c4c6d", + "domain": "scatterholt.com", + "expires_at": "2024-10-18T00:00:00+00:00", + "imported_at": "2024-01-01T00:00:00+00:00", + "name": "session", + "path": "/", + "event_uid": "stealer_log/stealer_logs_live/12345", + "value": "abcdefghijkl", + }, + ], + "next": "WzFd", +} +``` + + + +## Paging + +This endpoint supports the +[Flare standard paging pattern ](/concepts/paging). + +## Body Parameters + + + The exact value for which you want to search cookies. + + + + The number of results to fetch. (default: 100, max: 2000) + + + + The `next` value from the last response. + diff --git a/docs/api-reference/astp/endpoints/post-cookies-search.mdx b/docs/api-reference/astp/endpoints/post-cookies-search.mdx index 1a75428..5923048 100644 --- a/docs/api-reference/astp/endpoints/post-cookies-search.mdx +++ b/docs/api-reference/astp/endpoints/post-cookies-search.mdx @@ -27,7 +27,6 @@ Returns a list of credentials matching the query provided. }, ], "next": "WzFd", - } } ``` diff --git a/docs/docs.json b/docs/docs.json index 6a5f0db..2143319 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -115,7 +115,8 @@ { "group": "Cookies", "pages": [ - "api-reference/astp/endpoints/post-cookies-search" + "api-reference/astp/endpoints/post-cookies-search", + "api-reference/astp/endpoints/post-cookies-search-by-value" ] } ]