{"_id":"55fe330d5c67200d00fa2f2e","user":"55df3f52ddfb40170061cf96","version":{"_id":"55df3f6486ae7f0d00db4ca5","__v":7,"project":"55df3f6386ae7f0d00db4ca2","createdAt":"2015-08-27T16:48:36.339Z","releaseDate":"2015-08-27T16:48:36.339Z","categories":["55df3f6486ae7f0d00db4ca6","55e1376cd052580d0038c9b9","55e1391926f51b0d009b1778","55e1d40a7d91840d008249ea","55e1d6e27d91840d008249eb","55e20132d052580d0038ca67","55fe3726473f380d000b268a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"githubsync":"","project":"55df3f6386ae7f0d00db4ca2","__v":2,"editedParams":true,"category":{"_id":"55e1d40a7d91840d008249ea","__v":8,"pages":["55e1e1787d91840d008249f1","55e1e4dd7d91840d008249f4","55e1e7a9d052580d0038ca56","55e1f0157d91840d00824a07","55e1fa62aa9345170063c0d1","55e1fd11aa9345170063c0d3","55fe330d5c67200d00fa2f2e","55fe357c5c67200d00fa2f30"],"project":"55df3f6386ae7f0d00db4ca2","version":"55df3f6486ae7f0d00db4ca5","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-29T15:47:22.301Z","from_sync":false,"order":2,"slug":"usage","title":"Usage"},"editedParams2":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-20T04:16:13.380Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"name":"","code":"[\n  \"sajma:::at:::fake.com\",\n  \"we@fake.com\",\n  \"katso@fake.com\",\n  \"bad@fake.com\",\n  \"his@fake.com\"\n]","language":"text","status":200}]},"settings":"","examples":{"codes":[{"language":"scala","name":"","code":"http://localhost:3939/generator/json?schema={   \"type\": \"string\",   \"chance\": {     \"email\": {       \"domain\": \"fake.com\"     }   } }&count=5"}]},"auth":"required","params":[{"_id":"55fe35c1473f380d000b2689","ref":"","in":"query","required":false,"desc":"Authentication Key","default":"","type":"string","name":"auth"},{"_id":"55e1f0397d91840d00824a09","ref":"","in":"query","required":false,"desc":"Number of object you want to generate","default":"1","type":"int","name":"count"},{"_id":"55e1f0397d91840d00824a0a","ref":"","in":"query","required":false,"desc":"JSON schema for the random data","default":"","type":"string","name":"schema"}],"url":"/generator/json"},"isReference":false,"order":6,"body":"[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"User Role Required\",\n  \"body\": \"generator:json\"\n}\n[/block]","excerpt":"generate random json data","slug":"bucketsbucketfilename","type":"endpoint","title":"/generator/json"}

get/generator/json

generate random json data

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

auth:
string
Authentication Key
count:
integer1
Number of object you want to generate
schema:
string
JSON schema for the random data

Examples


Result Format


Documentation

[block:callout] { "type": "success", "title": "User Role Required", "body": "generator:json" } [/block]