Mock Data

Generate custom data

Returns custom generated data based on a schema.

post/mock/custom

Request

  • Base URL: https://abundanceapis.com
  • URL: https://abundanceapis.com/mock/custom
  • Auth: none declared

Request body

schemaobject required

Field name -> generator type (name, firstName, lastName, email, phone, uuid, number, boolean, date, city, country, street, zip, company, jobTitle, word, sentence, paragraph, url, color, price, username, avatar, ip, mac, sku). Unknown types are emitted as literals.

countinteger

How many records

seedinteger

Optional seed for reproducible output

Example request

{
  "schema": {
    "fullName": "name",
    "email": "email",
    "company": "company"
  },
  "count": 2,
  "seed": 12345
}

Changes

No recorded changes to this operation across all 1 revision of this API.