Help Center/ Meeting/ Server API Reference/ Meeting Management/ APIs/ Querying the Region Where a Meeting Is Held
Updated on 2023-12-22 GMT+08:00

Querying the Region Where a Meeting Is Held

Description

This API is used to query the IP address and domain name of the region where the meeting is held.

Debugging

You can debug this API in API Explorer.

Prototype

Table 1 Prototype

Request Method

GET

Request Address

/v1/mmc/management/conferences/region/info

Transport Protocol

HTTPS

Request Parameters

Table 2 Parameter

Parameter

Mandatory

Type

Location

Description

conferenceID

Yes

String

Query

Meeting ID.

NOTE:

conferenceID returned when a meeting is created. The value is not the value of vmrConferenceID.

Status Codes

Table 3 Status codes

HTTP Status Code

Description

200

Operation successful.

400

Invalid parameters.

401

Authentication is not performed or fails.

403

Insufficient permissions.

500

Server exception.

Response Parameters

Table 4 Response parameters

Parameter

Type

Description

regionIP

String

Public IP address of the region where the meeting is held.

regionUrl

String

Public network domain name of the region where the meeting is held.

Example Request

GET /v1/mmc/management/conferences/region/info?conferenceID=914083136
Connection: keep-alive
X-Access-Token: stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC
user-agent: WeLink-desktop
Host: api.meeting.huaweicloud.com
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)

Example Response

HTTP/1.1 200 
Date: Wed, 18 Dec 2019 06:20:40 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 2450
Connection: keep-alive
Expires: 0
Pragma: No-cache
Cache-Control: no-cache
http_proxy_id: 6fba0eff9f832b463580fb06c5b0ff9c
Server: api-gateway
X-Request-Id: ac9f75ec3c97c823f128526a924532b2

{      
    "regionIP": "100.94.23.40",
    "regionUrl": "r1.meeting.huaweicloud.com"
}

Error Codes

If an error code starting with MMC or USG is returned when you use this API, rectify the fault by following the instructions provided in Huawei Cloud API Error Center.

Example cURL Command

curl -k -i -X GET -H 'X-Access-Token:stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC' 'https://api.meeting.huaweicloud.com/v1/mmc/management/conferences/region/info?conferenceID=914083136'