Use the id field as parameter for other queries

Examples

GET /api/v1/markets
{
  "token": "valid_token"
}
200
{
  "total": 0,
  "page": 1,
  "per_page": 0,
  "results": [
    {
      "id": "farmers",
      "name": "Farmers"
    },
    {
      "id": "fishers",
      "name": "Fishers"
    }
  ]
}
GET /api/v1/markets
{
  "token": "invalid_token"
}
401
{
  "error": "unauthorized"
}

Supported Formats

json

Errors

401 Unauthorized