.. Warning: this file is automatically generated. Edits will be lost .. list-table:: Methods for CN component :widths: 3 3 10 10 30 :header-rows: 1 * - Tier - Version - REST - Function - Parameters * - Tier 1 - 1.0, (2.0) - ``GET /monitor/ping`` - :func:`CNCore.ping` - () ``->`` null * - Tier 1 - 1.0, 2.0 - ``POST /object`` - :func:`CNCore.create` - (:class:`session`, :class:`pid`, ``object``, :class:`sysmeta`) ``->`` :class:`Types.Identifier` * - Tier 1 - 1.0, 2.0 - ``GET /formats`` - :func:`CNCore.listFormats` - () ``->`` :class:`Types.ObjectFormatList` * - Tier 1 - 1.0, 2.0 - ``GET /formats/{formatId}`` - :func:`CNCore.getFormat` - (:class:`formatId`) ``->`` :class:`Types.ObjectFormat` * - Tier 1 - 1.0, 2.0 - ``GET /log?[fromDate={fromDate}][&toDate={toDate}][&event={event}][&idFilter={idFilter}][&start={start}][&count={count}]`` - :func:`CNCore.getLogRecords` - (:class:`session`, :class:`[fromDate]`, :class:`[toDate]`, :class:`[event]`, ``[idFilter]``, ``[start]``, ``[count]``) ``->`` :class:`Types.Log` * - Tier 1 - 1.0, 2.0 - ``POST /reserve`` - :func:`CNCore.reserveIdentifier` - (:class:`session`, :class:`id`) ``->`` :class:`Types.Identifier` * - Tier 1 - 1.0, (2.0) - ``POST /generate`` - :func:`CNCore.generateIdentifier` - (:class:`session`, ``scheme``, ``[fragment]``) ``->`` :class:`Types.Identifier` * - Tier 1 - 1.0, (2.0) - ``GET /checksum`` - :func:`CNCore.listChecksumAlgorithms` - () ``->`` :class:`Types.ChecksumAlgorithmList` * - - 1.0, 2.0 - ``PUT /obsoletedBy/{pid}`` - :func:`CNCore.setObsoletedBy` - (:class:`session`, :class:`pid`, :class:`obsoletedByPid`, ``serialVersion``) ``->`` boolean * - Tier 3 - 1.0, (2.0) - ``DELETE /object/{id}`` - :func:`CNCore.delete` - (:class:`session`, :class:`id`) ``->`` :class:`Types.Identifier` * - Tier 3 - 1.0, 2.0 - ``PUT /archive/{id}`` - :func:`CNCore.archive` - (:class:`session`, :class:`id`) ``->`` :class:`Types.Identifier` * - Tier 1 - 1.0, 2.0 - ``GET /node`` - :func:`CNCore.listNodes` - () ``->`` :class:`Types.NodeList` * - Tier 1 - 1.0, 2.0 - ``GET /`` - :func:`CNCore.getCapabilities` - () ``->`` :class:`Types.Node` * - Tier 1 - 1.0, 2.0 - ``POST /meta`` - :func:`CNCore.registerSystemMetadata` - (:class:`session`, :class:`pid`, :class:`sysmeta`) ``->`` :class:`Types.Identifier` * - Tier 1 - 2.0 - ``PUT /meta`` - :func:`CNCore.updateSystemMetadata` - (:class:`session`, :class:`pid`, :class:`sysmeta`) ``->`` boolean * - - 1.0, 2.0 - ``GET /reserve/{id}?subject={subject}`` - :func:`CNCore.hasReservation` - (:class:`session`, :class:`subject`, :class:`id`) ``->`` boolean * - Tier 1 - 1.0, 2.0 - ``GET /object/{id}`` - :func:`CNRead.get` - (:class:`session`, :class:`id`) ``->`` :class:`Types.OctetStream` * - Tier 1 - 1.0, 2.0 - ``GET /meta/{id}`` - :func:`CNRead.getSystemMetadata` - (:class:`session`, :class:`id`) ``->`` :class:`Types.SystemMetadata` * - Tier 1 - 1.0, 2.0 - ``HEAD /object/{id}`` - :func:`CNRead.describe` - (:class:`session`, :class:`id`) ``->`` :class:`Types.DescribeResponse` * - Tier 1 - 1.0, 2.0 - ``GET /resolve/{id}`` - :func:`CNRead.resolve` - (:class:`session`, :class:`id`) ``->`` :class:`Types.ObjectLocationList` * - Tier 1 - 1.0, (2.0) - ``GET /checksum/{pid}`` - :func:`CNRead.getChecksum` - (:class:`session`, :class:`pid`) ``->`` :class:`Types.Checksum` * - Tier 1 - 1.0, (2.0) - ``GET /object[?fromDate={fromDate}&toDate={toDate}&identifier={identifier}&formatId={formatId}&nodeId={nodeId}&start={start}&count={count}]`` - :func:`CNRead.listObjects` - (:class:`session`, :class:`[fromDate]`, :class:`[toDate]`, :class:`[formatId]`, :class:`[identifier]`, ``[start=0]``, ``[count=1000]``, :class:`[nodeId]`) ``->`` :class:`Types.ObjectList` * - Tier 1 - 1.0, (2.0) - ``GET /search/{queryType}/{query}`` - :func:`CNRead.search` - (:class:`session`, ``queryType``, ``query``) ``->`` :class:`Types.ObjectList` * - Tier 1 - 1.1, (2.0) - ``GET /query/{queryEngine}/{query}`` - :func:`CNRead.query` - (:class:`session`, ``queryEngine``, ``query``) ``->`` :class:`Types.OctetStream` * - Tier 1 - 1.1, (2.0) - ``GET /query/{queryType}`` - :func:`CNRead.getQueryEngineDescription` - (:class:`session`, ``queryEngine``) ``->`` :class:`Types.QueryEngineDescription` * - Tier 1 - 1.1, (2.0) - ``GET /query`` - :func:`CNRead.listQueryEngines` - (:class:`session`) ``->`` :class:`Types.QueryEngineList` * - Tier 1 - 2.0 - ``POST /synchronize`` - :func:`CNRead.synchronize` - (:class:`session`, :class:`pid`) ``->`` boolean * - Tier 2 - 1.0, 2.0 - ``PUT /owner/{id}`` - :func:`CNAuthorization.setRightsHolder` - (:class:`session`, :class:`id`, :class:`userId`, ``serialVersion``) ``->`` :class:`Types.Identifier` * - Tier 2 - 1.0, 2.0 - ``GET /isAuthorized/{id}?action={action}`` - :func:`CNAuthorization.isAuthorized` - (:class:`session`, :class:`id`, :class:`action`) ``->`` boolean * - Tier 2 - 1.0, 2.0 - ``PUT /accessRules/{id}`` - :func:`CNAuthorization.setAccessPolicy` - (:class:`session`, :class:`id`, :class:`accessPolicy`, ``serialVersion``) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``POST /accounts`` - :func:`CNIdentity.registerAccount` - (:class:`session`, :class:`person`) ``->`` :class:`Types.Subject` * - Tier 2 - 1.0, (2.0) - ``PUT /accounts/{subject}`` - :func:`CNIdentity.updateAccount` - (:class:`session`, :class:`subject`, :class:`person`) ``->`` :class:`Types.Subject` * - Tier 2 - 1.0, (2.0) - ``PUT /accounts/verification/{subject}`` - :func:`CNIdentity.verifyAccount` - (:class:`session`, :class:`subject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``GET /accounts/{subject}`` - :func:`CNIdentity.getSubjectInfo` - (:class:`session`, :class:`subject`) ``->`` :class:`Types.SubjectInfo` * - Tier 2 - 1.0, (2.0) - ``GET /accounts?query={query}[&status={status}&start={start}&count={count}]`` - :func:`CNIdentity.listSubjects` - (:class:`session`, ``query``, ``status``, ``start``, ``count``) ``->`` :class:`Types.SubjectInfo` * - Tier 2 - 1.0, (2.0) - ``POST /accounts/map`` - :func:`CNIdentity.mapIdentity` - (:class:`session`, :class:`primarySubject`, :class:`secondarySubject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``DELETE /accounts/map/{subject}`` - :func:`CNIdentity.removeMapIdentity` - (:class:`session`, :class:`subject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``POST /accounts/pendingmap`` - :func:`CNIdentity.requestMapIdentity` - (:class:`session`, :class:`subject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``PUT /accounts/pendingmap/{subject}`` - :func:`CNIdentity.confirmMapIdentity` - (:class:`session`, :class:`subject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``GET /accounts/pendingmap/{subject}`` - :func:`CNIdentity.getPendingMapIdentity` - (:class:`session`, :class:`subject`) ``->`` :class:`Types.SubjectInfo` * - Tier 2 - 1.0, (2.0) - ``DELETE /accounts/pendingmap/{subject}`` - :func:`CNIdentity.denyMapIdentity` - (:class:`session`, :class:`subject`) ``->`` boolean * - Tier 2 - 1.0, (2.0) - ``POST /groups`` - :func:`CNIdentity.createGroup` - (:class:`session`, :class:`group`) ``->`` :class:`Types.Subject` * - Tier 2 - 1.0, (2.0) - ``PUT /groups`` - :func:`CNIdentity.updateGroup` - (:class:`session`, :class:`group`) ``->`` boolean * - Tier 4 - 1.0, (2.0) - ``PUT /replicaNotifications/{pid}`` - :func:`CNReplication.setReplicationStatus` - (:class:`session`, :class:`pid`, :class:`nodeRef`, :class:`status`, :class:`failure`) ``->`` boolean * - Tier 4 - 1.0, (2.0) - ``PUT /replicaMetadata/{pid}`` - :func:`CNReplication.updateReplicationMetadata` - (:class:`session`, :class:`pid`, :class:`replicaMetadata`, ``serialVersion``) ``->`` boolean * - Tier 4 - 1.0, 2.0 - ``PUT /replicaPolicies/{id}`` - :func:`CNReplication.setReplicationPolicy` - (:class:`session`, :class:`id`, :class:`policy`, ``serialVersion``) ``->`` boolean * - Tier 4 - 1.0, (2.0) - ``GET /replicaAuthorizations/{pid}?targetNodeSubject={targetNodeSubject}`` - :func:`CNReplication.isNodeAuthorized` - (:class:`session`, :class:`targetNodeSubject`, :class:`pid`) ``->`` boolean * - - 1.0, (2.0) - ``PUT /removeReplicaMetadata/{pid}`` - :func:`CNReplication.deleteReplicationMetadata` - (:class:`session`, :class:`pid`, :class:`nodeId`, ``serialVersion``) ``->`` boolean * - Tier 2 - 1.0, 2.0 - ``PUT /node/{nodeid}`` - :func:`CNRegister.updateNodeCapabilities` - (:class:`session`, :class:`nodeid`, :class:`node`) ``->`` boolean * - Tier 2 - 1.0, 2.0 - ``GET /node/{nodeid}`` - :func:`CNRegister.getNodeCapabilities` - (:class:`nodeid`) ``->`` :class:`Types.Node` * - Tier 2 - 1.0, 2.0 - ``POST /node`` - :func:`CNRegister.register` - (:class:`session`, :class:`node`) ``->`` :class:`Types.NodeReference` * - Tier 1 - 2.0 - ``GET /views/{theme}/{id}`` - :func:`CNView.view` - (:class:`session`, ``theme``, :class:`id`) ``->`` :class:`Types.OctetStream` * - Tier 1 - 2.0 - ``GET /views`` - :func:`CNView.listViews` - (:class:`session`) ``->`` :class:`Types.OptionList` * - Tier 2 - 2.0 - ``GET /diag/subject`` - :func:`CNDiagnostic.echoCredentials` - (:class:`session`) ``->`` :class:`Types.SubjectInfo` * - Tier 1 - 2.0 - ``POST /diag/sysmeta`` - :func:`CNDiagnostic.echoSystemMetadata` - (:class:`session`, :class:`sysmeta`) ``->`` :class:`Types.SystemMetadata` * - Tier 1 - 2.0 - ``POST /diag/object`` - :func:`CNDiagnostic.echoIndexedObject` - (:class:`session`, ``queryEngine``, :class:`sysmeta`, ``object``) ``->`` :class:`Types.OctetStream`