List Queues

get

/queues

Return a listing of all queues in the service instance.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Name, status and link of each queue are returned
Body ()
Root Schema : queues
Type: object
Info of a list of queues.
Show Source
Nested Schema : items
Type: array
Minimum Number of Items: 1
Unique Items Required: true
Show Source
Nested Schema : items
Type: object
A single queue info
Show Source
Example Response (application/json)
{
    "items":[
        {
            "name":"queueName1",
            "status":"PROVISIONED",
            "canonicalLink":"relative path to queue"
        },
        {
            "name":"queueName2",
            "status":"MARK_FOR_DELETION",
            "canonicalLink":"relative path to queue"
        }
    ],
    "canonicalLink":"relative path to queue list"
}
Back to Top

Examples

cURL Command

cookie=/tmp/messaging-cookie
curl -s -u $USER:$PASS -c $cookie -b $cookie \
     -H "X-OC-ID-TOKEN-STATUS: disabled" \
     -X GET "https://messaging.us2.oraclecloud.com/myService-myTenant/api/v1/queues"

There is no request body to submit with the HTTP request.

Example of Response Body

{ 
  "canonicalLink" : "/myService-myTenant/api/v1/queues"
, "items":
  [
    { 
      "canonicalLink" : "/myService-myTenant/api/v1/queues/myFirstQueue"
    , "name" : "myFirstQueue"
    , "status" : "PROVISIONED"
    }
  ]
}
Back to Top