Open Context Protocol is live! 🚀 Read the launch post

getDatabaseOperations

Get permitted operations for a database

GET /databases/{id}/operations HTTP/1.1

Parameters

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

Response Schema

{
  "description": "The list of operations permitted on entity.",
  "type": "object",
  "properties": {
    "operations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "operation": {
            "description": "The type of operation.",
            "type": "string"
          },
          "targetType": {
            "description": "The type of entity the operation type targets.",
            "type": "string"
          }
        }
      }
    }
  }
}