PostHog · Schema

TeamBasic

Serializer for `Team` model with minimal attributes to speeed up loading and transfer times. Also used for nested serializers.

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id integer
uuid string
organization string
project_id integer
api_token string
name string
completed_snippet_onboarding boolean
has_completed_onboarding_for object
ingested_event boolean
is_demo boolean
timezone object
access_control boolean
View JSON Schema on GitHub

JSON Schema

posthog-teambasic-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TeamBasic",
  "title": "TeamBasic",
  "type": "object",
  "description": "Serializer for `Team` model with minimal attributes to speeed up loading and transfer times.\nAlso used for nested serializers.",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "uuid": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "organization": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "project_id": {
      "type": "integer",
      "maximum": 9223372036854775807,
      "minimum": -9223372036854775808,
      "format": "int64",
      "readOnly": true
    },
    "api_token": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "readOnly": true
    },
    "completed_snippet_onboarding": {
      "type": "boolean",
      "readOnly": true
    },
    "has_completed_onboarding_for": {
      "readOnly": true,
      "nullable": true
    },
    "ingested_event": {
      "type": "boolean",
      "readOnly": true
    },
    "is_demo": {
      "type": "boolean",
      "readOnly": true
    },
    "timezone": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TimezoneEnum"
        }
      ],
      "readOnly": true
    },
    "access_control": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "required": [
    "access_control",
    "api_token",
    "completed_snippet_onboarding",
    "has_completed_onboarding_for",
    "id",
    "ingested_event",
    "is_demo",
    "name",
    "organization",
    "project_id",
    "timezone",
    "uuid"
  ]
}