All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.armeria.thrift.CentralDogma.json Maven / Gradle / Ivy

{
  "name": "CentralDogma",
  "namespaces": {
    "java": "com.linecorp.centraldogma.internal.thrift"
  },
  "includes": [
  ],
  "enums": [
    {
      "name": "ErrorCode",
      "members": [
        {
          "name": "UNIMPLEMENTED",
          "value": 1
        },
        {
          "name": "INTERNAL_SERVER_ERROR",
          "value": 2
        },
        {
          "name": "BAD_REQUEST",
          "value": 3
        },
        {
          "name": "PROJECT_NOT_FOUND",
          "value": 4
        },
        {
          "name": "PROJECT_EXISTS",
          "value": 5
        },
        {
          "name": "REPOSITORY_NOT_FOUND",
          "value": 6
        },
        {
          "name": "REPOSITORY_EXISTS",
          "value": 7
        },
        {
          "name": "REVISION_NOT_FOUND",
          "value": 8
        },
        {
          "name": "REVISION_EXISTS",
          "value": 9,
          "doc": "Unused; use CHANGE_CONFLICT.\n"
        },
        {
          "name": "ENTRY_NOT_FOUND",
          "value": 10
        },
        {
          "name": "REDUNDANT_CHANGE",
          "value": 11
        },
        {
          "name": "CHANGE_CONFLICT",
          "value": 12
        },
        {
          "name": "QUERY_FAILURE",
          "value": 13
        },
        {
          "name": "SHUTTING_DOWN",
          "value": 14
        }
      ]
    },
    {
      "name": "EntryType",
      "members": [
        {
          "name": "JSON",
          "value": 1
        },
        {
          "name": "TEXT",
          "value": 2
        },
        {
          "name": "DIRECTORY",
          "value": 3
        }
      ]
    },
    {
      "name": "ChangeType",
      "members": [
        {
          "name": "UPSERT_JSON",
          "value": 1
        },
        {
          "name": "UPSERT_TEXT",
          "value": 2
        },
        {
          "name": "REMOVE",
          "value": 3
        },
        {
          "name": "RENAME",
          "value": 4
        },
        {
          "name": "APPLY_JSON_PATCH",
          "value": 5
        },
        {
          "name": "APPLY_TEXT_PATCH",
          "value": 6
        }
      ]
    },
    {
      "name": "PropertyType",
      "members": [
        {
          "name": "REQUIRED",
          "value": 1
        },
        {
          "name": "DYNAMIC",
          "value": 2
        }
      ]
    },
    {
      "name": "Markup",
      "members": [
        {
          "name": "UNKNOWN",
          "value": 1
        },
        {
          "name": "PLAINTEXT",
          "value": 2
        },
        {
          "name": "MARKDOWN",
          "value": 3
        }
      ]
    },
    {
      "name": "PluginOperationDataType",
      "members": [
        {
          "name": "UNDEFINED",
          "value": 1
        },
        {
          "name": "BOOLEAN",
          "value": 2
        },
        {
          "name": "NUMBER",
          "value": 3
        },
        {
          "name": "STRING",
          "value": 4
        },
        {
          "name": "OBJECT",
          "value": 5
        },
        {
          "name": "ARRAY",
          "value": 6
        }
      ]
    },
    {
      "name": "PropertyFilterType",
      "members": [
        {
          "name": "JSON_PATH",
          "value": 1
        }
      ]
    },
    {
      "name": "QueryType",
      "members": [
        {
          "name": "IDENTITY",
          "value": 1
        },
        {
          "name": "JSON_PATH",
          "value": 2
        },
        {
          "name": "IDENTITY_TEXT",
          "value": 3
        },
        {
          "name": "IDENTITY_JSON",
          "value": 4
        }
      ]
    }
  ],
  "typedefs": [
    {
      "name": "RevisionNumber",
      "typeId": "binary"
    },
    {
      "name": "Timestamp",
      "typeId": "binary"
    },
    {
      "name": "EntryPath",
      "typeId": "binary"
    }
  ],
  "structs": [
    {
      "name": "CentralDogmaException",
      "isException": true,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "errorCode",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "message",
          "typeId": "binary",
          "required": "optional"
        }
      ]
    },
    {
      "name": "Entry",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 3,
          "name": "content",
          "typeId": "binary",
          "required": "optional"
        }
      ]
    },
    {
      "name": "MergedEntry",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "revision",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Revision"
          },
          "required": "required"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 3,
          "name": "content",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 4,
          "name": "paths",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "binary"
          },
          "required": "required"
        }
      ]
    },
    {
      "name": "MergeSource",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "isOptional",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "Change",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 3,
          "name": "content",
          "typeId": "binary",
          "required": "optional"
        }
      ]
    },
    {
      "name": "Revision",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "major",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "minor",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "Author",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "email",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "Comment",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "content",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "markup",
          "typeId": "i32",
          "required": "optional",
          "default": 2
        }
      ]
    },
    {
      "name": "Commit",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "revision",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Revision"
          },
          "required": "required"
        },
        {
          "key": 2,
          "name": "author",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Author"
          },
          "required": "required"
        },
        {
          "key": 3,
          "name": "timestamp",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 4,
          "name": "summary",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 5,
          "name": "detail",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "required"
        },
        {
          "key": 6,
          "name": "diffs",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Change"
            }
          },
          "required": "required",
          "default": [
          ]
        }
      ]
    },
    {
      "name": "Repository",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "head",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Commit"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "PropertyFilter",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "content",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "SchemaEntry",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "repositoryName",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 3,
          "name": "propertyFilter",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "PropertyFilter"
          },
          "required": "required"
        },
        {
          "key": 4,
          "name": "types",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "i32"
          },
          "required": "required"
        },
        {
          "key": 5,
          "name": "comment",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "Schema",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "entries",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "SchemaEntry"
            }
          },
          "required": "required"
        }
      ]
    },
    {
      "name": "PluginOperationParamDef",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 3,
          "name": "comment",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "PluginOperationReturnDef",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "comment",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "PluginOperation",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "pluginName",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "operationName",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 3,
          "name": "paramDefs",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "PluginOperationParamDef"
            }
          },
          "required": "required"
        },
        {
          "key": 4,
          "name": "returnDef",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "PluginOperationReturnDef"
          },
          "required": "required"
        },
        {
          "key": 5,
          "name": "comment",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "Plugin",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "Project",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 3,
          "name": "schema",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Schema"
          },
          "required": "optional"
        },
        {
          "key": 4,
          "name": "plugins",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Plugin"
            }
          },
          "required": "optional",
          "default": [
          ]
        }
      ]
    },
    {
      "name": "Query",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "path",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 3,
          "name": "expressions",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "binary"
          },
          "required": "required"
        }
      ]
    },
    {
      "name": "MergeQuery",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "mergeSources",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "MergeSource"
            }
          },
          "required": "required"
        },
        {
          "key": 3,
          "name": "expressions",
          "typeId": "list",
          "type": {
            "typeId": "list",
            "elemTypeId": "binary"
          },
          "required": "required"
        }
      ]
    },
    {
      "name": "NamedQuery",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "name",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "enabled",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 3,
          "name": "repositoryName",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 4,
          "name": "query",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Query"
          },
          "required": "required"
        },
        {
          "key": 5,
          "name": "comment",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Comment"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "Subscriber",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "address",
          "typeId": "binary",
          "required": "required"
        },
        {
          "key": 2,
          "name": "port",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "GetFileResult",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "content",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "DiffFileResult",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "type",
          "typeId": "i32",
          "required": "required"
        },
        {
          "key": 2,
          "name": "content",
          "typeId": "binary",
          "required": "required"
        }
      ]
    },
    {
      "name": "WatchRepositoryResult",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "revision",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Revision"
          },
          "required": "optional"
        }
      ]
    },
    {
      "name": "WatchFileResult",
      "isException": false,
      "isUnion": false,
      "fields": [
        {
          "key": 1,
          "name": "revision",
          "typeId": "struct",
          "type": {
            "typeId": "struct",
            "class": "Revision"
          },
          "required": "optional"
        },
        {
          "key": 2,
          "name": "type",
          "typeId": "i32",
          "required": "optional"
        },
        {
          "key": 3,
          "name": "content",
          "typeId": "binary",
          "required": "optional"
        }
      ]
    }
  ],
  "constants": [
    {
      "name": "HEAD",
      "typeId": "binary",
      "value": -1
    },
    {
      "name": "DOGMA",
      "typeId": "binary",
      "value": "dogma"
    },
    {
      "name": "META",
      "typeId": "binary",
      "value": "meta"
    },
    {
      "name": "EMPTY_WATCH_REPOSITORY_RESULT",
      "typeId": "struct",
      "type": {
        "typeId": "struct",
        "class": "WatchRepositoryResult"
      },
      "value": {

      }
    },
    {
      "name": "EMPTY_WATCH_FILE_RESULT",
      "typeId": "struct",
      "type": {
        "typeId": "struct",
        "class": "WatchFileResult"
      },
      "value": {

      }
    }
  ],
  "services": [
    {
      "name": "CentralDogmaService",
      "doc": "Central Dogma Service\n",
      "functions": [
        {
          "name": "createProject",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Creates a project.\n",
          "arguments": [
            {
              "key": 1,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "removeProject",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Removes a project.\n",
          "arguments": [
            {
              "key": 1,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "purgeProject",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Purges a project.\n",
          "arguments": [
            {
              "key": 1,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "unremoveProject",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Unremoves a project.\n",
          "arguments": [
            {
              "key": 1,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listProjects",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Project"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of the projects.\n",
          "arguments": [
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listRemovedProjects",
          "returnTypeId": "set",
          "returnType": {
            "typeId": "set",
            "elemTypeId": "binary"
          },
          "oneway": false,
          "doc": "Retrieves the list of the removed projects.\n",
          "arguments": [
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "createRepository",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Creates a repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "removeRepository",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Removes a repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "purgeRepository",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Purges a repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "unremoveRepository",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Unremoves a repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listRepositories",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Repository"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of the repositories.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listRemovedRepositories",
          "returnTypeId": "set",
          "returnType": {
            "typeId": "set",
            "elemTypeId": "binary"
          },
          "oneway": false,
          "doc": "Retrieves the list of the removed repositories.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "normalizeRevision",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "Revision"
          },
          "oneway": false,
          "doc": "Converts the relative revision number to the absolute revision number. (e.g. -1 -> 3, -1.-1 -> 3.4)\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "revision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listFiles",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Entry"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of the files in the path.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "revision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "pathPattern",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getFiles",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Entry"
            }
          },
          "oneway": false,
          "doc": "Retrieves the files that match the path pattern.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "revision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "pathPattern",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getHistory",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Commit"
            }
          },
          "oneway": false,
          "doc": "Retrieves the history of the repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "fromRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "toRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "pathPattern",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getDiffs",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Change"
            }
          },
          "oneway": false,
          "doc": "Retrieves the diffs matched by the path pattern from {@code from} to {@code to}.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "fromRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "toRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "pathPattern",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getPreviewDiffs",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Change"
            }
          },
          "oneway": false,
          "doc": "Retrieves preview diffs on {@code baseRevsion} for {@code changes}.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "baseRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "changes",
              "typeId": "list",
              "type": {
                "typeId": "list",
                "elemTypeId": "struct",
                "elemType": {
                  "typeId": "struct",
                  "class": "Change"
                }
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "push",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "Commit"
          },
          "oneway": false,
          "doc": "Pushes the changes to the repository.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "baseRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "author",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Author"
              },
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "summary",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 6,
              "name": "detail",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Comment"
              },
              "required": "req_out"
            },
            {
              "key": 7,
              "name": "changes",
              "typeId": "list",
              "type": {
                "typeId": "list",
                "elemTypeId": "struct",
                "elemType": {
                  "typeId": "struct",
                  "class": "Change"
                }
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getFile",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "GetFileResult"
          },
          "oneway": false,
          "doc": "Queries a file at the specified revision.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "revision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "query",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Query"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "diffFile",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "DiffFileResult"
          },
          "oneway": false,
          "doc": "Queries a file at two different revisions and return the diff of the two query results.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "fromRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "toRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "query",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Query"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "mergeFiles",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "MergedEntry"
          },
          "oneway": false,
          "doc": "Retrieves the merged entry of the specified query at the specified revision. Only JSON entry\nmerge is currently supported. The JSON files are merged sequentially as specified in the mergeQuery.\nNote that only object is recursively merged traversing the children. Others are simply replaced.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "revision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "mergeQuery",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "MergeQuery"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "watchRepository",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "WatchRepositoryResult"
          },
          "oneway": false,
          "doc": "Awaits and returns the latest known revision since the specified revision.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "lastKnownRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "pathPattern",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "timeoutMillis",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "watchFile",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "WatchFileResult"
          },
          "oneway": false,
          "doc": "Awaits and returns the query result of the specified file since the specified last known revision.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "repositoryName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 3,
              "name": "lastKnownRevision",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Revision"
              },
              "required": "req_out"
            },
            {
              "key": 4,
              "name": "query",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Query"
              },
              "required": "req_out"
            },
            {
              "key": 5,
              "name": "timeoutMillis",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getSchema",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "Schema"
          },
          "oneway": false,
          "doc": "Gets the schema.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "saveSchema",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Saves the schema.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "schema",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Schema"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getNamedQuery",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "NamedQuery"
          },
          "oneway": false,
          "doc": "Gets the named query.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "saveNamedQuery",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Saves the named query.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "namedQuery",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "NamedQuery"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "removeNamedQuery",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Removes the named query.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "name",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listNamedQueries",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "NamedQuery"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of the named queries.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "getPlugin",
          "returnTypeId": "struct",
          "returnType": {
            "typeId": "struct",
            "class": "Plugin"
          },
          "oneway": false,
          "doc": "Gets the plugin.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "pluginName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "savePlugin",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Saves the plugin.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "plugin",
              "typeId": "struct",
              "type": {
                "typeId": "struct",
                "class": "Plugin"
              },
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "removePlugin",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Removes the plugin.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            },
            {
              "key": 2,
              "name": "pluginName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listPlugins",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "Plugin"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of the plugins.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "listPluginOperations",
          "returnTypeId": "list",
          "returnType": {
            "typeId": "list",
            "elemTypeId": "struct",
            "elemType": {
              "typeId": "struct",
              "class": "PluginOperation"
            }
          },
          "oneway": false,
          "doc": "Retrieves the list of all operations provided by the plugin.\n",
          "arguments": [
            {
              "key": 1,
              "name": "projectName",
              "typeId": "binary",
              "required": "req_out"
            }
          ],
          "exceptions": [
            {
              "key": 1,
              "name": "e",
              "typeId": "exception",
              "type": {
                "typeId": "exception",
                "class": "CentralDogmaException"
              },
              "required": "req_out"
            }
          ]
        },
        {
          "name": "performPluginOperation",
          "returnTypeId": "binary",
          "oneway": false,
          "doc": "Performs the plugin operation.\n

\n

    \n
  • {@code params} is a JSON dictionary whose keys and values are the names and values\n of the parameters.<\/li>\n
  • The return value is one of the following:\n
      \n
    • a JSON object,<\/li>\n
    • a JSON array,<\/li>\n
    • a number,<\/li>\n
    • a boolean value ({@code true} or {@code false}) or<\/li>\n
    • {@code null}<\/li>\n <\/ul>\n <\/li>\n<\/ul>\n<\/p>\n", "arguments": [ { "key": 1, "name": "projectName", "typeId": "binary", "required": "req_out" }, { "key": 2, "name": "pluginName", "typeId": "binary", "required": "req_out" }, { "key": 3, "name": "operationName", "typeId": "binary", "required": "req_out" }, { "key": 4, "name": "params", "typeId": "binary", "required": "req_out" } ], "exceptions": [ { "key": 1, "name": "e", "typeId": "exception", "type": { "typeId": "exception", "class": "CentralDogmaException" }, "required": "req_out" } ] }, { "name": "queryByNamedQuery", "returnTypeId": "binary", "oneway": false, "doc": "Queries by the named query.\n", "arguments": [ { "key": 1, "name": "projectName", "typeId": "binary", "required": "req_out" }, { "key": 2, "name": "namedQuery", "typeId": "binary", "required": "req_out" }, { "key": 3, "name": "revision", "typeId": "struct", "type": { "typeId": "struct", "class": "Revision" }, "required": "req_out" } ], "exceptions": [ { "key": 1, "name": "e", "typeId": "exception", "type": { "typeId": "exception", "class": "CentralDogmaException" }, "required": "req_out" } ] }, { "name": "listSubscribers", "returnTypeId": "list", "returnType": { "typeId": "list", "elemTypeId": "struct", "elemType": { "typeId": "struct", "class": "Subscriber" } }, "oneway": false, "doc": "Retrieves the list of the subscribers for the json file.\n", "arguments": [ { "key": 1, "name": "projectName", "typeId": "binary", "required": "req_out" }, { "key": 2, "name": "repositoryName", "typeId": "binary", "required": "req_out" }, { "key": 3, "name": "path", "typeId": "binary", "required": "req_out" } ], "exceptions": [ { "key": 1, "name": "e", "typeId": "exception", "type": { "typeId": "exception", "class": "CentralDogmaException" }, "required": "req_out" } ] } ] } ] }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy