doc-exports/docs/modelarts/api-ref/modelarts_03_0141.html
Wuwan, Qi f81ead2467 ModelArts API 24.3.0 20241128 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-11-29 09:04:54 +00:00

4.8 KiB

Endpoint

An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. To obtain the regions and endpoints, contact the enterprise administrator.

A service endpoint consists of the service name, region ID, and external domain name in the format of "{service_name}.{region_id}.{external_domain_name}". Table 1 describes these parameters.

Table 1 Endpoint parameters

Parameter

Description

How to Obtain

service_name

Abbreviation of a case-insensitive service name

modelarts for ModelArts by default.

region_id

Region ID

Contact the system administrator to obtain.

external_domain_name

External domain name suffix

Contact the system administrator to obtain.

If an endpoint uses a domain name, configure the hosts file in the format of "{float-ip} {service_name}.{region_id}.{external_domain_name}" on the local PC. Contact the system administrator to obtain float-ip.