Getting startedGuidesReferenceChangelog
Apoxy:// Docs / Reference / LoggingPolicy

LoggingPolicy

API reference for Logging Policies (clrk.apoxy.dev/v1alpha1)

API Group: clrk.apoxy.dev/v1alpha1

Operations

List LoggingPolicy

GET/apis/clrk.apoxy.dev/v1alpha1/loggingpolicies

List LoggingPolicy

Response

  • 200: OK

List LoggingPolicy

GET/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies

List LoggingPolicy

Response

  • 200: OK

Create LoggingPolicy

POST/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies

Create a LoggingPolicy

Request Body

Spec fields (LoggingSpec):

FieldTypeDescription
captureRequestboolean
captureResponseboolean
redactHeadersstring[]
sinkRefstring

Response

  • 200: OK
  • 201: Created
  • 202: Accepted

Delete All LoggingPolicy

DELETE/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies

Delete collection of LoggingPolicy

Response

  • 200: OK

Get LoggingPolicy

GET/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies/{name}

Get the specified LoggingPolicy

Response

  • 200: OK

Replace LoggingPolicy

PUT/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies/{name}

Replace the specified LoggingPolicy

Request Body

Spec fields (LoggingSpec):

FieldTypeDescription
captureRequestboolean
captureResponseboolean
redactHeadersstring[]
sinkRefstring

Response

  • 200: OK
  • 201: Created

Update LoggingPolicy

PATCH/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies/{name}

Partially update the specified LoggingPolicy

Response

  • 200: OK
  • 201: Created

Delete LoggingPolicy

DELETE/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/loggingpolicies/{name}

Delete a LoggingPolicy

Response

  • 200: OK
  • 202: Accepted