MediaOrderBy
The MediaOrderBy enum defines the available fields for sorting media queries.
Schema Definition
enum MediaOrderBy {
CREATED_AT
UPDATED_AT
FILE_TYPE
MEDIA_TYPE
TOKEN_ID
CONTRACT
NAME
}
Values
| Value | Description |
|---|---|
CREATED_AT | Sort by creation Unix timestamp in seconds. Orders media items based on when they were first created in our system. |
UPDATED_AT | Sort by last update Unix timestamp in seconds. Orders media items based on the time of their most recent update in our system. |
FILE_TYPE | Sort by the FileType enum value of the media file (e.g., IMAGE_PNG, VIDEO_MP4). Orders media items alphabetically based on their FileType enum value. |
MEDIA_TYPE | Sort by the MediaType enum value of the media file (e.g., IMAGE, VIDEO, AUDIO). Orders media items alphabetically based on their MediaType enum value. |
TOKEN_ID | Sort by unique identifier of the token associated with the media numerically. |
CONTRACT | Sort by address of the contract managing the token associated with the media alphabetically. |
NAME | Sort by name of the token associated with the media alphabetically. |
Member Of
mediaList query