Discord · Schema

AuditLogEntryResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
action_type object
user_id object
target_id object
changes arraynull
options objectnull
reason stringnull
View JSON Schema on GitHub

JSON Schema

discord-auditlogentryresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AuditLogEntryResponse",
  "title": "AuditLogEntryResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "action_type": {
      "$ref": "#/components/schemas/AuditLogActionTypes"
    },
    "user_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "target_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "changes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/AuditLogObjectChangeResponse"
      }
    },
    "options": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "action_type"
  ]
}