Add, Search, Compare or Delete HTTP Connection Handler
post
/rest/v1/admin
Add, Search, Compare or Delete HTTP Connection Handler
Request
Supported Media Types
- application/json
HTTP Connection Handler that needs to be created
Root Schema : HTTP Connection Handler POSTRequest
Type:
Show Source
object-
assertion(optional):
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(optional):
object HTTP Connection Handler Properties
-
base(optional):
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(optional):
array controls
LDAP controls to be sent to server for the LDAP operation.
-
dn(optional):
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(optional):
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:
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(optional):
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(optional):
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 : HTTP Connection Handler Properties
Type:
Show Source
object-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-accept-backlog(optional):
integer(int32)
Default Value:
128Specifies the maximum number of pending connection attempts that are allowed to queue up in the accept backlog before the server starts rejecting new connection attempts. -
ds-cfg-allow-tcp-reuse-address(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should reuse socket descriptors. -
ds-cfg-allowed-client(optional):
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-denied-client(optional):
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-dos-filter-max-requests-per-sec(optional):
integer(int32)
Default Value:
25Specifies the maximum number of requests from a connection per second. -
ds-cfg-dos-filter-throttled-requests(optional):
integer(int32)
Default Value:
5Number of requests over the rate limit able to be considered at once. -
ds-cfg-enabled:
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-header-cache-size(optional):
string
Default Value:
6 kilobytesSet the header field cache size. -
ds-cfg-http-server-max-thread-pool-size(optional):
integer(int32)
Default Value:
24Specifies the maximum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-http-server-max-work-queue-capacity(optional):
integer(int32)
Default Value:
6000Specifies the maximum number of queued operations that can be in the work queue at any given time. -
ds-cfg-http-server-min-thread-pool-size(optional):
integer(int32)
Default Value:
8Specifies the minimum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-idle-time-limit(optional):
string
Default Value:
60000 msSet the maximum Idle time for a thread to be idle. -
ds-cfg-java-class:
string
Default Value:
org.opends.server.protocols.http.HTTPConnectionHandlerSpecifies the fully-qualified name of the Java class that provides the HTTP Connection Handler implementation. -
ds-cfg-jetty-statistics-enabled(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should enable jetty statistics over JMX. -
ds-cfg-keep-stats(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should keep statistics. -
ds-cfg-key-manager-provider(optional):
string
Specifies the name of the key manager that should be used with this HTTP Connection Handler .
-
ds-cfg-listen-address(optional):
array ds-cfg-listen-address
Specifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
-
ds-cfg-listen-port:
integer(int32)
Specifies the port number on which the HTTP Connection Handler will listen for connections from clients.
-
ds-cfg-max-idle-time-limit(optional):
string
Default Value:
2 minutesSet the maximum Idle time for a connection, which roughly translates to the Socket.setSoTimeout(int) call. -
ds-cfg-num-http-acceptor-threads(optional):
integer(int32)
Acceptors accept new TCP/IP connections
-
ds-cfg-num-http-selector-threads(optional):
integer(int32)
Selectors notice and schedule established connection that can make IO progress.
-
ds-cfg-output-buffer-size(optional):
string
Default Value:
32 kilobytesSets the size of the content buffer for sending responses. -
ds-cfg-request-header-size(optional):
string
Default Value:
8 kilobytesSet the maximum size of a request header. -
ds-cfg-response-header-size(optional):
string
Default Value:
32 kilobytesSet the maximum size of a response header. -
ds-cfg-ssl-cert-nickname(optional):
string
Specifies the nickname (also called the alias) of the certificate that the HTTP Connection Handler should use when performing SSL communication.
-
ds-cfg-ssl-cipher-suite(optional):
array ds-cfg-ssl-cipher-suite
Specifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-ssl-client-auth-policy(optional):
string
Default Value:
optionalAllowed Values:[ "disabled", "optional", "required" ]Specifies the policy that the HTTP Connection Handler should use regarding client SSL certificates. -
ds-cfg-ssl-protocol(optional):
array ds-cfg-ssl-protocol
Specifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-trust-manager-provider(optional):
string
Specifies the name of the trust manager that should be used with the HTTP Connection Handler .
-
ds-cfg-use-ssl(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should use SSL. -
objectclass:
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-allowed-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-denied-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-listen-address
Type:
arraySpecifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
Default Value:
Show Source
[
"0.0.0.0"
]Nested Schema : ds-cfg-ssl-cipher-suite
Type:
arraySpecifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
Show Source
Nested Schema : ds-cfg-ssl-protocol
Type:
arraySpecifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
Show Source
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : HTTP Connection Handler SuccessResponse
Type:
Show Source
object-
compareResult(optional):
boolean
Indicates the result of LDAP compare operation.
-
msgType:
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:
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults:
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 : HTTP Connection Handler SearchResultEntry
Type:
Show Source
object-
attributes:
object HTTP Connection Handler Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : HTTP Connection Handler Properties
Type:
Show Source
object-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-accept-backlog(optional):
integer(int32)
Default Value:
128Specifies the maximum number of pending connection attempts that are allowed to queue up in the accept backlog before the server starts rejecting new connection attempts. -
ds-cfg-allow-tcp-reuse-address(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should reuse socket descriptors. -
ds-cfg-allowed-client(optional):
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-denied-client(optional):
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-dos-filter-max-requests-per-sec(optional):
integer(int32)
Default Value:
25Specifies the maximum number of requests from a connection per second. -
ds-cfg-dos-filter-throttled-requests(optional):
integer(int32)
Default Value:
5Number of requests over the rate limit able to be considered at once. -
ds-cfg-enabled:
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-header-cache-size(optional):
string
Default Value:
6 kilobytesSet the header field cache size. -
ds-cfg-http-server-max-thread-pool-size(optional):
integer(int32)
Default Value:
24Specifies the maximum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-http-server-max-work-queue-capacity(optional):
integer(int32)
Default Value:
6000Specifies the maximum number of queued operations that can be in the work queue at any given time. -
ds-cfg-http-server-min-thread-pool-size(optional):
integer(int32)
Default Value:
8Specifies the minimum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-idle-time-limit(optional):
string
Default Value:
60000 msSet the maximum Idle time for a thread to be idle. -
ds-cfg-java-class:
string
Default Value:
org.opends.server.protocols.http.HTTPConnectionHandlerSpecifies the fully-qualified name of the Java class that provides the HTTP Connection Handler implementation. -
ds-cfg-jetty-statistics-enabled(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should enable jetty statistics over JMX. -
ds-cfg-keep-stats(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should keep statistics. -
ds-cfg-key-manager-provider(optional):
string
Specifies the name of the key manager that should be used with this HTTP Connection Handler .
-
ds-cfg-listen-address(optional):
array ds-cfg-listen-address
Specifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
-
ds-cfg-listen-port:
integer(int32)
Specifies the port number on which the HTTP Connection Handler will listen for connections from clients.
-
ds-cfg-max-idle-time-limit(optional):
string
Default Value:
2 minutesSet the maximum Idle time for a connection, which roughly translates to the Socket.setSoTimeout(int) call. -
ds-cfg-num-http-acceptor-threads(optional):
integer(int32)
Acceptors accept new TCP/IP connections
-
ds-cfg-num-http-selector-threads(optional):
integer(int32)
Selectors notice and schedule established connection that can make IO progress.
-
ds-cfg-output-buffer-size(optional):
string
Default Value:
32 kilobytesSets the size of the content buffer for sending responses. -
ds-cfg-request-header-size(optional):
string
Default Value:
8 kilobytesSet the maximum size of a request header. -
ds-cfg-response-header-size(optional):
string
Default Value:
32 kilobytesSet the maximum size of a response header. -
ds-cfg-ssl-cert-nickname(optional):
string
Specifies the nickname (also called the alias) of the certificate that the HTTP Connection Handler should use when performing SSL communication.
-
ds-cfg-ssl-cipher-suite(optional):
array ds-cfg-ssl-cipher-suite
Specifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-ssl-client-auth-policy(optional):
string
Default Value:
optionalAllowed Values:[ "disabled", "optional", "required" ]Specifies the policy that the HTTP Connection Handler should use regarding client SSL certificates. -
ds-cfg-ssl-protocol(optional):
array ds-cfg-ssl-protocol
Specifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-trust-manager-provider(optional):
string
Specifies the name of the trust manager that should be used with the HTTP Connection Handler .
-
ds-cfg-use-ssl(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should use SSL. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-allowed-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-denied-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-listen-address
Type:
arraySpecifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
Default Value:
Show Source
[
"0.0.0.0"
]Nested Schema : ds-cfg-ssl-cipher-suite
Type:
arraySpecifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
Show Source
Nested Schema : ds-cfg-ssl-protocol
Type:
arraySpecifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
Show Source
201 Response
Created
Root Schema : HTTP Connection Handler ADDResponse
Type:
Show Source
object-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:AddResponseThe REST message type -
searchResultEntries:
array searchResultEntries
-
totalResults:
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : HTTP Connection Handler SearchResultEntry
Type:
Show Source
object-
attributes:
object HTTP Connection Handler Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : HTTP Connection Handler Properties
Type:
Show Source
object-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-accept-backlog(optional):
integer(int32)
Default Value:
128Specifies the maximum number of pending connection attempts that are allowed to queue up in the accept backlog before the server starts rejecting new connection attempts. -
ds-cfg-allow-tcp-reuse-address(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should reuse socket descriptors. -
ds-cfg-allowed-client(optional):
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-denied-client(optional):
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-dos-filter-max-requests-per-sec(optional):
integer(int32)
Default Value:
25Specifies the maximum number of requests from a connection per second. -
ds-cfg-dos-filter-throttled-requests(optional):
integer(int32)
Default Value:
5Number of requests over the rate limit able to be considered at once. -
ds-cfg-enabled:
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-header-cache-size(optional):
string
Default Value:
6 kilobytesSet the header field cache size. -
ds-cfg-http-server-max-thread-pool-size(optional):
integer(int32)
Default Value:
24Specifies the maximum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-http-server-max-work-queue-capacity(optional):
integer(int32)
Default Value:
6000Specifies the maximum number of queued operations that can be in the work queue at any given time. -
ds-cfg-http-server-min-thread-pool-size(optional):
integer(int32)
Default Value:
8Specifies the minimum number of threads to be used for processing operations placed in the queue by the embedded HTTP server. -
ds-cfg-idle-time-limit(optional):
string
Default Value:
60000 msSet the maximum Idle time for a thread to be idle. -
ds-cfg-java-class:
string
Default Value:
org.opends.server.protocols.http.HTTPConnectionHandlerSpecifies the fully-qualified name of the Java class that provides the HTTP Connection Handler implementation. -
ds-cfg-jetty-statistics-enabled(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should enable jetty statistics over JMX. -
ds-cfg-keep-stats(optional):
boolean
Default Value:
trueIndicates whether the HTTP Connection Handler should keep statistics. -
ds-cfg-key-manager-provider(optional):
string
Specifies the name of the key manager that should be used with this HTTP Connection Handler .
-
ds-cfg-listen-address(optional):
array ds-cfg-listen-address
Specifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
-
ds-cfg-listen-port:
integer(int32)
Specifies the port number on which the HTTP Connection Handler will listen for connections from clients.
-
ds-cfg-max-idle-time-limit(optional):
string
Default Value:
2 minutesSet the maximum Idle time for a connection, which roughly translates to the Socket.setSoTimeout(int) call. -
ds-cfg-num-http-acceptor-threads(optional):
integer(int32)
Acceptors accept new TCP/IP connections
-
ds-cfg-num-http-selector-threads(optional):
integer(int32)
Selectors notice and schedule established connection that can make IO progress.
-
ds-cfg-output-buffer-size(optional):
string
Default Value:
32 kilobytesSets the size of the content buffer for sending responses. -
ds-cfg-request-header-size(optional):
string
Default Value:
8 kilobytesSet the maximum size of a request header. -
ds-cfg-response-header-size(optional):
string
Default Value:
32 kilobytesSet the maximum size of a response header. -
ds-cfg-ssl-cert-nickname(optional):
string
Specifies the nickname (also called the alias) of the certificate that the HTTP Connection Handler should use when performing SSL communication.
-
ds-cfg-ssl-cipher-suite(optional):
array ds-cfg-ssl-cipher-suite
Specifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-ssl-client-auth-policy(optional):
string
Default Value:
optionalAllowed Values:[ "disabled", "optional", "required" ]Specifies the policy that the HTTP Connection Handler should use regarding client SSL certificates. -
ds-cfg-ssl-protocol(optional):
array ds-cfg-ssl-protocol
Specifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
-
ds-cfg-trust-manager-provider(optional):
string
Specifies the name of the trust manager that should be used with the HTTP Connection Handler .
-
ds-cfg-use-ssl(optional):
boolean
Default Value:
falseIndicates whether the HTTP Connection Handler should use SSL. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-allowed-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-denied-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-listen-address
Type:
arraySpecifies the address or set of addresses on which this HTTP Connection Handler should listen for connections from HTTP clients.
Default Value:
Show Source
[
"0.0.0.0"
]Nested Schema : ds-cfg-ssl-cipher-suite
Type:
arraySpecifies the names of the SSL cipher suites that are allowed for use in SSL or StartTLS communication.
Show Source
Nested Schema : ds-cfg-ssl-protocol
Type:
arraySpecifies the names of the SSL protocols that are allowed for use in SSL or StartTLS communication.
Show Source
204 Response
No content
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode(optional):
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message:
string
Error message returned returned for the operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type