easy-api-1.md 1.1 KB

AuthorController

AuthorController


getAll

BASIC

Path: /author

Method: GET

REQUEST

RESPONSE

Headers:

name value required desc
content-type application/json;charset=UTF-8 NO

Body:

name type desc
string

Response Demo:



getAuthorList

BASIC

Path: /author/list

Method: GET

REQUEST

RESPONSE

Headers:

name value required desc
content-type application/json;charset=UTF-8 NO

Body:

name type desc
array
object
  |─id integer
  |─authorId string author_id
  |─authorName string author_name
  |─authorDesc string author_desc

Response Demo:

[
  {
    "id": 0,
    "authorId": "",
    "authorName": "",
    "authorDesc": ""
  }
]