Collection Controller

get
Responses
200
OK
*/*
get
GET /api/v2/collections HTTP/1.1
Host: gomdolbook
Accept: */*
200

OK

{
  "data": [
    {
      "name": "text",
      "books": {
        "covers": [
          "text"
        ]
      }
    }
  ]
}
post
Body
namestring · min: 1Required
Responses
200
OK
*/*
Responseobject
post
POST /api/v2/collections HTTP/1.1
Host: gomdolbook
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
200

OK

{}
post
Path parameters
namestringRequired
Body
titlestring · min: 1Required
authorstring · min: 1Required
pubDatestring · min: 1Required
descriptionstring · min: 1Required
isbnstring · min: 1Required
coverstring · min: 1Required
categoryNamestring · min: 1Required
publisherstring · min: 1Required
Responses
200
OK
post
POST /api/v2/collections/{name}/book HTTP/1.1
Host: gomdolbook
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "title": "text",
  "author": "text",
  "pubDate": "text",
  "description": "text",
  "isbn": "text",
  "cover": "text",
  "categoryName": "text",
  "publisher": "text"
}
200

OK

No content

get
Path parameters
namestringRequired
Responses
200
OK
*/*
get
GET /api/v2/collections/{name} HTTP/1.1
Host: gomdolbook
Accept: */*
200

OK

{
  "data": [
    {
      "cover": "text",
      "title": "text",
      "isbn": "text"
    }
  ]
}
delete
Path parameters
namestringRequired
Responses
200
OK
delete
DELETE /api/v2/collections/{name} HTTP/1.1
Host: gomdolbook
Accept: */*
200

OK

No content

get
Path parameters
namestringRequired
isbnstringRequired
Responses
200
OK
*/*
Responseobject
get
GET /api/v2/collections/{name}/book/{isbn}/exists HTTP/1.1
Host: gomdolbook
Accept: */*
200

OK

{}
delete
Path parameters
isbnstringRequired
namestringRequired
Responses
200
OK
delete
DELETE /api/v2/collections/{name}/book/{isbn} HTTP/1.1
Host: gomdolbook
Accept: */*
200

OK

No content