jService · Example Payload

Jservice Categories Example

Games And ComicsTriviaJeopardyOpen SourceRubyRailsPublic APIs

Jservice Categories 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/categories",
  "operationId": "listCategories",
  "request": {
    "method": "GET",
    "url": "http://jservice.io/api/categories?count=2&offset=0"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json; charset=utf-8"
    },
    "body": [
      {
        "id": 1,
        "title": "history",
        "created_at": "2014-02-11T22:00:00.000Z",
        "updated_at": "2014-02-11T22:00:00.000Z",
        "clues_count": 42
      },
      {
        "id": 2,
        "title": "literature",
        "created_at": "2014-02-11T22:00:00.000Z",
        "updated_at": "2014-02-11T22:00:00.000Z",
        "clues_count": 38
      }
    ]
  }
}