getCollectionMedia
Retrieve photos or videos from a Pexels collection by its ID, with options to filter by media type, sort order, and pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the collection | |
| type | No | Filter by media type | |
| sort | No | Sort order | |
| page | No | Page number | |
| perPage | No | Results per page (max 80) |