{
    "openDxlApi": "0.1",
    "info": {
        "title": "Unquarantine device actions",
        "version": "0.0.1",
        "description": "Unquarantine device actions"
    },
    "requests": {
        "/action/unquarantine/device/by_hostname": {
            "description": "Unquarantine device by hostname",
            "payload": {
                "properties": {
                    "hostname": {
                        "type": "string",
                        "description": "Internet host name as specified in [RFC1123]"
                    }
                },
                "required": [
                    "hostname"
                ],
                "example": {
                    "hostname": "testdevice.local.com"
                }
            },
            "response": {
                "otherFields": {
                    "status": {
                        "description": "The status of the response",
                        "required": false,
                        "example": "200"
                    },
                    "status_text": {
                        "description": "A free-form human-readable description of the Response status.",
                        "required": false,
                        "example": "The action succeeded."
                    },
                    "product_name": {
                        "description": "The product that is the source of the message",
                        "required": false,
                        "example": "McAfee Threat Intelligence Exchange (TIE)"
                    },
                    "product_version": {
                        "description": "The version of the product that is the source of the message",
                        "required": false,
                        "example": "3.0.0"
                    }
                }
            },
            "errorResponses": {
                "400": {
                    "description": "Bad Request"
                },
                "401": {
                    "description": "Unauthorized"
                },
                "403": {
                    "description": "Forbidden"
                },
                "404": {
                    "description": "Not Found"
                },
                "500": {
                    "description": "Internal Error"
                },
                "501": {
                    "description": "Not Implemented"
                },
                "503": {
                    "description": "Service Unavailable"
                }
            }
        },
        "/action/unquarantine/device/by_mac_address": {
            "description": "Unquarantine device by MAC address",
            "payload": {
                "properties": {
                    "mac_addr": {
                        "type": "string",
                        "description": "A Media Access Control (MAC) address - EUI-48 or EUI-64 as defined in [EUI]"
                    }
                },
                "required": [
                    "mac_addr"
                ],
                "example": {
                    "mac_addr": "B8:CA:3A:77:A5:AE"
                }
            },
            "response": {
                "otherFields": {
                    "status": {
                        "description": "The status of the response",
                        "required": false,
                        "example": "200"
                    },
                    "status_text": {
                        "description": "A free-form human-readable description of the Response status.",
                        "required": false,
                        "example": "The action succeeded."
                    },
                    "product_name": {
                        "description": "The product that is the source of the message",
                        "required": false,
                        "example": "McAfee Threat Intelligence Exchange (TIE)"
                    },
                    "product_version": {
                        "description": "The version of the product that is the source of the message",
                        "required": false,
                        "example": "3.0.0"
                    }
                }
            },
            "errorResponses": {
                "400": {
                    "description": "Bad Request"
                },
                "401": {
                    "description": "Unauthorized"
                },
                "403": {
                    "description": "Forbidden"
                },
                "404": {
                    "description": "Not Found"
                },
                "500": {
                    "description": "Internal Error"
                },
                "501": {
                    "description": "Not Implemented"
                },
                "503": {
                    "description": "Service Unavailable"
                }
            }
        }
    }
}
