Initial project scaffold for a PHP Media API including routing, controllers, models and services under api/ (Router, Media/Cast/Image/Settings controllers, models, database/bootstrap files and automatic docs service). Adds Docker support (Dockerfile, docker-compose.yml, DOCKER_README.md, php-custom.ini), .htaccess for pretty URLs, API documentation and example payloads (API_EXAMPLES.md, api/README.md, api_examples/*.json), image handling service and logging, plus a comprehensive .gitignore. This commit provides a runnable development environment and example requests to get the API up and tested quickly.
33 lines
774 B
JSON
33 lines
774 B
JSON
{
|
|
"success": true,
|
|
"data": {
|
|
"id": 10,
|
|
"name": "Jane Doe",
|
|
"photo": "https://example.com/jane.jpg",
|
|
"bio": "Adult film actress",
|
|
"birthDate": "1995-05-15",
|
|
"birthPlace": "Los Angeles, California",
|
|
"createdAt": "2024-01-15 10:30:00",
|
|
"updatedAt": "2024-01-15 10:30:00",
|
|
"occupations": ["Actress"],
|
|
"filmography": [],
|
|
"adult_specifics": {
|
|
"id": 5,
|
|
"cast_id": 10,
|
|
"bust_size": "34",
|
|
"cup_size": "D",
|
|
"waist_size": "24",
|
|
"hip_size": "34",
|
|
"height": "165",
|
|
"weight": "52",
|
|
"hair_color": "Blonde",
|
|
"eye_color": "Blue",
|
|
"ethnicity": "Caucasian",
|
|
"tattoos": "None",
|
|
"piercings": "Ears",
|
|
"measurements": "34-24-34",
|
|
"shoe_size": "7"
|
|
}
|
|
}
|
|
}
|