Actions are the logic that generates a response to the request. Continuing with the book example.
The action for the GET route /books/{id} would be to load the Book model with the record from the database that matches the id and send a response containing the serialized Book model data.