{"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:color-pizza/get":{"get":{"operationId":"dev_tools_color_pizza_get","summary":"Get all colors of the default color name list","description":"GET /","tags":["dev-tools"],"parameters":[{"name":"list","in":"query","required":false,"description":"The name of the color name list to use","schema":{"type":"string","enum":["default","bestOf","wikipedia","french","ridgway","risograph","basic","chineseTraditional","html","japaneseTraditional","leCorbusier","nbsIscc","ntc","osxcrayons","ral","sanzoWadaI","thesaurus","werner","windows","x11","xkcd"],"description":"The name of the color name list to use"}},{"name":"values","in":"query","required":false,"description":"The hex values of the colors to retrieve without '#'","schema":{"type":"string","description":"The hex values of the colors to retrieve without '#'"}},{"name":"noduplicates","in":"query","required":false,"description":"Allow duplicate names or not","schema":{"type":"boolean","description":"Allow duplicate names or not"}}],"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":"live"}},"/v1/dev-tools:color-pizza/get-lists":{"get":{"operationId":"dev_tools_color_pizza_get_lists","summary":"Get all colors of the default color name list","description":"GET /lists/","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":"live"}},"/v1/dev-tools:color-pizza/get-names":{"get":{"operationId":"dev_tools_color_pizza_get_names","summary":"Get all colors of the default color name list","description":"GET /names/","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The name of the color to retrieve (min 3 characters)","schema":{"type":"string","description":"The name of the color to retrieve (min 3 characters)"}},{"name":"list","in":"query","required":false,"description":"The name of the color name list to use","schema":{"type":"string","enum":["default","bestOf","wikipedia","french","ridgway","risograph","basic","chineseTraditional","html","japaneseTraditional","leCorbusier","nbsIscc","ntc","osxcrayons","ral","sanzoWadaI","thesaurus","werner","windows","x11","xkcd"],"description":"The name of the color name list to use"}}],"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":"live"}},"/v1/dev-tools:color-pizza/get-swatch":{"get":{"operationId":"dev_tools_color_pizza_get_swatch","summary":"Generate a color swatch for any color","description":"GET /swatch/","tags":["dev-tools"],"parameters":[{"name":"color","in":"query","required":true,"description":"The hex value of the color to retrieve without '#'","schema":{"type":"string","description":"The hex value of the color to retrieve without '#'"}},{"name":"name","in":"query","required":false,"description":"The name of the color","schema":{"type":"string","description":"The name of the color"}}],"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":"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"}}}}}}}