Create a new discovery feed session

Create a new discovery feed session, starts it and raises the appropriate discovery event. This call will return the discovery feed session ID.

Path parameters
name
string required

The name of the discovery campaign to create a new feed session for

Responses
  • 201 The discovery feed session was successfully created and started

    Array [

    id
    string (Internal ID)

    Object internal ID

    campaign
    string

    The name of the discovery campaign the feed session belongs to

    description
    string | null

    The description of the discovery feed session

    eventOnSuccess
    boolean | null

    Whether to generate an event on success (defaults to the campaign setting)

    eventOnWarning
    boolean | null

    Whether to generate an event on warning (defaults to the campaign setting)

    eventOnFailure
    boolean | null

    Whether to generate an event on failure (defaults to the campaign setting)

    hosts
    array of string | null

    The hosts on which the discovery campaign takes place

    ports
    array of integer | null

    The ports on which the discovery campaign takes place

    ]

  • 400 Bad request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Discovery campaign not found
  • 500 Internal server error