rest: use @action instead of @detail_route
rest: use @action instead of @detail_route

The detail_route decorator is deprecated and will be removed in 3.10 in favor of
"`action`, which accepts a `detail` bool. Use `@action(detail=True)` instead.

Signed-off-by: Paolo Bonzini <69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com>

pvital/patchew,pvital/patchew,pvital/patchew,pvital/patchew