Updated on 2022-12-05 GMT+08:00

Exporting Topics

Function

This API is used to export topics.

URI

GET /v2/{project_id}/mqs/instances/{instance_id}/topics/export

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Tenant's project ID.

instance_id

Yes

String

Instance ID.

Table 2 Query parameters

Parameter

Mandatory

Type

Description

name

No

String

Topics to export. Multiple topics are separated by commas (,). By default, all topics are exported.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

-

File

OK

Example Requests

GET https://{endpoint}/v2/{project_id}/mqs/instances/{instance_id}/topics/export?name=topic-mqs-test

Example Responses

None

Status Codes

Status Code

Description

200

OK

400

Bad Request

403

Forbidden

Error Codes

See Error Codes.