Skip to content

Commit

Permalink
fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolo committed Nov 25, 2018
1 parent c106541 commit b83d838
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 238 deletions.
238 changes: 119 additions & 119 deletions docs/api/env_all_details.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Get Details of a SINGLE Environment
# Get Details of ALL Environments

Retrieves full details of a single environment which includes a list of instances
retrieves full details of all known environments (including list of instances)

**URL** : `/api/v1/env/{env-id}/details`
**URL** : `/api/v1/env/details`

**Method** : `GET`

Expand All @@ -12,121 +12,121 @@ Retrieves full details of a single environment which includes a list of instance

**Example Response Body**

response of request: `/api/v1/env/931decfe6fd5/details`

```json
{
"id": "931decfe6fd5",
"provider": "aws",
"region": "ca-central-1",
"name": "kube",
"instances": [
{
"id": "1aef6299109b",
"instance_id": "i-0008ad1bfd83a52eb",
"instance_type": "t3.xlarge",
"name": "kube-k8node2",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "9b97d53ab004",
"instance_id": "i-04b69b4ec92d548df",
"instance_type": "t3.medium",
"name": "kube-k8master1",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 4
},
{
"id": "be8225018847",
"instance_id": "i-0dedc66553eaecfc3",
"instance_type": "t3.medium",
"name": "kube-k8master2",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 4
},
{
"id": "dd4c000552b2",
"instance_id": "i-0778ddf78ec72bffd",
"instance_type": "t3.small",
"name": "kube-etcd3",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "63296c73e207",
"instance_id": "i-03b3782294e848647",
"instance_type": "t3.small",
"name": "kube-etcd1",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "a2f4635a834b",
"instance_id": "i-0872ea25c0766d383",
"instance_type": "t3.xlarge",
"name": "kube-k8node5",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "98a9867235f3",
"instance_id": "i-0e9fcaf646ce779ab",
"instance_type": "t3.xlarge",
"name": "kube-k8node3",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "906d663b6ecd",
"instance_id": "i-0eba74077ac760573",
"instance_type": "t3.small",
"name": "kube-etcd2",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "8a0a2a0d8725",
"instance_id": "i-0d67730effbee8b3b",
"instance_type": "t3.xlarge",
"name": "kube-k8node1",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "8c65980f5b5f",
"instance_id": "i-009517923633b51f4",
"instance_type": "t3.xlarge",
"name": "kube-k8node4",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
}
],
"running_instances": 0,
"stopped_instances": 10,
"total_instances": 10,
"total_vcpu": 30,
"total_memory_gb": 94,
"state": "stopped"
}
[
{
"id": "931decfe6fd5",
"provider": "aws",
"region": "ca-central-1",
"name": "kube",
"instances": [
{
"id": "1aef6299109b",
"instance_id": "i-0008ad1bfd83a52eb",
"instance_type": "t3.xlarge",
"name": "kube-k8node2",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "9b97d53ab004",
"instance_id": "i-04b69b4ec92d548df",
"instance_type": "t3.medium",
"name": "kube-k8master1",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 4
},
{
"id": "be8225018847",
"instance_id": "i-0dedc66553eaecfc3",
"instance_type": "t3.medium",
"name": "kube-k8master2",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 4
},
{
"id": "dd4c000552b2",
"instance_id": "i-0778ddf78ec72bffd",
"instance_type": "t3.small",
"name": "kube-etcd3",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "63296c73e207",
"instance_id": "i-03b3782294e848647",
"instance_type": "t3.small",
"name": "kube-etcd1",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "a2f4635a834b",
"instance_id": "i-0872ea25c0766d383",
"instance_type": "t3.xlarge",
"name": "kube-k8node5",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "98a9867235f3",
"instance_id": "i-0e9fcaf646ce779ab",
"instance_type": "t3.xlarge",
"name": "kube-k8node3",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "906d663b6ecd",
"instance_id": "i-0eba74077ac760573",
"instance_type": "t3.small",
"name": "kube-etcd2",
"state": "stopped",
"environment": "kube",
"vcpu": 2,
"memory_gb": 2
},
{
"id": "8a0a2a0d8725",
"instance_id": "i-0d67730effbee8b3b",
"instance_type": "t3.xlarge",
"name": "kube-k8node1",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
},
{
"id": "8c65980f5b5f",
"instance_id": "i-009517923633b51f4",
"instance_type": "t3.xlarge",
"name": "kube-k8node4",
"state": "stopped",
"environment": "kube",
"vcpu": 4,
"memory_gb": 16
}
],
"running_instances": 0,
"stopped_instances": 10,
"total_instances": 10,
"total_vcpu": 30,
"total_memory_gb": 94,
"state": "stopped"
}
]
```
Loading

0 comments on commit b83d838

Please sign in to comment.