Examples

GET /foundry-api/v1/tasks
200
{
  "data": [
    {
      "id": "108",
      "type": "tasks",
      "links": {
        "self": "http://test.host/foundry-api/v1/tasks/108"
      },
      "attributes": {
        "title": "My Task",
        "description": null,
        "status": "pending",
        "due-date": "2017-09-05",
        "created-at": "2017-08-29T10:43:47.997+08:00",
        "updated-at": "2017-08-29T10:43:47.997+08:00"
      },
      "relationships": {
        "assignee": {
          "links": {
            "self": "http://test.host/foundry-api/v1/tasks/108/relationships/assignee",
            "related": "http://test.host/foundry-api/v1/tasks/108/assignee"
          }
        },
        "assigner": {
          "links": {
            "self": "http://test.host/foundry-api/v1/tasks/108/relationships/assigner",
            "related": "http://test.host/foundry-api/v1/tasks/108/assigner"
          }
        },
        "taggable": {
          "links": {
            "self": "http://test.host/foundry-api/v1/tasks/108/relationships/taggable",
            "related": "http://test.host/foundry-api/v1/tasks/108/taggable"
          }
        },
        "comment-threads": {
          "links": {
            "self": "http://test.host/foundry-api/v1/tasks/108/relationships/comment-threads",
            "related": "http://test.host/foundry-api/v1/tasks/108/comment-threads"
          }
        },
        "followers": {
          "links": {
            "self": "http://test.host/foundry-api/v1/tasks/108/relationships/followers",
            "related": "http://test.host/foundry-api/v1/tasks/108/followers"
          }
        }
      }
    }
  ],
  "meta": {
    "total-pages": 1,
    "record-count": 1
  },
  "links": {
    "first": "http://test.host/foundry-api/v1/tasks?page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "last": "http://test.host/foundry-api/v1/tasks?page%5Bnumber%5D=1&page%5Bsize%5D=10"
  }
}