15077 api v2 version resource

[``* `#15077` Extend API v2 by version resource``](https://www.openproject.org/work_packages/15077)
@hschink it'd be better to move this `let` outside of the shared example block.