{
  "algorithm": {
    "parameters": [
      {
        "name": "domainId",
        "type": "string"
      },
      {
        "name": "entityId",
        "type": "string"
      }
    ],
    "statements": [],
    "typeReturn": "Entity",
    "variables": []
  },
  "routing": {
    "method": "GET",
    "parameters": [
      {
        "bind": "domainId",
        "in": "Path",
        "name": "domainId",
        "remarks": "domainId"
      },
      {
        "bind": "entityId",
        "in": "Path",
        "name": "entityId",
        "remarks": "entityId"
      }
    ],
    "path": "/entities/domains/{domainId}/{entityId}",
    "remarks": "Retrieve entity",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      },
      {
        "errorName": "NotAcceptable",
        "httpStatus": "406",
        "remarks": "Not Acceptable"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "500 message"
      }
    ]
  }
}