{
  "algorithm": {
    "parameters": [
      {
        "name": "domainId",
        "type": "string"
      },
      {
        "name": "args",
        "type": "ArgsEntityList"
      }
    ],
    "statements": [],
    "typeReturn": "list(Entity)",
    "variables": []
  },
  "routing": {
    "method": "GET",
    "parameters": [
      {
        "bind": "domainId",
        "in": "Path",
        "name": "domainId",
        "remarks": "domainId"
      },
      {
        "bind": "args.name",
        "in": "Query",
        "name": "name",
        "remarks": "Filter by name"
      }
    ],
    "path": "/entities/domains/{domainId}",
    "remarks": "List the entities",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "NotAcceptable",
        "httpStatus": "406",
        "remarks": "Not Acceptable"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "500 message"
      }
    ]
  }
}