{"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/entertainment:whapi-numbers/get-random-numbers":{"get":{"operationId":"entertainment_whapi_numbers_get_random_numbers","summary":"This method is used to generate random numbers for your app. Within the request, you can specify the lowest…","description":"GET /generate/integers","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"A unique identifier of your application that is generated by the API portal and presented in the header.","schema":{"type":"string","description":"A unique identifier of your application that is generated by the API portal and presented in the header."}},{"name":"apiSecret","in":"query","required":true,"description":"Another unique identifier for your application. The secret must never be sent over HTTP.","schema":{"type":"string","description":"Another unique identifier for your application. The secret must never be sent over HTTP."}},{"name":"apiTicket","in":"query","required":false,"description":"The authentication ticket associated with the user session. The getRandomNumbers method operates in two different ways – ‘Demo’ mode and…","schema":{"type":"string","description":"The authentication ticket associated with the user session. The getRandomNumbers method operates in two different ways – ‘Demo’ mode and…"}},{"name":"gameCode","in":"query","required":true,"description":"Identifier that indicates the game for which the RNG (Random Number Generator) has been used.","schema":{"type":"string","description":"Identifier that indicates the game for which the RNG (Random Number Generator) has been used."}},{"name":"highest","in":"query","required":true,"description":"Highest possible value to be returned.","schema":{"type":"integer","description":"Highest possible value to be returned."}},{"name":"lowest","in":"query","required":true,"description":"Lowest possible value to be returned.","schema":{"type":"integer","description":"Lowest possible value to be returned."}},{"name":"count","in":"query","required":true,"description":"Number of values to be returned.","schema":{"type":"integer","description":"Number of values to be returned."}},{"name":"unique","in":"query","required":true,"description":"Should the numbers returned be unique","schema":{"type":"boolean","description":"Should the numbers returned be unique"}}],"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"}}}}}}}