MockHero

file_path

Content

Generate realistic file paths like '/documents/report-q4-2024.pdf'. For file system testing, document management, and upload path validation.

Example Outputs

/documents/report-q4-2024.pdf/images/photo-001.jpg/exports/data-2026.csv

API Usage

Send a POST request to generate file path data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "file_path",
          "type": "file_path"
        }
      ]
    }
  ]
}'

Common Use Cases

  • File system testing
  • Document management
  • Upload path display
  • File browser seeding

Quick Info

Field Type
file_path
Category
Content
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate file path data instantly in the playground.

Generate File Path + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free