Created
November 27, 2014 00:41
-
-
Save cppforlife/d50c7e16f13f0ee4d76a to your computer and use it in GitHub Desktop.
service instance ops
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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