Get list of all media

This endpoint returns a list of all media files uploaded to FastPix within a specific workspace. Each media entry contains data such as the media `id`, `createdAt`, `status`, `type` and more. It allows you to retrieve an overview of your media assets, making it easier to manage and review them. #### How it works Use the access token and secret key related to the workspace in the request header. When called, the API provides a paginated response containing all the media items in that specific workspace. This is helpful for retrieving a large volume of media and managing content in bulk. #### Example If you manage a video platform and need to review all uploaded media in your library to ensure that outdated or low-quality content isn’t being served, you can use this endpoint to retrieve a complete list of media. You can then filter, sort, or update items as needed.

Authentication

AuthorizationBasic
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request. - <b>Username:</b> Access Token ID - <b>Password:</b> Secret Key Activate your FastPix account to generate your API credentials. <a href="https://fastpix.com/docs/getting-started/activate-your-account" target="_blank">See the guide here</a>

Query parameters

limitintegerOptional1-50Defaults to 10
Limit specifies the maximum number of items to display per page.
offsetintegerOptionalDefaults to 1
Offset determines the starting point for data retrieval within a paginated list.
orderByenumOptionalDefaults to desc

The values in the list can be arranged in two ways: DESC (Descending) or ASC (Ascending).

Allowed values:

Response

List of video media
successboolean
Demonstrates whether the request is successful or not.
datalist of objects
Displays the result of the request.
paginationobject
Pagination organizes content into pages for better readability and navigation.