GET /newreleases
This returns all of the books that are currently being classed as new releases
Endpoint URL
http://127.0.0.1:8080/api/newreleasesExample code
const loadNewReleases = async () => {
try {
const response = await fetch("/api/newreleases");
const books = await response.json();
return books;
} catch (error) {
console.error("Error fetching new releases data:", error);
throw error;
}
};Example response
{
"_id": 27,
"newrelease": true,
"title": "ASP.NET 4.0 in Practice",
"isbn": "1935182463",
"pageCount": 504,
"publishedDate": {
"$date": "2011-05-15T00:00:00.000-0700"
},
"thumbnailUrl": "https://s3.amazonaws.com/AKIAJC5RLADLUMVRPFDQ.book-thumb-images/bochicchio.jpg",
"shortDescription": "ASP.NET 4.0 in Practice contains real world techniques from well-known professionals who have been using ASP.NET since the first previews.",
"longDescription": "ASP.NET is an established technology to build web applications using Microsoft products. It drives a number of enterprise-level web sites around the world, but it can be scaled for projects of any size. The new version 4.0 is an evolutionary step: you will find a lot of new features that you will be able to leverage to build better web applications with minimal effort. ASP.NET 4.0 in Practice contains real world techniques from well-known professionals who have been using ASP.NET since the first previews. Using a practical Problem-Solution-Discussion format, it will guide you through the most common scenarios you will face in a typical ASP.NET application, and provide solutions and suggestions to take your applications to another level.",
"status": "PUBLISH",
"authors": [
"Daniele Bochicchio",
"Stefano Mostarda"
],
"categories": [
"Microsoft .NET"
],
"favourited": false
}, .....Response fields
Name
Type
Description
Last updated