Log specification

Create log specification

Changed on

Create a new log specification.

post/controlplane/log/spec

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/controlplane/log/spec
  • Auth
    HTTP bearer

Request body

organization_idinteger

The ID of the organization.

account_idinteger

The ID of the account.

template_varsobject
selector_definitionobject
selectorobject

Example request

{
  "organization_id": 1234,
  "account_id": 2345
}

Response

Log specification created successfully.

idstring

The ID of the log specification.

organization_idinteger

The ID of the organization.

account_idinteger

The ID of the account.

template_varsobject
selector_definitionobject
selectorobject
namestring

The name of the log.

created_atstring date-time

The ISO-8601 UTC timestamp of when the log was created.

updated_atstring date-time nullable

The ISO-8601 UTC timestamp of when the log was last updated.

Example response

{
  "id": "3456",
  "organization_id": 1234,
  "account_id": 2345,
  "created_at": "2021-01-02T00:00:00Z",
  "updated_at": "2021-01-02T00:00:00Z"
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status