{ "opencollection": "1.0.0", "info": { "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Turnstile API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Turnstile", "type": "folder" }, "items": [ { "info": { "name": "APIs.io Engineering Platform List Turnstile Widgets", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query" } ] }, "docs": "Lists all turnstile widgets of an account." }, { "info": { "name": "APIs.io Engineering Platform Create a Turnstile Widget", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Lists challenge widgets." }, { "info": { "name": "APIs.io Engineering Platform Turnstile Widget Details", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets/:sitekey", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "sitekey", "value": "", "type": "path" } ] }, "docs": "Show a single challenge widget configuration." }, { "info": { "name": "APIs.io Engineering Platform Update a Turnstile Widget", "type": "http" }, "http": { "method": "PUT", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets/:sitekey", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "sitekey", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the configuration of a widget." }, { "info": { "name": "APIs.io Engineering Platform Delete a Turnstile Widget", "type": "http" }, "http": { "method": "DELETE", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets/:sitekey", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "sitekey", "value": "", "type": "path" } ] }, "docs": "Destroy a Turnstile Widget." }, { "info": { "name": "APIs.io Engineering Platform Rotate Secret for a Turnstile Widget", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/challenges/widgets/:sitekey/rotate_secret", "params": [ { "name": "account_id", "value": "", "type": "path" }, { "name": "sitekey", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generate a new secret key for this widget. If `invalidate_immediately`\nis set to `false`, the previous secret remains valid for 2 hours.\n\nNote that secrets cannot be rotated again during the grace period.\n" } ] } ], "bundled": true }