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

getDefaultShareScope

Get default share scope

Details

  • Method: GET
  • Path: /rest/api/3/filter/defaultShareScope
  • Operation ID: getDefaultShareScope

Parameters

{}

Response Schema

{
  "additionalProperties": false,
  "description": "Details of the scope of the default sharing for new filters and dashboards.",
  "properties": {
    "scope": {
      "description": "The scope of the default sharing for new filters and dashboards:\n\n *  `AUTHENTICATED` Shared with all logged-in users.\n *  `GLOBAL` Shared with all logged-in users. This shows as `AUTHENTICATED` in the response.\n *  `PRIVATE` Not shared with any users.",
      "enum": [
        "GLOBAL",
        "AUTHENTICATED",
        "PRIVATE"
      ],
      "type": "string"
    }
  },
  "required": [
    "scope"
  ],
  "type": "object",
  "xml": {
    "name": "defaultShareScope"
  }
}

Usage

from ocp_agent import OCPAgent

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

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