01 Overview (1/2)

browse.lists shows a picker before the book list. Each list can override url and/or body. Anything not overridden comes from browse.

  "browse": {
    "url": "https://api.example.com/books?shelf={list_id_enc}&page={page}&per_page={limit}",
    "items": "books",
    "fields": { "title": "title", "id": "id" },
    "lists": [
      { "title": "Everything", "id": "" },
      { "title": "To read",    "id": "to-read" },
      { "title": "Favorites",  "id": "favorites" },
      { "title": "Newest",     "url": "https://api.example.com/books/new" },
      { "title": "Adult section", "id": "adult",
        "notice": {
          "title": "Heads up",                  // default: the list title
          "message": "Contains mature content.",// a notice needs a message
          "confirm": "Continue",                // default: translated "Confirm"
          "cancel":  "Go Back",                 // default: translated "Cancel"
          "id": "mature-ok", "once": true       // remember Continue across reboots
        } }
    ]
  }
Reader file (.txt)Next ›