PostHog · Schema

PatchedObjectMediaPreview

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
created_at string
updated_at string
media_url string
media_type string Return 'uploaded' or 'exported' based on which media is set
metadata object
uploaded_media_id string
exported_asset_id string
event_definition_id string
View JSON Schema on GitHub

JSON Schema

posthog-patchedobjectmediapreview-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchedObjectMediaPreview",
  "title": "PatchedObjectMediaPreview",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "nullable": true
    },
    "media_url": {
      "type": "string",
      "readOnly": true
    },
    "media_type": {
      "type": "string",
      "description": "Return 'uploaded' or 'exported' based on which media is set",
      "readOnly": true
    },
    "metadata": {},
    "uploaded_media_id": {
      "type": "string",
      "format": "uuid",
      "writeOnly": true,
      "nullable": true
    },
    "exported_asset_id": {
      "type": "string",
      "format": "uuid",
      "writeOnly": true,
      "nullable": true
    },
    "event_definition_id": {
      "type": "string",
      "format": "uuid",
      "writeOnly": true,
      "nullable": true
    }
  }
}