Return configuration options - curl
Return configuration options (for example, available deployment locations, queue manager sizes).
GET /v1/{service_instance_guid}/options
Request
| Custom Headers | |
|---|---|
Accept-Languagestring
|
The acceptable list of languages supported in the client. Possible values: 1 ≤ length ≤ 256, Value must match regular expression
Example: |
| Path Parameters | |
|---|---|
service_instance_guidRequired*
string |
The GUID that uniquely identifies the IBM® MQ as a Service instance. Possible values: length = 36, Value must match regular expression
Example: |
Example request
curl -X GET --location --header "Authorization: Bearer ${iam_token}" --header "Accept: application/json" "${base_url}/v1/${service_instance_guid}/options"
Response
| Response Body ConfigurationOptions
|
ConfigurationOptions (for example, available deployment locations, queue manager sizes) |
|---|---|
locationsstring[]
|
List of deployment locations. Possible values: 1 ≤ number of items ≤ 20, 2 ≤ length ≤ 150, Value must match regular
expression |
sizesstring[]
|
List of queue manager sizes. Possible values:
[ Possible values: 1 ≤ number of items ≤ 20 |
versionsstring[]
|
List of queue manager versions. Possible values: 1 ≤ number of items ≤ 12 |
latest_versionstring
|
The latest Queue manager version. Possible values: 7 ≤ length ≤ 15, Value must match regular expression
Example: |
| Status code | |
|---|---|
| 200 | Configuration options |
| 301 | URI has permanently Moved |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Resource not found |
| 429 | Service Is Overused |
| 500 | Internal Server Error |
Example response
Status 200
{
"locations": [
"ibmcloud_eu_de"
],
"sizes": [
"xsmall",
"small",
"medium",
"large"
],
"versions": [
"9.3.3_1"
],
"latest_version": "9.3.3_1"
}