• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. API Reference
  4. API Use Methods

API Use Methods

Public cloud services provide RESTful APIs.

Representational State Transfer (REST) allocates Uniform Resource Identifiers (URIs) to dispersed resources so that the resources can be located. Applications on clients use Unified Resource Locators (URLs) to obtain the resources.

The URL is in the following format: https://Endpoint/uri

Table 1 describes the parameters in a URL.

Table 1 Parameter description

Parameter

Description

Endpoint

Specifies the name of the requested ECS. Obtain the value from Regions and Endpoints.

uri

Specifies the API access path. Obtain this value from the URI of the API, for example, v3/auth/tokens.

Public cloud APIs use HTTP, request/response packets are in JSON format, and the media type is represented by application/json.