Open Context Protocol is live! 🚀 Read the launch post
getSpaceDefaultClassificationLevel

getSpaceDefaultClassificationLevel

Get space default classification level

Details

  • Method: GET
  • Path: /spaces/{id}/classification-level/default
  • Operation ID: getSpaceDefaultClassificationLevel

Parameters

{
  "id": {
    "description": "The ID of the space for which default classification level should be returned.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Response Schema

{
  "title": "ClassificationLevel",
  "type": "object",
  "description": "A unit of [data classification](https://support.atlassian.com/security-and-access-policies/docs/what-is-data-classification/) defined by an organiation. \nA classification level may be associated with specific storage and handling requirements or expectations.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the classification level."
    },
    "status": {
      "type": "object",
      "description": "The status of the classification level.",
      "$ref": "#/components/schemas/ClassificationLevelStatus"
    },
    "order": {
      "type": "number",
      "description": "The order of the classification level object."
    },
    "name": {
      "type": "string",
      "description": "The name of the classification level object."
    },
    "description": {
      "type": "string",
      "description": "The description of the classification level object."
    },
    "guideline": {
      "type": "string",
      "description": "The guideline of the classification level object."
    },
    "color": {
      "type": "object",
      "description": "The color of the classification level object.",
      "$ref": "#/components/schemas/ClassificationLevelColor"
    }
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('confluence')

# Call this tool
result = await agent.call_tool('getSpaceDefaultClassificationLevel', {
    # Add required parameters here
})