Module Values.GetEntitiesRequestSource

Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities. Properties States Events Actions Capabilities Mappings Devices Device Models Services This action doesn't return definitions for systems, flows, and deployments.

Sourcetype nonrec t = {
  1. ids : Urns.t;
    (*

    An array of entity IDs. The IDs should be in the following format. urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

    *)
  2. namespaceVersion : Version.t option;
    (*

    The version of the user's namespace. Defaults to the latest version of the user's namespace.

    *)
}
Sourceval context_ : string
Sourceval make : ?namespaceVersion:??? -> ids:Urns.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Urn.t ] list | `Long of Version.t ]) 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