Needlessly Postulating Minds
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    cloudflash-kasperskypublic

    cloudflash-kaspersky

    List of kaspersky antivirus APIs

    VerbURIDescription
    POST/kasperskyTo create KAV configuration
    GET/kasperskyList summary of KAV configuration
    GET/kaspersky/:idList summary of KAV configuration by ID
    PUT/kaspersky/:idUpdate existing KAV configuration in VCG/CPEs by ID

    Configure kav status

    Verb    URI                     Description
    POST    /kaspersky              To create KAV configuration.
    

    Example Request and Response

    Request JSON

    {
       "enable": false,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": false,
           "smtp": false
       }
       
    }
    

    Request JSON

    {
       "enable": false,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": false,
           "smtp": false
       },
       "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
    }
    

    Get kav status

    Verb   URI                   Description
    GET    /kaspersky           List summary of KAV configuration.
    

    Note: The request does not require a message body.

    Success: Returns JSON data with kav status.

    Response

    [
       {
           "enable": false,
           "web":
           {
               "upload": false,
               "download": true
           },
           "email":
           {
               "pop3": false,
               "smtp": false
           },
           "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
       }
    ]
    

    Get kav status

    Verb   URI                      Description
    GET    /kaspersky/:id           List summary of KAV configuration by ID.
    

    Note: The request does not require a message body.

    Success: Returns JSON data with kav status.

    Response

    {
       "enable": false,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": false,
           "smtp": false
       },
       "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
    }
    

    Update kav status

    Verb    URI                     Description
    POST    /kaspersky/:id           update kav configuration.
    

    Example Request and Response

    Request JSON

    {
       "enable": true,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": true,
           "smtp": false
       }
       
    }
    

    Request JSON

    {
       "enable": true,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": true,
           "smtp": false
       },
       "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
    }
    

    Keywords

    none

    install

    npm i cloudflash-kaspersky

    Downloadsweekly downloads

    15

    version

    1.0.5

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar