API

/web_api/mcp_server_oauth_scope/read

/web_api/mcp_server_oauth_scope/read ​

This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.

Request ​

main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.request.json

REQUEST /web_api/mcp_server_oauth_scope/read

NameTypeRequiredConstraint
mcp_server_oauth_scope_idintegerYesminimum 1

Other top-level fields are not allowed.

Response ​

main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.response.json

RESPONSE /web_api/mcp_server_oauth_scope/read

NameTypeRequiredConstraint
api_codeintegerYesconst 200
api_resultobject | booleanYes-
emptybooleanNo-

Other top-level fields are not allowed.

Source schema ​

The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.

Request: main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.request.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.request.json",
  "title": "REQUEST /web_api/mcp_server_oauth_scope/read",
  "$comment": "Generated from the DB model structure_scheme. Edit the model, then run node fill-from-structure-scheme.mjs.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "mcp_server_oauth_scope_id"
  ],
  "properties": {
    "mcp_server_oauth_scope_id": {
      "type": "integer",
      "minimum": 1
    }
  }
}
Response: main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.response.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/read.response.json",
  "title": "RESPONSE /web_api/mcp_server_oauth_scope/read",
  "$comment": "Generated from the DB model structure_scheme. Edit the model, then run node fill-from-structure-scheme.mjs.",
  "allOf": [
    {
      "$ref": "main-app://schemas/_shared/envelope-success.json"
    },
    {
      "type": "object",
      "properties": {
        "api_result": {
          "anyOf": [
            {
              "$ref": "main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/row.json"
            },
            {
              "const": false
            }
          ]
        }
      }
    }
  ]
}
Fragment: main-app://schemas/_shared/envelope-success.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/envelope-success.json",
  "title": "Canonical success envelope",
  "type": "object",
  "required": ["api_code", "api_result"],
  "properties": {
    "api_code": { "const": 200 },
    "api_result": true,
    "empty": { "type": "boolean" }
  },
  "additionalProperties": false
}
Fragment: main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/row.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_server_oauth_scope/row.json",
  "title": "Row mcp_server_oauth_scope",
  "$comment": "Generated from the DB model structure_scheme. Edit the model, then run node fill-from-structure-scheme.mjs.",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "mcp_server_oauth_scope_id": {
      "type": "integer",
      "minimum": 0
    },
    "mcp_server_oauth_id": {
      "type": "integer",
      "minimum": 0
    },
    "mcp_server_id": {
      "type": "integer",
      "minimum": 0
    },
    "team_id": {
      "type": "integer",
      "minimum": 0
    },
    "project_id": {
      "type": "integer",
      "minimum": 0
    },
    "scope_name": {
      "type": "string",
      "maxLength": 255
    },
    "created_at": {
      "type": "string",
      "description": "timestamp Y-m-d H:i:s"
    }
  }
}

Version 1.0.0 · Last updated 2026-10-07

Did this page help?