Discoveries

Turn discovery schedules on or off

Changed on

Turns the schedule of each scheduled discovery on or off, and changes nothing else about them. The request is refused, and nothing changes, if any discovery has no schedule or is running.

post/api/v1/discoveries/bulk-set-enabled

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/v1/discoveries/bulk-set-enabled
  • Auth
    • API key in header Authorization
    • or API key in cookie session_id

Request body

enabledboolean required

Whether their schedules run.

idsstring[] required

IDs of the scheduled discoveries.

Response

Schedules updated

errorstring nullable

Not sent on a successful response. Failure messages arrive in an ApiErrorResponse.

successboolean required

Always true on a successful response.

Changes

    • breaking

      added subschema #56 to the ////////// response property oneOf list for the response status

    • warning

      added the new DaemonDroppedSession enum value to the ///////////// response property for the response status

    • warning

      added the new DaemonOffline enum value to the ///////////// response property for the response status

    • warning

      added the new SessionSilent enum value to the ///////////// response property for the response status