Skip to content

Commit

Permalink
docs(getAuthorById): update response (lukePeavey#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukePeavey authored Mar 14, 2021
1 parent affd1cd commit 98f298e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,14 @@ GET /authors/:id
{
// A unique id for this author
_id: string
// A slug is a unique string that can be used to identify an author. Unlike _id,
// the slug is derived from the author's name (by converting it to hyphen case).
slug: string
// A brief, one paragraph bio of the author. Source: wiki API
bio: string
// A one-line description of the author. Typically it is the person's primary
// occupation or what they are know for. For example: "Austrian Physicist"
description: string
// The authors full name
name: string
// The number of quotes by this author
Expand Down

0 comments on commit 98f298e

Please sign in to comment.