Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "NewEntitlement": {
- "BookEntitlement": {
- "ActivePeriod": {
- "From": %STRING, timestamp | Timestamp at which the book became available to the user%
- },
- "IsRemoved": %BOOL | Is it deleted locally, but not online%,
- "Status": %STRING | Current book status, these status include "Active"%,
- "Accessibility": %STRING | How much of the book you're allowed to access, could be useful for previews or limited books%,
- "CrossRevisionId": %STRING, uuid | Unspecified UUID%,
- "RevisionId": %STRING, uuid | UUID of the current version of the book%,
- "IsHiddenFromArchive": %BOOL | Can it be archived?%,
- "Id": %STRING, uuid | Store UUID of the book%,
- "Created": %STRING, timestamp | When was the book first added to the user's account%,
- "LastModified": %STRING, timestamp | When was the book last modified?%,
- "IsLocked": %BOOL | Probably for remote right management, but not sure%,
- "OriginCategory": %STRING | What category did the book come from? Example: "Free"%
- },
- "ReadingState": {
- "EntitlementId": %STRING, uuid | yet another book UUID%,
- "Created": %STRING, timestamp | When was the book first added to the device%,
- "LastModified": %STRING, timestamp | When was the book last modified?%,
- "StatusInfo": {
- "LastModified": %STRING, timestamp | When was the book last modified?%,
- "Status": %STRING | Book status, example "ReadyToRead"%,
- "TimesStartedReading": %INTEGER | How much time have you started to read the book%
- },
- "Statistics": {
- "LastModified": %STRING, timestamp | When was the book last modified?%
- },
- "CurrentBookmark": {
- "LastModified": %STRING, timestamp | When was the book last modified?%
- },
- "PriorityTimestamp": %STRING, timestamp | Organizational timestamp to be sure that the book is always the latest version%
- },
- "BookMetadata": {
- "CrossRevisionId": %STRING, uuid | yet another book UUID%,
- "RevisionId": %STRING, uuid | UUID of the current version of the book%,
- "Publisher": {
- "Name": %STRING | Publisher's name%,
- "Imprint": ""
- },
- "PublicationDate": %STRING, timestamp | When was the book published?%,
- "Language": %STRING, ISO639-1 | What language is the book in?%,
- "Isbn": %STRING | Book ISBN%,
- "Genre": %STRING, uuid | Book's "genre" category%,
- "Slug": %STRING | book title stripped of special characters and without space%,
- "CoverImageId": %STRING, uuid | What is the UUID of the cover?%,
- "IsSocialEnabled": %BOOL | Can you share things about this book to social media?",
- "WorkId": %STRING, uuid | I have no idea, kobo has WAAAAAAAAY too many UUIDs%,
- "ExternalIds": %ARRAY | Not sure%,
- "IsPreOrder": %BOOL | Is it a preorder?%,
- "ContributorRoles": [
- {
- "Name": %STRING | Name of whoever worked on that book%
- }
- ],
- "IsInternetArchive": %BOOL | Does it come from the archive?%,
- "EntitlementId": %STRING, uuid | yet another book UUID%,
- "Title": %STRING | Book title%,
- "Description": %STRING | Short description of the book in HTML%
- "Categories": %STRING ARRAY, uuid | Contains the categories the book belongs to%,
- "DownloadUrls": [
- {
- "DrmType": "None",
- "Format": "EPUB_TABLEOFCONTENTS",
- "Url": %STRING | Store download URL and Token%,
- "Platform": %STRING | Target platform of the book, Kobos are treated as "Android", but "Generic" also exists%,
- "Size": %INTEGER | Size in bytes%
- },
- {
- "DrmType": "SignedNoDrm",
- "Format": "KEPUB",
- "Url": %STRING | Store download URL and Token%,
- "Platform": %STRING | Target platform of the book, Kobos are treated as "Android", but "Generic" also exists%,
- "Size": %INTEGER | Size in bytes%
- },
- {
- "DrmType": "None",
- "Format": "EPUB_SAMPLE",
- "Url": %STRING | Store download URL and Token%,
- "Platform": %STRING | Target platform of the book, Kobos are treated as "Android", but "Generic" also exists%,
- "Size": %INTEGER | Size in bytes%
- }
- ],
- "Contributors": [
- %STRING OBJECT | Authors/Contributors to the file%
- ],
- "Series": %OBJECT | Not sure%,
- "CurrentDisplayPrice": {
- "TotalAmount": %FLOAT | Price in-store%,
- "CurrencyCode": %STRING | Currency code, USD, CAD or EUR for example%
- },
- "CurrentLoveDisplayPrice": {
- "TotalAmount": %FLOAT | Price with "Kobo Love"%
- },
- "IsEligibleForKoboLove": %BOOL | Is the book affected by kobo love, what is it?%,
- "PhoneticPronunciations": %OBJECT | Not sure%
- }
- }
- },
- {
- "ChangedTag": {
- "Tag": {
- "Id": %STRING, uuid | Book tag UUID%,
- "Name": %STRING | Tag user-friendly name%,
- "Type": %STRING | Tag type, example: "SystemTag"%,
- "Items": [
- {
- "RevisionId": %STRING, uuid | Book revision UUID%,
- "Type": "ProductRevisionTagItem"
- },
- {
- "RevisionId": %STRING, uuid | Book revision UUID%,
- "Type": "ProductRevisionTagItem"
- },
- {
- "RevisionId": %STRING, uuid | Book revision UUID%,
- "Type": "ProductRevisionTagItem"
- },
- {
- %STRING, uuid | Book revision UUID%,
- "Type": "ProductRevisionTagItem"
- }
- ],
- %STRING, timestamp | When was the book first added to the store%,
- %STRING, timestamp | When was the book last modified%
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment