jService · Example Payload

Jservice Random Example

Games And ComicsTriviaJeopardyOpen SourceRubyRailsPublic APIs

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

Top-level fields

operationoperationIdrequestresponse

Example Payload

Raw ↑
{
  "operation": "GET /api/random",
  "operationId": "getRandomClues",
  "request": {
    "method": "GET",
    "url": "http://jservice.io/api/random?count=1"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json; charset=utf-8"
    },
    "body": [
      {
        "id": 105912,
        "answer": "Lake Superior",
        "question": "This Great Lake is the largest by surface area",
        "value": 200,
        "airdate": "2010-10-15T19:00:00.000Z",
        "category_id": 11496,
        "game_id": 3035,
        "invalid_count": 0,
        "category": {
          "id": 11496,
          "title": "lakes",
          "created_at": "2014-02-11T22:00:00.000Z",
          "updated_at": "2014-02-11T22:00:00.000Z",
          "clues_count": 5
        }
      }
    ]
  }
}