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.
10 lines
239 B
JSON
10 lines
239 B
JSON
{
|
|
"season": 1,
|
|
"episode_number": 3,
|
|
"title": "...And the Bag's in the River",
|
|
"description": "Walter and Jesse deal with the aftermath.",
|
|
"air_date": "2008-02-03",
|
|
"duration": 47,
|
|
"thumbnail": "https://example.com/ep3.jpg"
|
|
}
|