Add, Search, Compare or Delete Gateway Domain
post
/rest/v1/admin
Add, Search, Compare or Delete Gateway Domain
Request
Supported Media Types
- application/json
Gateway Domain that needs to be created
Root Schema : Gateway Domain POSTRequest
Type:
Show Source
object-
assertion:
string
Assertion string for the LDAP compare operation. Note: To be used only while performing LDAP compare operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.
-
attributes:
object Gateway Domain Properties
-
base:
string
Search Base DN to be used for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest. It is also mandatory for such operation
-
controls:
array controls
LDAP controls to be sent to server for the LDAP operation.
-
dn:
string
LDAP DN of the entry to be created or deleted or compared. Note: To be used only while performing LDAP add, delete or compare operations, i.e, if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest, urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest or urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.It is mandatory for such operations.
-
filter:
string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax. Note: To be used only while performing LDAP search operation using POST request, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
msgType(required):
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest" ]The REST message type -
requiredAttributes:
array requiredAttributes
List of attributes to be fetched for the entry. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
scope:
string
Allowed Values:
[ "base", "sub", "one" ]Scope for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
Nested Schema : Gateway Domain Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-base-dn:
string
Read Only:
trueSpecifies the base DN of the replicated data. -
ds-cfg-changetime-heartbeat-interval:
string
Default Value:
1000msSpecifies the heart-beat interval that the Replication Gateway will use when sending its local change time to the Replication Server. -
ds-cfg-dscc-address:
string
Read Only:
trueSpecifies the host name and port number where the Oracle Directory Service Control Center Registry is deployed. -
ds-cfg-dscc-admin-dn:
string
Read Only:
trueDefault Value:cn=admin,cn=Administrators,cn=dsccThe Directory Service Manager user name used to authenticate through the Oracle Directory Service Control Center. -
ds-cfg-dsee-auth-protocol:
string
Default Value:
clearAllowed Values:[ "clear", "ssl-client", "ssl-simple" ]Specifies the behavior that the backend should use when processing write operations. -
ds-cfg-dsee-bind-dn:
string
Default Value:
cn=replication manager,cn=replication,cn=configAttribute specifying which bind dn is to be used to connect the DSEE consumer. -
ds-cfg-dsee-group-size:
integer(int32)
Default Value:
10Specifies the group size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-dsee-purge-delay:
string
Default Value:
604800sSpecifies in seconds the purge delay defined on the DSEE server this replication gateway is connected to. -
ds-cfg-dsee-server:
string
Specifies the address of the DSEE Replication Server within the Gateway Domain to which the Replication Gateway Server should try to connect and update.
-
ds-cfg-dsee-ssl-rsa-cert-name:
string
Default Value:
server-certAttribute specifying which certificate alias to send to the DSEE Consumer while using client authentication -
ds-cfg-dsee-user-password:
string
The password used to authenticate the Replication Gateway by the DSEE Replication Servers.
-
ds-cfg-dsee-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-group-id:
integer(int32)
Default Value:
1The group id associated with this replicated domain. -
ds-cfg-handshake-timeout:
string
Default Value:
4000msSpecifies the handshake-timeout interval for the handshake between the replication servers. -
ds-cfg-heartbeat-interval:
string
Default Value:
10000msSpecifies the heart-beat interval that the Directory Server will use when communicating with Replication Servers. -
ds-cfg-key-manager-provider:
string
Default Value:
JKSSpecifies the name of the key manager that should be used with this Gateway Domain . -
ds-cfg-repl-bind-dn:
array ds-cfg-repl-bind-dn
Allowed replication manager DN(s) to bind for replication purpose.
-
ds-cfg-replicate-oud-changes:
boolean
Default Value:
trueIndicates whether the Gateway Domain is replicating changes from the Oracle Unified Directory topology. If set to FALSE, only DSEE updates are propagated through the gateway. -
ds-cfg-replication-server(required):
array ds-cfg-replication-server
Specifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
-
ds-cfg-server-id:
integer(int32)
Read Only:
trueSpecifies a unique identifier for the Directory Server within the Gateway Domain. -
ds-cfg-trust-manager-provider:
string
Default Value:
JKSSpecifies the name of the trust manager that should be used with the Gateway Domain . -
ds-cfg-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Directory Server will use when communicating with Replication Servers. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : controls
Type:
arrayLDAP controls to be sent to server for the LDAP operation.
Show Source
Nested Schema : requiredAttributes
Type:
arrayList of attributes to be fetched for the entry. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
Show Source
Nested Schema : ds-cfg-repl-bind-dn
Type:
arrayAllowed replication manager DN(s) to bind for replication purpose.
Default Value:
Show Source
[
"cn=replication manager,cn=replication,cn=config"
]Nested Schema : ds-cfg-replication-server
Type:
arraySpecifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
Show Source
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Gateway Domain SuccessResponse
Type:
Show Source
object-
compareResult:
boolean
Indicates the result of LDAP compare operation.
-
msgType(required):
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareResponse" ]The REST message type -
searchResultEntries(required):
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : searchResultEntries
Type:
arrayNumber of search result entries returned after the LDAP operation.
Show Source
Nested Schema : Gateway Domain SearchResultEntry
Type:
Show Source
object-
attributes(required):
object Gateway Domain Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : Gateway Domain Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-base-dn:
string
Read Only:
trueSpecifies the base DN of the replicated data. -
ds-cfg-changetime-heartbeat-interval:
string
Default Value:
1000msSpecifies the heart-beat interval that the Replication Gateway will use when sending its local change time to the Replication Server. -
ds-cfg-dscc-address:
string
Read Only:
trueSpecifies the host name and port number where the Oracle Directory Service Control Center Registry is deployed. -
ds-cfg-dscc-admin-dn:
string
Read Only:
trueDefault Value:cn=admin,cn=Administrators,cn=dsccThe Directory Service Manager user name used to authenticate through the Oracle Directory Service Control Center. -
ds-cfg-dsee-auth-protocol:
string
Default Value:
clearAllowed Values:[ "clear", "ssl-client", "ssl-simple" ]Specifies the behavior that the backend should use when processing write operations. -
ds-cfg-dsee-bind-dn:
string
Default Value:
cn=replication manager,cn=replication,cn=configAttribute specifying which bind dn is to be used to connect the DSEE consumer. -
ds-cfg-dsee-group-size:
integer(int32)
Default Value:
10Specifies the group size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-dsee-purge-delay:
string
Default Value:
604800sSpecifies in seconds the purge delay defined on the DSEE server this replication gateway is connected to. -
ds-cfg-dsee-server:
string
Specifies the address of the DSEE Replication Server within the Gateway Domain to which the Replication Gateway Server should try to connect and update.
-
ds-cfg-dsee-ssl-rsa-cert-name:
string
Default Value:
server-certAttribute specifying which certificate alias to send to the DSEE Consumer while using client authentication -
ds-cfg-dsee-user-password:
string
The password used to authenticate the Replication Gateway by the DSEE Replication Servers.
-
ds-cfg-dsee-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-group-id:
integer(int32)
Default Value:
1The group id associated with this replicated domain. -
ds-cfg-handshake-timeout:
string
Default Value:
4000msSpecifies the handshake-timeout interval for the handshake between the replication servers. -
ds-cfg-heartbeat-interval:
string
Default Value:
10000msSpecifies the heart-beat interval that the Directory Server will use when communicating with Replication Servers. -
ds-cfg-key-manager-provider:
string
Default Value:
JKSSpecifies the name of the key manager that should be used with this Gateway Domain . -
ds-cfg-repl-bind-dn:
array ds-cfg-repl-bind-dn
Allowed replication manager DN(s) to bind for replication purpose.
-
ds-cfg-replicate-oud-changes:
boolean
Default Value:
trueIndicates whether the Gateway Domain is replicating changes from the Oracle Unified Directory topology. If set to FALSE, only DSEE updates are propagated through the gateway. -
ds-cfg-replication-server(required):
array ds-cfg-replication-server
Specifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
-
ds-cfg-server-id:
integer(int32)
Read Only:
trueSpecifies a unique identifier for the Directory Server within the Gateway Domain. -
ds-cfg-trust-manager-provider:
string
Default Value:
JKSSpecifies the name of the trust manager that should be used with the Gateway Domain . -
ds-cfg-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Directory Server will use when communicating with Replication Servers. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-repl-bind-dn
Type:
arrayAllowed replication manager DN(s) to bind for replication purpose.
Default Value:
Show Source
[
"cn=replication manager,cn=replication,cn=config"
]Nested Schema : ds-cfg-replication-server
Type:
arraySpecifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
Show Source
201 Response
Created
Root Schema : Gateway Domain ADDResponse
Type:
Show Source
object-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:AddResponseThe REST message type -
searchResultEntries(required):
array searchResultEntries
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : Gateway Domain SearchResultEntry
Type:
Show Source
object-
attributes(required):
object Gateway Domain Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : Gateway Domain Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-base-dn:
string
Read Only:
trueSpecifies the base DN of the replicated data. -
ds-cfg-changetime-heartbeat-interval:
string
Default Value:
1000msSpecifies the heart-beat interval that the Replication Gateway will use when sending its local change time to the Replication Server. -
ds-cfg-dscc-address:
string
Read Only:
trueSpecifies the host name and port number where the Oracle Directory Service Control Center Registry is deployed. -
ds-cfg-dscc-admin-dn:
string
Read Only:
trueDefault Value:cn=admin,cn=Administrators,cn=dsccThe Directory Service Manager user name used to authenticate through the Oracle Directory Service Control Center. -
ds-cfg-dsee-auth-protocol:
string
Default Value:
clearAllowed Values:[ "clear", "ssl-client", "ssl-simple" ]Specifies the behavior that the backend should use when processing write operations. -
ds-cfg-dsee-bind-dn:
string
Default Value:
cn=replication manager,cn=replication,cn=configAttribute specifying which bind dn is to be used to connect the DSEE consumer. -
ds-cfg-dsee-group-size:
integer(int32)
Default Value:
10Specifies the group size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-dsee-purge-delay:
string
Default Value:
604800sSpecifies in seconds the purge delay defined on the DSEE server this replication gateway is connected to. -
ds-cfg-dsee-server:
string
Specifies the address of the DSEE Replication Server within the Gateway Domain to which the Replication Gateway Server should try to connect and update.
-
ds-cfg-dsee-ssl-rsa-cert-name:
string
Default Value:
server-certAttribute specifying which certificate alias to send to the DSEE Consumer while using client authentication -
ds-cfg-dsee-user-password:
string
The password used to authenticate the Replication Gateway by the DSEE Replication Servers.
-
ds-cfg-dsee-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Replication Gateway will use when communicating with a DSEE LDAP Server using the DSEE replication transport protocol. -
ds-cfg-group-id:
integer(int32)
Default Value:
1The group id associated with this replicated domain. -
ds-cfg-handshake-timeout:
string
Default Value:
4000msSpecifies the handshake-timeout interval for the handshake between the replication servers. -
ds-cfg-heartbeat-interval:
string
Default Value:
10000msSpecifies the heart-beat interval that the Directory Server will use when communicating with Replication Servers. -
ds-cfg-key-manager-provider:
string
Default Value:
JKSSpecifies the name of the key manager that should be used with this Gateway Domain . -
ds-cfg-repl-bind-dn:
array ds-cfg-repl-bind-dn
Allowed replication manager DN(s) to bind for replication purpose.
-
ds-cfg-replicate-oud-changes:
boolean
Default Value:
trueIndicates whether the Gateway Domain is replicating changes from the Oracle Unified Directory topology. If set to FALSE, only DSEE updates are propagated through the gateway. -
ds-cfg-replication-server(required):
array ds-cfg-replication-server
Specifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
-
ds-cfg-server-id:
integer(int32)
Read Only:
trueSpecifies a unique identifier for the Directory Server within the Gateway Domain. -
ds-cfg-trust-manager-provider:
string
Default Value:
JKSSpecifies the name of the trust manager that should be used with the Gateway Domain . -
ds-cfg-window-size:
integer(int32)
Default Value:
100Specifies the window size that the Directory Server will use when communicating with Replication Servers. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-repl-bind-dn
Type:
arrayAllowed replication manager DN(s) to bind for replication purpose.
Default Value:
Show Source
[
"cn=replication manager,cn=replication,cn=config"
]Nested Schema : ds-cfg-replication-server
Type:
arraySpecifies the addresses of the Replication Servers within the Gateway Domain to which the Directory Server should try to connect at startup time.
Show Source
204 Response
No content
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode:
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message(required):
string
Error message returned returned for the operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type