{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:deps-dev/package":{"get":{"operationId":"dev_tools_deps_dev_package","summary":"Package","description":"Versions of a package.","tags":["dev-tools"],"parameters":[{"name":"system","in":"query","required":true,"schema":{"type":"string","enum":["npm","pypi","go","maven","cargo","nuget"]},"example":"npm"},{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"react"}],"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":3600,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:deps-dev/version":{"get":{"operationId":"dev_tools_deps_dev_version","summary":"Version","description":"Licenses, advisories and links for one version.","tags":["dev-tools"],"parameters":[{"name":"system","in":"query","required":true,"schema":{"type":"string","enum":["npm","pypi","go","maven","cargo","nuget"]},"example":"npm"},{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"lodash"},{"name":"version","in":"query","required":true,"schema":{"type":"string"},"example":"4.17.21"}],"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":86400,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:deps-dev/project":{"get":{"operationId":"dev_tools_deps_dev_project","summary":"Project","description":"Stars, forks and OpenSSF Scorecard for a source repo.","tags":["dev-tools"],"parameters":[{"name":"project","in":"query","required":true,"schema":{"type":"string"},"example":"github.com/facebook/react"}],"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":86400,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"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"}}}}}}}