casino api managing money related transactions
- Visit the instructions for creating a development workstation here: [casino/casino-workspace]
- Access local API on wallet.casino.test
Run the migrations (already done by script/setup
)
docker-compose exec wallet php artisan migrate
JSON API documents work as any other API format, you send a request to an endpoint and receive your document. The JSON API specification defines how resources are structured. This structure helps in normalizing how you consume the API.
For example when you make a call to a dummy endpoint
through a simple GET request.
GET /dummy
Accept: application/json
You receive a response which should look something like this:
{
"status":200,
"response":{
"data":[
{
"type":"dummy",
"id":"1",
"attributes":{
"key":"value"
}
}
]
}
}
- To learn more about the specification {json:api}
- Documentation