Skip to content

Instantly share code, notes, and snippets.

@cppforlife
Created November 27, 2014 00:41
Show Gist options
  • Save cppforlife/d50c7e16f13f0ee4d76a to your computer and use it in GitHub Desktop.
Save cppforlife/d50c7e16f13f0ee4d76a to your computer and use it in GitHub Desktop.
service instance ops
GET v2/service_instances/abc123
{
"metadata": {
"guid":"abc123",
"url": "v2/service_instances/abc123"
},
"entity": {
"name":"myservice-instance",
// no state on the service instance
"last_service_instance_operation": {
"metadata": {
"guid":"op-1",
"url": "v2/service_instance_operations/op-1"
},
"entity": {
"op": "update"
// state describes state of this operation
"state": "completed|errored|in-progress"
"error_message":"Your instance is being provisioned...",
}
}
// optionally included
"service_instance_operations": [ ... list of all operations (std CC relationship) ... ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment