Kong · Schema

CreatePortalSnippetRequest

Create a snippet in a portal.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
name object
title object
content object
visibility object
status object
description object
View JSON Schema on GitHub

JSON Schema

kong-createportalsnippetrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePortalSnippetRequest",
  "title": "CreatePortalSnippetRequest",
  "description": "Create a snippet in a portal.",
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/components/schemas/SnippetName"
    },
    "title": {
      "$ref": "#/components/schemas/SnippetTitle"
    },
    "content": {
      "$ref": "#/components/schemas/SnippetContent"
    },
    "visibility": {
      "$ref": "#/components/schemas/SnippetVisibilityStatus"
    },
    "status": {
      "$ref": "#/components/schemas/PublishedStatus"
    },
    "description": {
      "$ref": "#/components/schemas/Description"
    }
  },
  "additionalProperties": false,
  "required": [
    "name",
    "content"
  ]
}