# ApiEndPoint Data Model

This defines a single logical service in the SDX cluster. A single service can expose one or more URLs. This ApiEndPoint groups the URLs logically for configuration, versioning, or any other service specific reason.

Properties
name | data type | description
--- | --- | ---
name | string | Name for the endPoint.
version | string | Endpoint specific version.
serviceConfigs | array of ApiMapEntry | Additional configs for the endPoint.
endPointHostList | array of ApiEndPointHost | List hosts (uris) for this endPoint.
serviceType | string | Endpoint service type.

Example

    {
      "name" : "...",
      "version" : "...",
      "serviceConfigs" : [ {
        "key" : "...",
        "value" : "..."
      }, {
        "key" : "...",
        "value" : "..."
      } ],
      "endPointHostList" : [ {
        "uri" : "...",
        "endPointConfigs" : [ {
          "key" : "...",
          "value" : "..."
        }, {
          "key" : "...",
          "value" : "..."
        } ],
        "type" : "..."
      }, {
        "uri" : "...",
        "endPointConfigs" : [ {
          "key" : "...",
          "value" : "..."
        }, {
          "key" : "...",
          "value" : "..."
        } ],
        "type" : "..."
      } ],
      "serviceType" : "..."
    }