curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/database \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile{
"status": "success",
"data": {
"databases": [
{
"method": "profile",
"value": "createdAt",
"collation": "utf8_unicode_ci",
"column": "createdAt",
"engine": "ARCHIVE",
"mongodbObjectId": "e175cac316a79afdd0ad3afb",
"type": "timestamp"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Generates synthetic database fixtures for testing schema fields, migration examples, import fixtures, developer tools, and sample datasets. Supported methods: profile, collation, column, engine, mongodbObjectId, and type.
curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/database \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile{
"status": "success",
"data": {
"databases": [
{
"method": "profile",
"value": "createdAt",
"collation": "utf8_unicode_ci",
"column": "createdAt",
"engine": "ARCHIVE",
"mongodbObjectId": "e175cac316a79afdd0ad3afb",
"type": "timestamp"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Number of database records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Database generation method. Defaults to profile.
profile, collation, column, engine, mongodbObjectId, type "profile"
Successfully generated database data
success Hide child attributes
Hide child attributes
Resolved database generation method.
profile, collation, column, engine, mongodbObjectId, type "profile"
Primary generated database fixture value.
"createdAt"
Generated database collation.
"utf8_unicode_ci"
Generated database column name.
"createdAt"
Generated database engine name.
"ARCHIVE"
Generated MongoDB ObjectId-compatible string.
"e175cac316a79afdd0ad3afb"
Generated database column type.
"timestamp"
profile, collation, column, engine, mongodbObjectId, type Was this page helpful?