Skip to content
Snippets Groups Projects
getfundinfo.json 2.84 KiB
Newer Older
Patrick Roe's avatar
Patrick Roe committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "api.wisc.edu",
  "basePath" : "/finance",
  "schemes" : [ "https" ],
  "paths" : {
    "/funds" : {
      "get" : {
        "tags" : [ "getfundinfo" ],
        "summary" : null,
        "description" : null,
        "operationId" : "getfundinfo",
        "produces" : [ "application/json" ],
        "consumes" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/getfundinfo"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "getfundinfo##data##attributes" : {
      "properties" : {
        "active" : {
          "type" : "boolean"
        },
        "name" : {
          "type" : "string"
        }
      }
    },
    "getfundinfo##data##links" : {
      "properties" : {
        "self" : {
          "type" : "string"
        }
      }
    },
    "getfundinfo##data##meta" : {
      "properties" : {
        "dttm_loaded" : {
          "type" : "string"
        }
      }
    },
    "getfundinfo##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/getfundinfo##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "links" : {
          "$ref" : "#/definitions/getfundinfo##data##links"
        },
        "meta" : {
          "$ref" : "#/definitions/getfundinfo##data##meta"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "getfundinfo##links" : {
      "properties" : {
        "first" : {
          "type" : "string"
        },
        "last" : {
          "type" : "string"
        },
        "next" : {
          "type" : "string"
        },
        "prev" : {
          "type" : "string"
        },
        "self" : {
          "type" : "string"
        }
      }
    },
    "getfundinfo##meta" : {
      "properties" : {
        "pageNumber" : {
          "type" : "number",
          "format" : "int32"
        },
        "pageSize" : {
          "type" : "number",
          "format" : "int32"
        },
        "totalCount" : {
          "type" : "number",
          "format" : "int32"
        },
        "totalPages" : {
          "type" : "number",
          "format" : "int32"
        }
      }
    },
    "getfundinfo" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/getfundinfo##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/getfundinfo##links"
        },
        "meta" : {
          "$ref" : "#/definitions/getfundinfo##meta"
        }
      }
    }
  }
}