Module Values_1.RestConfigurationSource

Configuration that defines HTTP request and response handling, validation endpoints, and entity configurations for REST API interactions.

Sourcetype nonrec t = {
  1. globalSourceConfiguration : SourceConfiguration.t option;
    (*

    Global configuration settings that apply to all REST API requests for this connection type, including common request methods, paths, and parameters.

    *)
  2. validationEndpointConfiguration : SourceConfiguration.t option;
    (*

    Configuration for the endpoint used to validate connection credentials and test connectivity during connection creation.

    *)
  3. entityConfigurations : EntityConfigurationMap.t option;
    (*

    A map of entity configurations that define how to interact with different data entities available through the REST API, including their schemas and access patterns.

    *)
}
Sourceval make : ?globalSourceConfiguration:??? -> ?validationEndpointConfiguration:??? -> ?entityConfigurations:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of EntityConfigurationMapKeyString.t ] * [> `Structure of (string * [> `Map of ([> `String of FieldDefinitionMapKeyString.t ] * [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.t ]) list ]) list | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string ] list | `String of string ]) list ] list | `String of PathString.t | `Structure of (string * [> `String of JsonPathString.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Values_0.ConnectorPropertyKey.t | `Structure of (string * [> `String of JsonPathString.t ]) list ]) list ]) list ]) list ]) list ]) list ]) list | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string ] list | `String of string ]) list ] list | `String of PathString.t | `Structure of (string * [> `String of JsonPathString.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Values_0.ConnectorPropertyKey.t | `Structure of (string * [> `String of JsonPathString.t ]) list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t