Skip to content
Snippets Groups Projects
get_alma_fdm_swagger.json 3.79 KiB
Newer Older
SAJIDA SIDDIQUI's avatar
SAJIDA SIDDIQUI committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "api-na.hosted.exlibrisgroup.com",
  "basePath" : "/almaws/v1",
  "schemes" : [ "https" ],
  "paths" : {
    "/acq/funds?limit=100&offset=0&view=brief&apikey=l8xx69d69988667a43d49145441d50d19f8d" : {
SAJIDA SIDDIQUI's avatar
SAJIDA SIDDIQUI committed
      "get" : {
        "tags" : [ "get_alma_fdm" ],
        "summary" : null,
        "description" : null,
        "operationId" : "get_alma_fdm",
        "produces" : [ "application/json" ],
        "consumes" : [ "application/json" ],
        "parameters" : [ {
          "name" : "q",
          "in" : "path",
SAJIDA SIDDIQUI's avatar
SAJIDA SIDDIQUI committed
          "description" : null,
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/get_alma_fdm"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "get_alma_fdm##fund##owner" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##status" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##currency" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##parent" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "link" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##entity_type" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##fiscal_period" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund##available_for_library" : {
      "properties" : {
        "value" : {
          "type" : "string"
        },
        "desc" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm##fund" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "code" : {
          "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "owner" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##owner"
        },
        "status" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##status"
        },
        "currency" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##currency"
        },
        "parent" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##parent"
        },
        "external_id" : {
          "type" : "string"
        },
        "entity_type" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##entity_type"
        },
        "fiscal_period" : {
          "$ref" : "#/definitions/get_alma_fdm##fund##fiscal_period"
        },
        "available_for_library" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get_alma_fdm##fund##available_for_library"
          }
        },
        "link" : {
          "type" : "string"
        }
      }
    },
    "get_alma_fdm" : {
      "properties" : {
        "fund" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get_alma_fdm##fund"
          }
        },
        "total_record_count" : {
          "type" : "number",
          "format" : "int32"
        }
      }
    }
  }
}