Skip to content

Latest commit

 

History

History
96 lines (77 loc) · 2.16 KB

single.rst

File metadata and controls

96 lines (77 loc) · 2.16 KB

Single series

.. py:data:: GET /api/v1/series/:slug

Retrieve the info of a certain series.

Request parameters

  • slug (string) - The slug of the series.

Example request

curl -i http://example.com/api/v1/series/some-manga \
     -H 'If-Modified-Since: Fri, 24 Aug 2018 12:48:01 GMT'

Example response

HTTP/1.1 200 OK
Date: Tue, 28 Aug 2018 09:35:27 GMT
Server: WSGIServer/0.2 CPython/3.8.13
Content-Type: application/json
Last-Modified: Sun, 26 Aug 2018 16:40:11 GMT
ETag: "877d416e5573564ef3148716a799bb1a"
Content-Length: 507

{
  "slug": "some-manga",
  "title": "Some Manga",
  "aliases": [
    "Some Mango"
  ],
  "url": "http://example.com/reader/some-manga/",
  "description": "Some description.",
  "authors": [
    ["John Doe", "Johnnie Doe"],
    ["Jack Doe"]
  ],
  "artists": [
    ["Nemo Nobody"]
  ],
  "categories": [
    {
      "name": "Drama",
      "description": "Drama"
    }
  ],
  "cover": "http://example.com/media/series/some-manga/cover.jpg",
  "completed": false,
  "volumes": {
    "1": {
      "0": {
        "url": "http://example.com/reader/some-manga/1/0/",
        "title": "Prologue",
        "full_title": "Vol. 1, Ch. 0: Prologue",
        "pages_list": [
          "001.jpg",
          "002.jpg",
          "003.jpg",
          "004.jpg"
        ],
        "pages_root": "http://example.com/media/series/some-manga/1/0/",
        "date": "Sun, 26 Aug 2018 16:14:52 GMT",
        "final": false
      }
    }
  }
}

Response body

The response body is a JSON object containing the following: