Oracle Cloud Infrastructure · Example Payload

Oracle Cloud Listinstances Example

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Oracle Cloud Listinstances Example is an example object payload from Oracle Cloud Infrastructure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "listInstances",
  "method": "GET",
  "path": "/instances",
  "summary": "Oracle Cloud List Instances",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "ListInstances200Example",
      "example": [
        {
          "id": "ocid1.instance.oc1.iad.abcdefg123456",
          "compartmentId": "ocid1.compartment.oc1..abcdefg123456",
          "availabilityDomain": "Uocm:US-ASHBURN-AD-1",
          "displayName": "my-instance-01",
          "shape": "VM.Standard.E4.Flex",
          "lifecycleState": "RUNNING",
          "region": "us-ashburn-1",
          "imageId": "ocid1.image.oc1.iad.abcdefg123456",
          "timeCreated": "2026-01-15T10:30:00Z",
          "freeformTags": {
            "key1": "value1"
          },
          "definedTags": {
            "key1": "value1"
          }
        }
      ]
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "ListInstances400Example",
      "example": {
        "code": "NotAuthorizedOrNotFound",
        "message": "Authorization failed or requested resource not found.",
        "status": 404
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "name": "ListInstances401Example",
      "example": {
        "code": "NotAuthorizedOrNotFound",
        "message": "Authorization failed or requested resource not found.",
        "status": 404
      }
    },
    {
      "status": "500",
      "contentType": "application/json",
      "name": "ListInstances500Example",
      "example": {
        "code": "NotAuthorizedOrNotFound",
        "message": "Authorization failed or requested resource not found.",
        "status": 404
      }
    }
  ]
}