The demo API is a more complex API that demonstrates the framework's more advanced features, primarily pagination, nested resources, and integration with Action Text and Active Storage.
GET /api/demo/ping
HTTP 200 OK
{
"message": "pong"
}<?xml version="1.0" encoding="UTF-8"?>
<hash>
<message>pong</message>
</hash>
| Path | Verb | Controller#Action |
|---|---|---|
| ping | GET | api/demo#ping |