{
"get": { "operationId": "getAuditById", "description": "Get audits of a specific object. Example: curl -X GET \"https://api.samanage.com/incidents/1/audits\" -H \"accept: application/json\" -H \"X-Samanage-Authorization: Bearer TOKEN\"", "tags": ["Audit"], "parameters": [ { "$ref": "../../common/components.json#/components/request/parameters/token_param" }, { "$ref": "../../common/components.json#/components/request/parameters/id_param" }, { "$ref": "../../common/components.json#/components/request/parameters/object_param" } ], "responses": { "200": { "description": "Object was returned correctly", "content": { "application/json": { "schema": { "description": "List of audits of a specific object", "type": "array", "items": { "$ref": "../../common/schemas/analytics/audit.json#/components/schemas/response" } } }, "application/xml": { "schema": { "description": "List of audits of a specific object", "type": "array", "xml": { "name": "/", "wrapped": true }, "items": { "$ref": "../../common/schemas/analytics/audit.json#/components/schemas/response" } } } } }, "400": { "description": "Bad request" }, "404": { "description": "Not found" }, "500": { "description": "Internal Server Error" } } }
}