Skip to content

Commit 7d15cf8

Browse files
committed
Add "space_usage_summary" block to spaces docu
1 parent 6c978fd commit 7d15cf8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/v3/source/includes/api_resources/_spaces.erb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,26 @@
145145
]
146146
}
147147
<% end %>
148+
149+
<% content_for :space_usage_summary do %>
150+
{
151+
"usage_summary": {
152+
"started_instances": 3,
153+
"memory_in_mb": 3072,
154+
"routes": 3,
155+
"service_instances": 2,
156+
"reserved_ports": 1,
157+
"domains": 1,
158+
"per_app_tasks": 0,
159+
"service_keys": 1
160+
},
161+
"links": {
162+
"self": {
163+
"href": "https://api.example.org/v3/spaces/f47ac10b-58cc-4372-a567-0e02b2c3d479/usage_summary"
164+
},
165+
"organization": {
166+
"href": "https://api.example.org/v3/spaces/f47ac10b-58cc-4372-a567-0e02b2c3d479"
167+
}
168+
}
169+
}
170+
<% end %>

0 commit comments

Comments
 (0)