Open API Spec

{
  "openapi": "3.0.3",
  "info": {
    "version": "1.0.0",
    "title": "Package"
  },
  "servers": [
    {
      "url": "https://{yourCompany}.agiliron.net/agiliron/api-40/Package"
    }
  ],
  "tags": [],
  "paths": {
    "/": {
      "post": {
        "description": "",
        "operationId": "post_",
        "responses": {
          "200": {
            "description": "",
            "content": {}
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "Accept",
            "schema": {
              "type": "string"
            },
            "description": "e.g. application/json or application/xml"
          }
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "JSON": {
                    "type": "string",
                    "format": "json",
                    "description": "Enter JSON Data"
                  },
                  "XML": {
                    "type": "string",
                    "description": "Enter XML Data"
                  }
                },
                "type": "object"
              }
            }
          }
        }
      },
      "put": {
        "description": "",
        "operationId": "put_",
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "Accept",
            "schema": {
              "type": "string"
            },
            "description": "e.g. application/json or application/xml"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "JSON": {
                    "type": "string",
                    "description": "Enter JSON Data",
                    "format": "json"
                  },
                  "XML": {
                    "type": "string",
                    "description": "Enter XML Data"
                  }
                },
                "type": "object"
              }
            }
          }
        }
      },
      "get": {
        "description": "",
        "operationId": "get_",
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customview",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Accept",
            "schema": {
              "type": "string"
            },
            "description": "e.g. application/json or application/xml"
          }
        ]
      },
      "delete": {
        "description": "",
        "operationId": "delete_",
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Accept",
            "schema": {
              "type": "string"
            },
            "description": "e.g. application/json or application/xml"
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "key"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}

© Copyright 2022 Agiliron - All Rights Reserved.