Interface IApiCallDetails
Details about the API call
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public interface IApiCallDetails
Properties
| Edit this page View SourceAuditTrail
An audit trail of requests made to nodes within the cluster
Declaration
List<Audit> AuditTrail { get; set; }
Property Value
Type | Description |
---|---|
List<Audit> |
ConnectionConfiguration
Reference to the connection configuration that yielded this response
Declaration
IConnectionConfigurationValues ConnectionConfiguration { get; }
Property Value
Type | Description |
---|---|
IConnectionConfigurationValues |
DebugInformation
A human readable string representation of what happened during this request for both successful and failed requests.
Declaration
string DebugInformation { get; }
Property Value
Type | Description |
---|---|
string |
DeprecationWarnings
A collection of deprecation warnings returned from OpenSearch.
Used to signal that the request uses an API feature that is marked as deprecated
Declaration
IEnumerable<string> DeprecationWarnings { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
HttpMethod
The HTTP method used by the request
Declaration
HttpMethod HttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
HttpStatusCode
The HTTP status code as returned by OpenSearch
Declaration
int? HttpStatusCode { get; }
Property Value
Type | Description |
---|---|
int? |
OriginalException
If Success is false
, this will hold the original exception.
This will be the originating CLR exception in most cases.
Declaration
Exception OriginalException { get; }
Property Value
Type | Description |
---|---|
Exception |
RequestBodyInBytes
The request body bytes.
NOTE: Only set when disable direct streaming is set for the request
Declaration
byte[] RequestBodyInBytes { get; }
Property Value
Type | Description |
---|---|
byte[] |
ResponseBodyInBytes
The response body bytes.
NOTE: Only set when disable direct streaming is set for the request
Declaration
byte[] ResponseBodyInBytes { get; }
Property Value
Type | Description |
---|---|
byte[] |
ResponseMimeType
The response MIME type
Declaration
string ResponseMimeType { get; }
Property Value
Type | Description |
---|---|
string |
Success
The response status code is in the 200 range or is in the allowed list of status codes set on the request.
Declaration
bool Success { get; }
Property Value
Type | Description |
---|---|
bool |
SuccessOrKnownError
The response is successful or has a response code between 400-599, the call should not be retried. Only on 502,503 and 504 will this return false;
Declaration
bool SuccessOrKnownError { get; }
Property Value
Type | Description |
---|---|
bool |
TcpStats
Active TCP connection statistics collected when making a request
Declaration
ReadOnlyDictionary<TcpState, int> TcpStats { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyDictionary<TcpState, int> |
ThreadPoolStats
Thread pool thread statistics collected when making a request
Declaration
ReadOnlyDictionary<string, ThreadPoolStatistics> ThreadPoolStats { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyDictionary<string, ThreadPoolStatistics> |
Uri
The url as requested
Declaration
Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri |