PRN231_-_FA_2024_-_PE_2885.webp
Riza851

PRN231_-_FA_2024_-_PE_2885.webp

  • Media owner Riza851
  • Ngày thêm
This API must support filtering, sorting, and pagination using OData query options like $filter, $orderby, $top, and $skip.
URL: [GET]/api/books
Example
request: [GET]
/api/books?$filter=Author eq
'John
Doe'&$orderby=Publication Year desc&$top=10
Request URL
http://localhost:5000/api/Books
Server response
Code
200
Details
Response body
[
{ "bookId": 1,
"title": "1984",
"authors": [
{
"authorId": 1,
"name": "George Orwell",
"bio": "English novelist and essayist, journalist and critic."
"authorId": 3,
"name": "J.R.R. Tolkien",
"bio": "English writer, poet, philologist, and academic."
}
],
"publisher": "Secker & Warburg",
"publicationYear": 1949
"bookId": 2,
"title": "Harry Potter Philosopher's Stone"
Figure 3-The API to list all books.
2.API to search or filter books (using method GET)
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRN231
Thêm bởi
Riza851
Ngày thêm
Lượt xem
1,635
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_FA_2024_-_PE_2885.webp
File size
123.3 KB
Dimensions
1072px x 858px

Share this media

Back
Bên trên Bottom