action wiremock_post_admin_requests_count { label: "Count requests by criteria" description: "Count requests logged in the journal matching the specified criteria" provider: wiremock method: POST path: "/__admin/requests/count" encoding: json input: { type: "object" properties: { basicAuthCredentials: { type: "object" description: "Pre-emptive basic auth credentials to match against" required: ["password", "username"] properties: { password: { type: "string" } username: { type: "string" } } } bodyPatterns: { type: "array" description: "Request body patterns to match against in the : { \"\": \"\" } form" items: { type: "object" } } cookies: { type: "object" description: "Cookie patterns to match against in the : { \"\": \"\" } form" } headers: { type: "object" description: "Header patterns to match against in the : { \"\": \"\" } form" } method: { type: "string" description: "The HTTP request method e.g. GET" } queryParameters: { type: "object" description: "Query parameter patterns to match against in the : { \"\": \"\" } form" } url: { type: "string" description: "The path and query to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPath: { type: "string" description: "The path to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPathPattern: { type: "string" description: "The path regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPattern: { type: "string" description: "The path and query regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } } } output: { type: "object" properties: { count: { type: "integer" } } } }