$schema: http://support.riverbed.com/apis/service_def/2.2
description: NPM APIs for SSL Unrecognized Cerificates
id: http://support.riverbed.com/apis/npm.unrecognized_certs/1.0
name: npm.unrecognized_certs
provider: riverbed
resources:
  ignored_cert:
    additionalProperties: false
    description: This resource deals with an unrecognized ignored certificate
    links:
      delete: {method: DELETE}
      self: {path: '$/ignored_certs/items/{id}'}
    properties:
      host_name: {description: The Hostname of the server which sent the certificate,
        type: string}
      id: {description: A unique id for the certificate, type: string}
      ip_addr: {description: The IP address of the server which sent the certificate,
        type: string}
      port:
        description: The port of the server which sent the certificate
        tags: {cpptype: uint16}
        type: integer
    type: object
  ignored_certs:
    additionalProperties: true
    description: This resource deals with unrecognized ignored certificates
    links:
      bulk_create:
        description: Adds to the list of unrecognized ignored certificates
        method: POST
        path: $/ignored_certs/bulk_create
        request: {$ref: '#/resources/ignored_certs'}
        response: {$ref: '#/resources/ignored_certs'}
      bulk_delete:
        description: Deletes from the list of unrecognized ignored certificates
        method: POST
        path: $/ignored_certs/bulk_delete
        request: {$ref: '#/types/certs_bulk_deleter'}
        response: {$ref: '#/types/certs_bulk_deleter'}
      create:
        method: POST
        request: {$ref: '#/resources/ignored_cert'}
        response: {$ref: '#/resources/ignored_cert'}
      get:
        description: Returns the list of unrecognized ignored certificates
        method: GET
        response: {$ref: '#/resources/ignored_certs'}
      reset: {description: Resets the list of unrecognized ignored certificates, method: POST,
        path: $/ignored_certs/reset}
      self: {path: $/ignored_certs}
    properties:
      items:
        items: {$ref: '#/resources/ignored_cert'}
        type: array
    type: object
  recent_certs:
    additionalProperties: true
    description: This resource deals with unrecognized recent certificates
    links:
      get:
        description: Returns the list of unrecognized recent certificates
        method: GET
        response: {$ref: '#/resources/recent_certs'}
      reset: {description: Resets the list of unrecognized recent certificates, method: POST,
        path: $/recent_certs/reset}
      self: {path: $/recent_certs}
    properties:
      items:
        items:
          additionalProperties: false
          description: An unrecognized recent certificate
          properties:
            appearance_count:
              description: Number of time this certificate appeared on the wire
              tags: {cpptype: uint32}
              type: integer
            details: {description: Details about this certificate, type: string}
            first_seen:
              description: Time (seconds from epoch) at which this certificate was
                first seen
              tags: {cpptype: uint64}
              type: integer
            host_name: {description: The Hostname of the server which sent the certificate,
              type: string}
            id: {description: A unique id for the certificate, type: string}
            ip_addr: {description: The IP address of the server which sent the certificate,
              type: string}
            last_seen:
              description: Time (seconds from epoch) at which this certificate was
                last seen
              tags: {cpptype: uint64}
              type: integer
            port:
              description: The port of the server which sent the certificate
              tags: {cpptype: uint16}
              type: integer
          type: object
        type: array
    type: object
title: NPM SSL Unrecognized Certificate APIs
types:
  certs_bulk_deleter:
    description: used for doing bulk deletes
    properties:
      delete_all: {description: delete all objects in the given config, type: boolean}
      delete_ids:
        items: {type: string}
        type: array
    type: object
version: '1.0'
