Quote Garden · Example Payload

Quote Garden Get Random Quote Example

QuotesInspirationOpen SourceFree APINode.jsMongoDBExpressPersonalityPublic APIs

Quote Garden Get Random Quote Example is an example object payload from Quote Garden, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestresponse

Example Payload

Raw ↑
{
  "operationId": "getRandomQuote",
  "method": "GET",
  "path": "/quotes/random",
  "summary": "Get Random Quote",
  "request": {
    "url": "https://quote-garden.onrender.com/api/v3/quotes/random?genre=time",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json; charset=utf-8"
    },
    "body": {
      "statusCode": 200,
      "message": "Random quotes",
      "pagination": {
        "currentPage": 1,
        "nextPage": null,
        "totalPages": 1
      },
      "totalQuotes": 1,
      "data": [
        {
          "_id": "5eb17ab3b69dc744b4e81942",
          "quoteText": "I think the thing we see is that as people are using video games more, they tend to watch passive TV a bit less. And so using the PC for the Internet, playing video games, is starting to cut into the rather unbelievable amount of time people spend watching TV.",
          "quoteAuthor": "Bill Gates",
          "quoteGenre": "time",
          "__v": 0
        }
      ]
    }
  }
}