dataset

Create new Dataset

post/policies/dataset

Request body

namestring required

A unique name label

agent_group_idstring uuid required

A unique identifier of an agent_group

agent_policy_idstring uuid required

A unique identifier of an agent_policy

sink_idsstring[] required

An array of one or more sink unique identifier

Example request

{
  "name": "my-dataset"
}

Response

Policy object

idstring uuid required

Unique identifier (UUID)

namestring

A unique name label

agent_group_idstring uuid

Unique identifier (UUID) of an agent_group

agent_policy_idstring uuid

Unique identifier (UUID) of an agent_policy

sink_idsstring[]

An array of one or more sink unique identifier

validboolean

Boolean field indicating whether the dataset is valid

tagsobject

User defined key/values for organization and searching

ts_createdstring date-time

Timestamp of creation

Example response

{
  "name": "my-dataset",
  "tags": {
    "region": "eu",
    "node_type": "dns"
  }
}

Changes

Changed in 7 of the 25 revisions of this API.742

    • added the new required header request parameter Authorization to all path's operations

      new-required-request-default-parameter-to-existing-path

    • added the new required header request parameter Bearer authorization to all path's operations

      new-required-request-default-parameter-to-existing-path

  • 9309037e46b9121See the full diff
    • added the new required request property

      new-required-request-property

    • removed the request property

      request-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the optional property to the response with the status

      response-optional-property-added

    • removed the request property

      request-property-removed

  • dc9b53b51fdd31See the full diff
    • the request property's minItems was increased to 1

      request-property-min-items-increased

    • the request property type changed from string to array, and format from uuid to no format

      request-property-type-changed

    • the response's property type changed from string to array, and format from uuid to no format for status

      response-property-type-changed

    • removed the request property

      request-property-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog