Skip to main content

Schema Option

Get schema option value​

GET
https://chaca-api.onrender.com/api/:schema/:option

Url Params​

ParamTypeDescription
schemastringOption parent schema. Example (id, dataType, person)
optionstringSchema option to get value. Example (uuid, int, firstName)

Query Params​

ParamTypeRequiredDescription
...argsanynoParameters of the chosen option. Learn about predefined schemas
isArrayboolean, numbernoIndicates whether the return value can be an array of values. In case of being a boolean it will be an array of size between 0 and 10, in case of being a number greater than 0 the return will be an array with that length
possibleNullnumbernoIndicates the probability that the return value is null

Example​

GET
https://chaca-api.onrender.com/api/id/uuid
'b2ab3884-366c-4d6e-81f2-8ba35ff38e00'
GET
https://chaca-api.onrender.com/api/dataType/int?min=5&max=10
5