DNによるオブジェクト・クラス変換のマップの変更
PATCH
/rest/v1/admin/{dn}
DNによるオブジェクト・クラス変換のマップの変更
リクエスト
サポートされているメディア・タイプ
- application/json
パス・パラメータ
- dn(required): string
変更するエントリのLDAP DN。
変更する必要があるオブジェクト・クラス変換のマップ
ルート・スキーマ: PatchRequest
型:
ソースを表示
object
- controls: array controls
LDAP変更操作のためにサーバーに送信するLDAP制御。
- msgType(required): string
デフォルト値:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequest
RESTメッセージ・タイプ - operations(必須): array operations
エントリに対して実行する変更(パッチ操作)。
ネストされたスキーマ: PatchOperation
型:
ソースを表示
object
- attribute(required): string
変更するエントリ属性。
- opType(required): string
指定可能な値:
[ "add", "delete", "replace", "increment" ]
パッチ操作のタイプ。 - values: array values
更新する属性値。
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
OK
ルート・スキーマ: オブジェクト・クラス変換のマップのPatchSuccessResponse
型:
ソースを表示
object
- msgType(required): string
デフォルト値:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponse
RESTメッセージ・タイプ - searchResultEntries(required): array searchResultEntries
LDAP操作後に返される検索結果エントリの数。
- totalResults(required): integer(int32)
作成され、返されるエントリの数を指定します。
ネストされたスキーマ: オブジェクト・クラス変換のマップのSearchResultEntry
型:
ソースを表示
object
- attributes(required): object オブジェクト・クラス変換のマップのプロパティ
- dn(required): string
作成するエントリのLDAP DN。
ネストされたスキーマ: オブジェクト・クラス変換のマップのプロパティ
型:
ソースを表示
object
- cn: string
エントリのCN (共通名)
- ds-cfg-add-attribute: array ds-cfg-add-attribute
追加操作中にエントリに属性を追加します。オプションでオブジェクト・クラス名を指定して、そのオブジェクト・クラスにのみ属性を追加することができます。
- ds-cfg-entry-match-filter: string
この変換を適用するためにエントリが一致する必要があるフィルタを指定します。
- ds-cfg-entry-parent-suffix: array ds-cfg-entry-parent-suffix
この変換が適用される操作DNの祖先を指定します。
- ds-cfg-excluded-operation: array ds-cfg-excluded-operation
この変換が適用されない操作を指定します。これにより、この変換の標準動作を制限できます。
- ds-cfg-filter-attribute: array ds-cfg-filter-attribute
追加、変更操作中にエントリから、および返されたすべてのエントリから、属性を削除します。条件付きのオブジェクト・クラス名を指定して、そのオブジェクト・クラスの属性のみを削除することができます。
- ds-cfg-filter-objectclass-on-modify: boolean
デフォルト値:
true
変更操作中にオブジェクト・クラスを削除します。 - ds-cfg-filter-objectclass-on-write: array ds-cfg-filter-objectclass-on-write
追加および変更操作中にオブジェクト・クラスを削除します。
- ds-cfg-java-class(required): string
デフォルト値:
org.opends.server.core.transformations.attributetransformations.MapObjectClass
オブジェクト・クラス変換のマップの実装を提供するJavaクラスの完全修飾名を指定します。 - ds-cfg-map-attribute: array ds-cfg-map-attribute
クライアント属性をソース属性にマップします。
- ds-cfg-map-objectclass(required): array ds-cfg-map-objectclass
クライアント・オブジェクト・クラスをソース・オブジェクト・クラスにマップします。
- objectclass(required): array objectclass
このエントリが属するオブジェクト・クラス。
ネストされたスキーマ: ds-cfg-add-attribute
型:
array
追加操作中にエントリに属性を追加します。オプションでオブジェクト・クラス名を指定して、そのオブジェクト・クラスにのみ属性を追加することができます。
ソースを表示
ネストされたスキーマ: ds-cfg-excluded-operation
型:
array
この変換が適用されない操作を指定します。これにより、この変換の標準動作を制限できます。
指定可能な値:
ソースを表示
[ "add", "compare", "delete", "extended", "modify", "modifydn", "search" ]
ネストされたスキーマ: ds-cfg-filter-attribute
型:
array
追加、変更操作中にエントリから、および返されたすべてのエントリから、属性を削除します。条件付きのオブジェクト・クラス名を指定して、そのオブジェクト・クラスの属性のみを削除することができます。
ソースを表示
400レスポンス
ERROR
406レスポンス
受入れできません
ルート・スキーマ: ErrorResponse
型:
ソースを表示
object
- ldapErrorCode: integer(int32)
操作に対して返されるLDAPエラー・コードを指定します。
- message(required): string
操作に対して返されるエラー・メッセージ。
- msgType(required): string
デフォルト値:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponse
RESTメッセージ・タイプ