PaginatedResponse_GenreDto
Generic paginated response wrapper with HATEOAS links
data object[]required
The data items for this page
Array [
createdAtstring<date-time>required
When the genre was created
Example:
2024-01-01T00:00:00Zidstring<uuid>required
Genre ID
Example:
550e8400-e29b-41d4-a716-446655440010namestringrequired
Genre name
Example:
ActionseriesCountinteger,null<int64>nullable
Number of series with this genre
Possible values: >= 0
Example:
42]
links objectrequired
HATEOAS navigation links
firststringrequired
Link to the first page
laststringrequired
Link to the last page
nextstring | nullnullable
Link to the next page (null if on last page)
prevstring | nullnullable
Link to the previous page (null if on first page)
selfstringrequired
Link to the current page
pageinteger<int64>required
Current page number (1-indexed)
Possible values: >= 0
Example:
1pageSizeinteger<int64>required
Number of items per page
Possible values: >= 0
Example:
50totalinteger<int64>required
Total number of items across all pages
Possible values: >= 0
Example:
150totalPagesinteger<int64>required
Total number of pages
Possible values: >= 0
Example:
3PaginatedResponse_GenreDto
{
"data": [
{
"createdAt": "2024-01-01T00:00:00Z",
"id": "550e8400-e29b-41d4-a716-446655440010",
"name": "Action",
"seriesCount": 42
}
],
"links": {
"first": "string",
"last": "string",
"next": "string",
"prev": "string",
"self": "string"
},
"page": 1,
"pageSize": 50,
"total": 150,
"totalPages": 3
}