Represents a single endpoint in the Splunk REST API.
package | Splunk |
---|
sendDelete(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::delete() |
---|
string
relative URL path.
array
(optional) query parameters, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
sendGet(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::get() |
---|
string
relative URL path.
array
(optional) query parameters, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
sendPost(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::post() |
---|
string
relative URL path.
array
(optional) form parameters to send in the request
body, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
getSearchNamespace() : \Splunk_Namespace | NULL
\Splunk_Namespace
NULL
The namespace in which this endpoint
resides, or NULL to use the context's
default namespace.
Possibly a non-exact namespace.sendSimpleRequest($method, $relativePath, $args)
$path
$service