Pod get request
Description
This API retrieves the Pod object specified by the guid in the URI.
API stability classification
API overview
HTTP | URI | Return | Return type |
---|---|---|---|
GET | csm/Pod/guid | 0..1 |
HTTP request message
Query string parameters
This API does not use query string parameters.
Request message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
HTTP response message
Response message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
Response message body
The response message body contains a Pod object.
Example
The following example shows an HTTP request that retrieves a specific pod object:
GET /csm/pod/5304ea7c-7992-4b00-9456-b4a45620f715 HTTP/1.1
Host: <apiServer>
Authentication-Token: <yourToken>
The following example shows an HTTP response to the previous request:
HTTP/1.1 200 OK
Date: Sat, 02 Apr 2011 01:16:25 GMT
BMC-Transaction-ID: 5f4957d8-8a64-4fca-be89-f64e8105c074
Content-Type: application/json; charset=UTF-8
Content-Length: 905
Server: Jetty(6.1.x)
[
{
"cloudClass" : "com.bmc.cloud.model.beans.Pod",
"containerBlueprints" :
[ "/containerblueprint/cd012059-7e45-4deb-b79e-9f122747fbf4" ],
"containers" : [ "/networkcontainer/04e36fa8-9f8e-4415-a7c7-60b88b349e4d" ],
"externalID" : "52cfae96-730b-43ee-b530-cdcc99ebfd99:CompactPODDev",
"guid" : "5304ea7c-7992-4b00-9456-b4a45620f715",
"isOnboarded" : true,
"location" : "/location/OI-9D874CF0111E4C449FE68A5E622B74ED",
"name" : "CompactPODDev",
"networks" : [ "/network/56455651-302e-43f7-9611-7bb6ae45f3e0" ],
"owner" : "bhu_admin",
"provider" : "/provider/52cfae96-730b-43ee-b530-cdcc99ebfd99",
"reconciliationID" : "OI-4529607eefc44db89a23c65276302e60",
"staticPools" : [
"/staticpool/51354b3d-75cd-406e-bf53-051244e76125",
"/staticpool/65cd213f-4a54-480f-bb4d-03b12b262924",
"/staticpool/8eb7a6fc-8c7b-460f-8680-f5d305005c5a"
],
"tokenID" : "CompactPODDev"
}
]
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*