Ligerx / TachiWeb-React

React front end for TachiWeb-Server
10 stars 4 forks source link

categories #12

Closed Ligerx closed 5 years ago

Ligerx commented 6 years ago

You can now add/delete/modify/add-manga-to categories

      {
          "name": "My category",
          "order": 0, // Stores the visual index of this category (a category with order 1 is displayed ahead of a category with order 2). Optional. Defaults to: (the current highest order + 1)
          "flags": 0 // Currently unused. Optional. Defaults to 0.
      }
Ligerx commented 6 years ago
Ligerx commented 5 years ago

I took a stab at using the v3 api for this, but it's not fully implemented, so I'll stick with v2 api.

I tried calling http://localhost:4567/api/v3/categories/1/manga with

{
    "add": [
        105
    ],
    "remove": []
}

returned a 501 not implemented error

Ligerx commented 5 years ago

I think I'm blocked on this one for now. https://github.com/TachiWeb/TachiWeb-Server/issues/37