[Bugfix] media api pagination

__Tasks:__

- [ ] add Testcase
- [x] gather feedback for my changes
- [ ] submit changes to the documentation

__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | #105
| New feature?  | none
| Tests pass?   | none
| Fixed tickets | none
| Doc           | none