{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:rbaskets-in/get-api-baskets":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_baskets","summary":"Get baskets","description":"GET /api/baskets","tags":["dev-tools"],"parameters":[{"name":"max","in":"query","required":false,"description":"Maximum number of basket names to return; default 20","schema":{"type":"integer","description":"Maximum number of basket names to return; default 20"}},{"name":"skip","in":"query","required":false,"description":"Number of basket names to skip; default 0","schema":{"type":"integer","description":"Number of basket names to skip; default 0"}},{"name":"q","in":"query","required":false,"description":"Query string to filter result, only those basket names that match the query will be included in response","schema":{"type":"string","description":"Query string to filter result, only those basket names that match the query will be included in response"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/get-api-baskets-name":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_baskets_name","summary":"Get basket settings","description":"GET /api/baskets/{name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The basket name","schema":{"type":"string","description":"The basket name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/post-api-baskets-name":{"post":{"operationId":"dev_tools_rbaskets_in_post_api_baskets_name","summary":"Create new basket","description":"POST /api/baskets/{name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of new basket"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/put-api-baskets-name":{"post":{"operationId":"dev_tools_rbaskets_in_put_api_baskets_name","summary":"Update basket settings","description":"PUT /api/baskets/{name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The basket name"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/delete-api-baskets-name":{"post":{"operationId":"dev_tools_rbaskets_in_delete_api_baskets_name","summary":"Delete basket","description":"DELETE /api/baskets/{name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The basket name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/get-api-baskets-name-requests":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_baskets_name_requests","summary":"Get collected requests","description":"GET /api/baskets/{name}/requests","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The basket name","schema":{"type":"string","description":"The basket name"}},{"name":"max","in":"query","required":false,"description":"Maximum number of requests to return; default 20","schema":{"type":"integer","description":"Maximum number of requests to return; default 20"}},{"name":"skip","in":"query","required":false,"description":"Number of requests to skip; default 0","schema":{"type":"integer","description":"Number of requests to skip; default 0"}},{"name":"q","in":"query","required":false,"description":"Query string to filter result, only requests that match the query will be included in response","schema":{"type":"string","description":"Query string to filter result, only requests that match the query will be included in response"}},{"name":"in","in":"query","required":false,"description":"Defines what is taken into account when filtering is applied: `body` - search in content body of collected requests, `query` - search…","schema":{"type":"string","enum":["any","body","query","headers"],"description":"Defines what is taken into account when filtering is applied: `body` - search in content body of collected requests, `query` - search…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/delete-api-baskets-name-requests":{"post":{"operationId":"dev_tools_rbaskets_in_delete_api_baskets_name_requests","summary":"Delete all requests","description":"DELETE /api/baskets/{name}/requests","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The basket name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/get-api-baskets-name-responses-method":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_baskets_name_responses_method","summary":"Get response settings","description":"GET /api/baskets/{name}/responses/{method}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The basket name","schema":{"type":"string","description":"The basket name"}},{"name":"method","in":"query","required":true,"description":"The HTTP method this response is configured for","schema":{"type":"string","enum":["GET","HEAD","POST","PUT","PATCH","DELETE","CONNECT","OPTIONS","TRACE"],"description":"The HTTP method this response is configured for"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/put-api-baskets-name-responses-method":{"post":{"operationId":"dev_tools_rbaskets_in_put_api_baskets_name_responses_method","summary":"Update response settings","description":"PUT /api/baskets/{name}/responses/{method}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","method","body"],"properties":{"name":{"type":"string","description":"The basket name"},"method":{"type":"string","enum":["GET","HEAD","POST","PUT","PATCH","DELETE","CONNECT","OPTIONS","TRACE"],"description":"The HTTP method this response is configured for"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/get-api-stats":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_stats","summary":"Get baskets statistics","description":"GET /api/stats","tags":["dev-tools"],"parameters":[{"name":"max","in":"query","required":false,"description":"Maximum number of basket names to return; default 5","schema":{"type":"integer","description":"Maximum number of basket names to return; default 5"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:rbaskets-in/get-api-version":{"get":{"operationId":"dev_tools_rbaskets_in_get_api_version","summary":"Get service version","description":"GET /api/version","tags":["dev-tools"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}