Open API Spec
{
"openapi": "3.0.3",
"info": {
"title": "Attachment",
"version": "4.0"
},
"servers": [{
"url": "https://{yourCompany}.agiliron.net/agiliron/api-40/Attachment",
"variables": {
"yourCompany": {
"default": "yourCompany"
}
}
}],
"components": {
"securitySchemes": {
"sec0": {
"_id": "5fd9df8e42eda1004a5e3b28",
"type": "apiKey",
"in": "query",
"name": "key"
}
}
},
"security": [{
"sec0": []
}],
"paths": {
"": {
"post": {
"summary": "Add Attachment",
"description": "",
"operationId": "add-attachment",
"parameters": [{
"name": "Accept",
"in": "header",
"description": "e.g. application/json or application/xml",
"schema": {
"type": "string"
}
}],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"JSON": {
"type": "string",
"description": "Enter JSON Data",
"format": "json"
},
"XML": {
"type": "string",
"description": "Enter XML Data"
}
}
}
}
}
},
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
},
"put": {
"summary": "Update Attachment",
"description": "",
"operationId": "update-attachment",
"parameters": [{
"name": "Accept",
"in": "header",
"description": "e.g. application/json or application/xml",
"schema": {
"type": "string"
}
}],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"JSON": {
"type": "string",
"description": "Enter JSON Data",
"format": "json"
},
"XML": {
"type": "string",
"description": "Enter XML Data"
}
}
}
}
}
},
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
},
"get": {
"summary": "Read Attachment",
"description": "",
"operationId": "read-attachment",
"parameters": [{
"name": "filter",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}, {
"name": "Accept",
"in": "header",
"description": "e.g. application/json or application/xml",
"schema": {
"type": "string"
}
}],
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
}
},
"/{attachmentParams}": {
"delete": {
"summary": "Delete Attachment",
"description": "",
"operationId": "delete-attachment",
"parameters": [{
"name": "attachmentParams",
"in": "path",
"description": "e.g. Attachment Id/Attachment Name",
"schema": {
"type": "string"
},
"required": true
}, {
"name": "Accept",
"in": "header",
"description": "e.g. application/json or application/xml",
"schema": {
"type": "string"
}
}],
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true,
"samples-enabled": true
},
"x-readme-fauxas": true
}
Updated over 1 year ago