platform-api 3.0.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/schema.json CHANGED
@@ -228,6 +228,15 @@
228
228
  "string"
229
229
  ]
230
230
  },
231
+ "country_of_residence": {
232
+ "description": "country where account owner resides",
233
+ "example": "United States",
234
+ "readOnly": false,
235
+ "type": [
236
+ "string",
237
+ "null"
238
+ ]
239
+ },
231
240
  "email": {
232
241
  "description": "unique email address of account",
233
242
  "example": "username@example.com",
@@ -399,7 +408,7 @@
399
408
  "title": "Update"
400
409
  },
401
410
  {
402
- "description": "Delete account. Note that this action cannot be undone.",
411
+ "description": "Delete account. Note that this action cannot be undone. Note: This endpoint requires the HTTP_HEROKU_PASSWORD or HTTP_HEROKU_PASSWORD_BASE64 header be set correctly for the user account.",
403
412
  "href": "/account",
404
413
  "method": "DELETE",
405
414
  "rel": "destroy",
@@ -445,7 +454,7 @@
445
454
  "title": "Update By User"
446
455
  },
447
456
  {
448
- "description": "Delete account. Note that this action cannot be undone.",
457
+ "description": "Delete account. Note that this action cannot be undone. Note: This endpoint requires the HTTP_HEROKU_PASSWORD or HTTP_HEROKU_PASSWORD_BASE64 header be set correctly for the user account.",
449
458
  "href": "/users/{(%23%2Fdefinitions%2Faccount%2Fdefinitions%2Fidentity)}",
450
459
  "method": "DELETE",
451
460
  "rel": "destroy",
@@ -476,10 +485,14 @@
476
485
  },
477
486
  "identity_provider": {
478
487
  "description": "Identity Provider details for federated users.",
488
+ "strictProperties": true,
479
489
  "properties": {
480
490
  "id": {
481
491
  "$ref": "#/definitions/identity-provider/definitions/id"
482
492
  },
493
+ "name": {
494
+ "$ref": "#/definitions/identity-provider/definitions/name"
495
+ },
483
496
  "team": {
484
497
  "type": [
485
498
  "object"
@@ -501,46 +514,7 @@
501
514
  }
502
515
  },
503
516
  "owner": {
504
- "description": "entity that owns this identity provider",
505
- "properties": {
506
- "id": {
507
- "description": "unique identifier of the owner",
508
- "example": "01234567-89ab-cdef-0123-456789abcdef",
509
- "format": "uuid",
510
- "readOnly": true,
511
- "type": [
512
- "string"
513
- ]
514
- },
515
- "name": {
516
- "description": "name of the owner",
517
- "example": "acme",
518
- "readOnly": true,
519
- "type": [
520
- "string"
521
- ]
522
- },
523
- "type": {
524
- "description": "type of the owner",
525
- "enum": [
526
- "team",
527
- "enterprise-account"
528
- ],
529
- "example": "team",
530
- "readOnly": true,
531
- "type": [
532
- "string"
533
- ]
534
- }
535
- },
536
- "readOnly": false,
537
- "required": [
538
- "id",
539
- "type"
540
- ],
541
- "type": [
542
- "object"
543
- ]
517
+ "$ref": "#/definitions/identity-provider/definitions/owner"
544
518
  }
545
519
  },
546
520
  "type": [
@@ -572,6 +546,9 @@
572
546
  "verified": {
573
547
  "$ref": "#/definitions/account/definitions/verified"
574
548
  },
549
+ "country_of_residence": {
550
+ "$ref": "#/definitions/account/definitions/country_of_residence"
551
+ },
575
552
  "default_organization": {
576
553
  "description": "team selected by default",
577
554
  "properties": {
@@ -607,7 +584,7 @@
607
584
  }
608
585
  },
609
586
  "add-on-action": {
610
- "description": "Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow whitelisted add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.",
587
+ "description": "Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.",
611
588
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
612
589
  "stability": "development",
613
590
  "strictProperties": true,
@@ -2140,6 +2117,157 @@
2140
2117
  }
2141
2118
  }
2142
2119
  },
2120
+ "allowed-add-on-service": {
2121
+ "description": "Entities that have been allowed to be used by a Team",
2122
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
2123
+ "stability": "prototype",
2124
+ "strictProperties": true,
2125
+ "title": "Heroku Platform API - Allowed Add-on Service",
2126
+ "type": [
2127
+ "object"
2128
+ ],
2129
+ "definitions": {
2130
+ "added_at": {
2131
+ "description": "when the add-on service was allowed",
2132
+ "example": "2012-01-01T12:00:00Z",
2133
+ "format": "date-time",
2134
+ "readOnly": true,
2135
+ "type": [
2136
+ "string"
2137
+ ]
2138
+ },
2139
+ "added_by": {
2140
+ "description": "the user which allowed the add-on service",
2141
+ "properties": {
2142
+ "email": {
2143
+ "$ref": "#/definitions/account/definitions/email",
2144
+ "type": [
2145
+ "string",
2146
+ "null"
2147
+ ]
2148
+ },
2149
+ "id": {
2150
+ "$ref": "#/definitions/account/definitions/id",
2151
+ "type": [
2152
+ "string",
2153
+ "null"
2154
+ ]
2155
+ }
2156
+ },
2157
+ "readOnly": true,
2158
+ "type": [
2159
+ "object"
2160
+ ]
2161
+ },
2162
+ "addon_service": {
2163
+ "description": "the add-on service allowed for use",
2164
+ "properties": {
2165
+ "id": {
2166
+ "$ref": "#/definitions/add-on-service/definitions/id"
2167
+ },
2168
+ "name": {
2169
+ "$ref": "#/definitions/add-on-service/definitions/name"
2170
+ },
2171
+ "human_name": {
2172
+ "$ref": "#/definitions/add-on-service/definitions/human_name"
2173
+ }
2174
+ },
2175
+ "readOnly": true,
2176
+ "type": [
2177
+ "object"
2178
+ ]
2179
+ },
2180
+ "id": {
2181
+ "description": "unique identifier for this allowed add-on service record",
2182
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
2183
+ "format": "uuid",
2184
+ "readOnly": true,
2185
+ "type": [
2186
+ "string"
2187
+ ]
2188
+ },
2189
+ "identity": {
2190
+ "anyOf": [
2191
+ {
2192
+ "$ref": "#/definitions/allowed-add-on-service/definitions/id"
2193
+ },
2194
+ {
2195
+ "$ref": "#/definitions/add-on-service/definitions/name"
2196
+ }
2197
+ ]
2198
+ }
2199
+ },
2200
+ "links": [
2201
+ {
2202
+ "description": "List all allowed add-on services for a team",
2203
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services",
2204
+ "method": "GET",
2205
+ "rel": "instances",
2206
+ "targetSchema": {
2207
+ "items": {
2208
+ "$ref": "#/definitions/allowed-add-on-service"
2209
+ },
2210
+ "type": [
2211
+ "array"
2212
+ ]
2213
+ },
2214
+ "title": "List By Team"
2215
+ },
2216
+ {
2217
+ "description": "Allow an Add-on Service",
2218
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services",
2219
+ "method": "POST",
2220
+ "rel": "create",
2221
+ "schema": {
2222
+ "type": [
2223
+ "object"
2224
+ ],
2225
+ "properties": {
2226
+ "addon_service": {
2227
+ "description": "name of the add-on service to allow",
2228
+ "example": "heroku-postgresql",
2229
+ "type": [
2230
+ "string"
2231
+ ]
2232
+ }
2233
+ }
2234
+ },
2235
+ "targetSchema": {
2236
+ "items": {
2237
+ "$ref": "#/definitions/allowed-add-on-service"
2238
+ },
2239
+ "type": [
2240
+ "array"
2241
+ ]
2242
+ },
2243
+ "title": "Create By Team"
2244
+ },
2245
+ {
2246
+ "description": "Remove an allowed add-on service",
2247
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services/{(%23%2Fdefinitions%2Fallowed-add-on-service%2Fdefinitions%2Fidentity)}",
2248
+ "method": "DELETE",
2249
+ "rel": "destroy",
2250
+ "targetSchema": {
2251
+ "$ref": "#/definitions/allowed-add-on-service"
2252
+ },
2253
+ "title": "Delete By Team"
2254
+ }
2255
+ ],
2256
+ "properties": {
2257
+ "added_at": {
2258
+ "$ref": "#/definitions/allowed-add-on-service/definitions/added_at"
2259
+ },
2260
+ "added_by": {
2261
+ "$ref": "#/definitions/allowed-add-on-service/definitions/added_by"
2262
+ },
2263
+ "addon_service": {
2264
+ "$ref": "#/definitions/allowed-add-on-service/definitions/addon_service"
2265
+ },
2266
+ "id": {
2267
+ "$ref": "#/definitions/allowed-add-on-service/definitions/id"
2268
+ }
2269
+ }
2270
+ },
2143
2271
  "app-feature": {
2144
2272
  "description": "An app feature represents a Heroku labs capability that can be enabled or disabled for an app on Heroku.",
2145
2273
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
@@ -3743,6 +3871,15 @@
3743
3871
  },
3744
3872
  "stack": {
3745
3873
  "$ref": "#/definitions/stack/definitions/identity"
3874
+ },
3875
+ "feature_flags": {
3876
+ "description": "unique name of app feature",
3877
+ "type": [
3878
+ "array"
3879
+ ],
3880
+ "items": {
3881
+ "$ref": "#/definitions/app-feature/definitions/name"
3882
+ }
3746
3883
  }
3747
3884
  },
3748
3885
  "type": [
@@ -4028,7 +4165,7 @@
4028
4165
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
4029
4166
  "title": "Heroku Platform API - Audit Trail Archive",
4030
4167
  "description": "An audit trail archive represents a monthly json zipped file containing events",
4031
- "stability": "development",
4168
+ "stability": "production",
4032
4169
  "strictProperties": true,
4033
4170
  "type": [
4034
4171
  "object"
@@ -4047,12 +4184,24 @@
4047
4184
  },
4048
4185
  "month": {
4049
4186
  "description": "month of the archive",
4050
- "example": 10,
4187
+ "enum": [
4188
+ "01",
4189
+ "02",
4190
+ "03",
4191
+ "04",
4192
+ "05",
4193
+ "06",
4194
+ "07",
4195
+ "08",
4196
+ "09",
4197
+ "10",
4198
+ "11",
4199
+ "12"
4200
+ ],
4201
+ "example": "10",
4051
4202
  "readOnly": true,
4052
- "minimum": 1,
4053
- "maximum": 12,
4054
4203
  "type": [
4055
- "integer"
4204
+ "string"
4056
4205
  ]
4057
4206
  },
4058
4207
  "year": {
@@ -4135,7 +4284,7 @@
4135
4284
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
4136
4285
  "title": "Heroku Platform API - Audit Trail Event",
4137
4286
  "description": "An audit trail event represents some action on the platform",
4138
- "stability": "development",
4287
+ "stability": "production",
4139
4288
  "strictProperties": true,
4140
4289
  "type": [
4141
4290
  "object"
@@ -4149,13 +4298,6 @@
4149
4298
  "string"
4150
4299
  ]
4151
4300
  },
4152
- "identity": {
4153
- "anyOf": [
4154
- {
4155
- "$ref": "#/definitions/audit-trail-event/definitions/id"
4156
- }
4157
- ]
4158
- },
4159
4301
  "type": {
4160
4302
  "description": "type of event",
4161
4303
  "readOnly": true,
@@ -4304,7 +4446,7 @@
4304
4446
  },
4305
4447
  "links": [
4306
4448
  {
4307
- "description": "List existing events.",
4449
+ "description": "List existing events. Returns all events for one day, defaulting to current day. Order, actor, action, and type, and day query params can be specified as query parameters. For example, '/enterprise-accounts/:id/events?order=desc&actor=user@example.com&action=create&type=app&day=2020-09-30' would return events in descending order and only return app created events by the user with user@example.com email address.",
4308
4450
  "href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fidentity)}/events",
4309
4451
  "method": "GET",
4310
4452
  "rel": "instances",
@@ -5309,6 +5451,13 @@
5309
5451
  "type": [
5310
5452
  "string"
5311
5453
  ]
5454
+ },
5455
+ "sni_endpoint": {
5456
+ "description": "null or unique identifier or name for SNI endpoint",
5457
+ "type": [
5458
+ "null",
5459
+ "string"
5460
+ ]
5312
5461
  }
5313
5462
  },
5314
5463
  "links": [
@@ -5321,10 +5470,14 @@
5321
5470
  "properties": {
5322
5471
  "hostname": {
5323
5472
  "$ref": "#/definitions/domain/definitions/hostname"
5473
+ },
5474
+ "sni_endpoint": {
5475
+ "$ref": "#/definitions/domain/definitions/sni_endpoint"
5324
5476
  }
5325
5477
  },
5326
5478
  "required": [
5327
- "hostname"
5479
+ "hostname",
5480
+ "sni_endpoint"
5328
5481
  ],
5329
5482
  "type": [
5330
5483
  "object"
@@ -5335,6 +5488,29 @@
5335
5488
  },
5336
5489
  "title": "Create"
5337
5490
  },
5491
+ {
5492
+ "description": "Associate an SNI endpoint",
5493
+ "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains/{(%23%2Fdefinitions%2Fdomain%2Fdefinitions%2Fidentity)}",
5494
+ "method": "PATCH",
5495
+ "rel": "update",
5496
+ "schema": {
5497
+ "properties": {
5498
+ "sni_endpoint": {
5499
+ "$ref": "#/definitions/domain/definitions/sni_endpoint"
5500
+ }
5501
+ },
5502
+ "required": [
5503
+ "sni_endpoint"
5504
+ ],
5505
+ "type": [
5506
+ "object"
5507
+ ]
5508
+ },
5509
+ "targetSchema": {
5510
+ "$ref": "#/definitions/domain"
5511
+ },
5512
+ "title": "Update"
5513
+ },
5338
5514
  {
5339
5515
  "description": "Delete an existing domain",
5340
5516
  "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains/{(%23%2Fdefinitions%2Fdomain%2Fdefinitions%2Fidentity)}",
@@ -5412,6 +5588,21 @@
5412
5588
  },
5413
5589
  "status": {
5414
5590
  "$ref": "#/definitions/domain/definitions/status"
5591
+ },
5592
+ "sni_endpoint": {
5593
+ "description": "sni endpoint the domain is associated with",
5594
+ "properties": {
5595
+ "name": {
5596
+ "$ref": "#/definitions/sni-endpoint/definitions/name"
5597
+ },
5598
+ "id": {
5599
+ "$ref": "#/definitions/sni-endpoint/definitions/id"
5600
+ }
5601
+ },
5602
+ "type": [
5603
+ "null",
5604
+ "object"
5605
+ ]
5415
5606
  }
5416
5607
  }
5417
5608
  },
@@ -5881,44 +6072,242 @@
5881
6072
  }
5882
6073
  }
5883
6074
  },
5884
- "enterprise-account-member": {
6075
+ "enterprise-account-daily-usage": {
5885
6076
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
5886
- "description": "Enterprise account members are users with access to an enterprise account.",
6077
+ "description": "Usage for an enterprise account at a daily resolution.",
5887
6078
  "stability": "development",
5888
6079
  "strictProperties": true,
5889
- "title": "Heroku Platform API - Enterprise Account Member",
6080
+ "title": "Heroku Platform API - Enterprise Account Daily Usage",
5890
6081
  "type": [
5891
6082
  "object"
5892
6083
  ],
5893
6084
  "definitions": {
5894
- "id": {
5895
- "description": "unique identifier of the member",
5896
- "example": "01234567-89ab-cdef-0123-456789abcdef",
5897
- "format": "uuid",
6085
+ "addons": {
6086
+ "description": "total add-on credits used",
6087
+ "example": 250.0,
5898
6088
  "readOnly": true,
5899
6089
  "type": [
5900
- "string"
5901
- ]
5902
- },
5903
- "identity": {
5904
- "anyOf": [
5905
- {
5906
- "$ref": "#/definitions/enterprise-account-member/definitions/id"
5907
- }
6090
+ "number"
5908
6091
  ]
5909
6092
  },
5910
- "permission": {
5911
- "description": "permission in the enterprise account",
5912
- "enum": [
5913
- "view",
5914
- "create",
5915
- "manage",
5916
- "billing"
5917
- ],
5918
- "example": "view",
6093
+ "data": {
6094
+ "description": "total add-on credits used for first party add-ons",
6095
+ "example": 34.89,
5919
6096
  "readOnly": true,
5920
6097
  "type": [
5921
- "string"
6098
+ "number"
6099
+ ]
6100
+ },
6101
+ "date": {
6102
+ "description": "date of the usage",
6103
+ "example": "2019-01-01",
6104
+ "format": "date",
6105
+ "readOnly": true,
6106
+ "type": [
6107
+ "string"
6108
+ ]
6109
+ },
6110
+ "dynos": {
6111
+ "description": "dynos used",
6112
+ "example": 1.548,
6113
+ "readOnly": true,
6114
+ "type": [
6115
+ "number"
6116
+ ]
6117
+ },
6118
+ "id": {
6119
+ "description": "enterprise account identifier",
6120
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
6121
+ "format": "uuid",
6122
+ "readOnly": true,
6123
+ "type": [
6124
+ "string"
6125
+ ]
6126
+ },
6127
+ "name": {
6128
+ "description": "name of the enterprise account",
6129
+ "example": "example-co",
6130
+ "readOnly": true,
6131
+ "type": [
6132
+ "string"
6133
+ ]
6134
+ },
6135
+ "partner": {
6136
+ "description": "total add-on credits used for third party add-ons",
6137
+ "example": 12.34,
6138
+ "readOnly": true,
6139
+ "type": [
6140
+ "number"
6141
+ ]
6142
+ },
6143
+ "space": {
6144
+ "description": "space credits used",
6145
+ "example": 1.548,
6146
+ "readOnly": true,
6147
+ "type": [
6148
+ "number"
6149
+ ]
6150
+ },
6151
+ "start_date": {
6152
+ "description": "range start date",
6153
+ "example": "2019-01-25",
6154
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
6155
+ "readOnly": true,
6156
+ "type": [
6157
+ "string"
6158
+ ]
6159
+ },
6160
+ "end_date": {
6161
+ "description": "range end date",
6162
+ "example": "2019-02-25",
6163
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
6164
+ "readOnly": true,
6165
+ "type": [
6166
+ "string"
6167
+ ]
6168
+ }
6169
+ },
6170
+ "links": [
6171
+ {
6172
+ "description": "Retrieves usage for an enterprise account for a range of days. Start and end dates can be specified as query parameters using the date format YYYY-MM-DD. The enterprise account identifier can be found from the [enterprise account list](https://devcenter.heroku.com/articles/platform-api-reference#enterprise-account-list).\n",
6173
+ "href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fid)}/usage/daily",
6174
+ "method": "GET",
6175
+ "rel": "instances",
6176
+ "title": "Info",
6177
+ "schema": {
6178
+ "properties": {
6179
+ "start": {
6180
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/start_date"
6181
+ },
6182
+ "end": {
6183
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/end_date"
6184
+ }
6185
+ },
6186
+ "required": [
6187
+ "start"
6188
+ ],
6189
+ "type": [
6190
+ "object"
6191
+ ]
6192
+ },
6193
+ "targetSchema": {
6194
+ "items": {
6195
+ "$ref": "#/definitions/enterprise-account-daily-usage"
6196
+ },
6197
+ "type": [
6198
+ "array"
6199
+ ]
6200
+ }
6201
+ }
6202
+ ],
6203
+ "properties": {
6204
+ "addons": {
6205
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/addons"
6206
+ },
6207
+ "teams": {
6208
+ "description": "usage by team",
6209
+ "type": [
6210
+ "array"
6211
+ ],
6212
+ "items": {
6213
+ "type": [
6214
+ "object"
6215
+ ],
6216
+ "properties": {
6217
+ "addons": {
6218
+ "$ref": "#/definitions/team-daily-usage/definitions/addons"
6219
+ },
6220
+ "apps": {
6221
+ "description": "app usage in the team",
6222
+ "type": [
6223
+ "array"
6224
+ ],
6225
+ "items": {
6226
+ "$ref": "#/definitions/team-daily-usage/definitions/app_usage_daily"
6227
+ }
6228
+ },
6229
+ "data": {
6230
+ "$ref": "#/definitions/team-daily-usage/definitions/data"
6231
+ },
6232
+ "dynos": {
6233
+ "$ref": "#/definitions/team-daily-usage/definitions/dynos"
6234
+ },
6235
+ "id": {
6236
+ "$ref": "#/definitions/team-daily-usage/definitions/id"
6237
+ },
6238
+ "name": {
6239
+ "$ref": "#/definitions/team-daily-usage/definitions/name"
6240
+ },
6241
+ "partner": {
6242
+ "$ref": "#/definitions/team-daily-usage/definitions/partner"
6243
+ },
6244
+ "space": {
6245
+ "$ref": "#/definitions/team-daily-usage/definitions/space"
6246
+ }
6247
+ }
6248
+ }
6249
+ },
6250
+ "data": {
6251
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/data"
6252
+ },
6253
+ "date": {
6254
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/date"
6255
+ },
6256
+ "dynos": {
6257
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/dynos"
6258
+ },
6259
+ "id": {
6260
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/id"
6261
+ },
6262
+ "name": {
6263
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/name"
6264
+ },
6265
+ "partner": {
6266
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/partner"
6267
+ },
6268
+ "space": {
6269
+ "$ref": "#/definitions/enterprise-account-daily-usage/definitions/space"
6270
+ }
6271
+ }
6272
+ },
6273
+ "enterprise-account-member": {
6274
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
6275
+ "description": "Enterprise account members are users with access to an enterprise account.",
6276
+ "stability": "development",
6277
+ "strictProperties": true,
6278
+ "title": "Heroku Platform API - Enterprise Account Member",
6279
+ "type": [
6280
+ "object"
6281
+ ],
6282
+ "definitions": {
6283
+ "id": {
6284
+ "description": "unique identifier of the member",
6285
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
6286
+ "format": "uuid",
6287
+ "readOnly": true,
6288
+ "type": [
6289
+ "string"
6290
+ ]
6291
+ },
6292
+ "identity": {
6293
+ "anyOf": [
6294
+ {
6295
+ "$ref": "#/definitions/enterprise-account-member/definitions/id"
6296
+ }
6297
+ ]
6298
+ },
6299
+ "permission": {
6300
+ "description": "permission in the enterprise account",
6301
+ "enum": [
6302
+ "view",
6303
+ "create",
6304
+ "manage",
6305
+ "billing"
6306
+ ],
6307
+ "example": "view",
6308
+ "readOnly": true,
6309
+ "type": [
6310
+ "string"
5922
6311
  ]
5923
6312
  },
5924
6313
  "permissions": {
@@ -6134,171 +6523,7 @@
6134
6523
  }
6135
6524
  }
6136
6525
  },
6137
- "enterprise-account-usage-daily": {
6138
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
6139
- "description": "Usage for an enterprise account at a daily resolution.",
6140
- "stability": "development",
6141
- "strictProperties": true,
6142
- "title": "Heroku Platform API - Enterprise Account Daily Usage",
6143
- "type": [
6144
- "object"
6145
- ],
6146
- "definitions": {
6147
- "addons": {
6148
- "description": "total add-on credits used",
6149
- "example": 250.0,
6150
- "readOnly": true,
6151
- "type": [
6152
- "number"
6153
- ]
6154
- },
6155
- "data": {
6156
- "description": "total add-on credits used for first party add-ons",
6157
- "example": 34.89,
6158
- "readOnly": true,
6159
- "type": [
6160
- "number"
6161
- ]
6162
- },
6163
- "date": {
6164
- "description": "date of the usage",
6165
- "example": "2019-01-01",
6166
- "format": "date",
6167
- "readOnly": true,
6168
- "type": [
6169
- "string"
6170
- ]
6171
- },
6172
- "dynos": {
6173
- "description": "dynos used",
6174
- "example": 1.548,
6175
- "readOnly": true,
6176
- "type": [
6177
- "number"
6178
- ]
6179
- },
6180
- "id": {
6181
- "description": "enterprise account identifier",
6182
- "example": "01234567-89ab-cdef-0123-456789abcdef",
6183
- "format": "uuid",
6184
- "readOnly": true,
6185
- "type": [
6186
- "string"
6187
- ]
6188
- },
6189
- "name": {
6190
- "description": "name of the enterprise account",
6191
- "example": "example-co",
6192
- "readOnly": true,
6193
- "type": [
6194
- "string"
6195
- ]
6196
- },
6197
- "partner": {
6198
- "description": "total add-on credits used for third party add-ons",
6199
- "example": 12.34,
6200
- "readOnly": true,
6201
- "type": [
6202
- "number"
6203
- ]
6204
- },
6205
- "space": {
6206
- "description": "space credits used",
6207
- "example": 1.548,
6208
- "readOnly": true,
6209
- "type": [
6210
- "number"
6211
- ]
6212
- }
6213
- },
6214
- "links": [
6215
- {
6216
- "description": "Retrieves usage for an enterprise account for a range of days. Start and end dates can be specified as query parameters using the date format, YYYY-MM-DD format. For example, '/enterprise-accounts/example-account/usage/daily?start=2019-01-01&end=2019-01-31' specifies all days in January for 2019.",
6217
- "href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fid)}/usage/daily",
6218
- "method": "GET",
6219
- "title": "Info",
6220
- "rel": "instances",
6221
- "targetSchema": {
6222
- "items": {
6223
- "$ref": "#/definitions/enterprise-account-usage-daily"
6224
- },
6225
- "type": [
6226
- "array"
6227
- ]
6228
- }
6229
- }
6230
- ],
6231
- "properties": {
6232
- "addons": {
6233
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/addons"
6234
- },
6235
- "teams": {
6236
- "description": "usage by team",
6237
- "type": [
6238
- "array"
6239
- ],
6240
- "items": {
6241
- "type": [
6242
- "object"
6243
- ],
6244
- "properties": {
6245
- "addons": {
6246
- "$ref": "#/definitions/team-usage-daily/definitions/addons"
6247
- },
6248
- "apps": {
6249
- "description": "app usage in the team",
6250
- "type": [
6251
- "array"
6252
- ],
6253
- "items": {
6254
- "$ref": "#/definitions/team-usage-daily/definitions/app_usage_daily"
6255
- }
6256
- },
6257
- "data": {
6258
- "$ref": "#/definitions/team-usage-daily/definitions/data"
6259
- },
6260
- "dynos": {
6261
- "$ref": "#/definitions/team-usage-daily/definitions/dynos"
6262
- },
6263
- "id": {
6264
- "$ref": "#/definitions/team-usage-daily/definitions/id"
6265
- },
6266
- "name": {
6267
- "$ref": "#/definitions/team-usage-daily/definitions/name"
6268
- },
6269
- "partner": {
6270
- "$ref": "#/definitions/team-usage-daily/definitions/partner"
6271
- },
6272
- "space": {
6273
- "$ref": "#/definitions/team-usage-daily/definitions/space"
6274
- }
6275
- }
6276
- }
6277
- },
6278
- "data": {
6279
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/data"
6280
- },
6281
- "date": {
6282
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/date"
6283
- },
6284
- "dynos": {
6285
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/dynos"
6286
- },
6287
- "id": {
6288
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/id"
6289
- },
6290
- "name": {
6291
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/name"
6292
- },
6293
- "partner": {
6294
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/partner"
6295
- },
6296
- "space": {
6297
- "$ref": "#/definitions/enterprise-account-usage-daily/definitions/space"
6298
- }
6299
- }
6300
- },
6301
- "enterprise-account-usage-monthly": {
6526
+ "enterprise-account-monthly-usage": {
6302
6527
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
6303
6528
  "description": "Usage for an enterprise account at a monthly resolution.",
6304
6529
  "stability": "development",
@@ -6381,18 +6606,52 @@
6381
6606
  "type": [
6382
6607
  "number"
6383
6608
  ]
6609
+ },
6610
+ "start_date": {
6611
+ "description": "range start date",
6612
+ "example": "2019-01",
6613
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
6614
+ "readOnly": true,
6615
+ "type": [
6616
+ "string"
6617
+ ]
6618
+ },
6619
+ "end_date": {
6620
+ "description": "range end date",
6621
+ "example": "2019-02",
6622
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
6623
+ "readOnly": true,
6624
+ "type": [
6625
+ "string"
6626
+ ]
6384
6627
  }
6385
6628
  },
6386
6629
  "links": [
6387
6630
  {
6388
- "description": "Retrieves usage for an enterprise account for a range of months. Start and end dates can be specified as query parameters using the date format, YYYY-MM format. For example, '/enterprise-accounts/example-account/usage/monthly?start=2019-01&end=2019-02' specifies usage in January and February for 2019. If no end date is specified, one month of usage is returned.",
6631
+ "description": "Retrieves usage for an enterprise account for a range of months. Start and end dates can be specified as query parameters using the date format YYYY-MM. If no end date is specified, one month of usage is returned. The enterprise account identifier can be found from the [enterprise account list](https://devcenter.heroku.com/articles/platform-api-reference#enterprise-account-list).\n",
6389
6632
  "href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fid)}/usage/monthly",
6390
6633
  "method": "GET",
6391
6634
  "rel": "instances",
6392
6635
  "title": "Info",
6636
+ "schema": {
6637
+ "properties": {
6638
+ "start": {
6639
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/start_date"
6640
+ },
6641
+ "end": {
6642
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/end_date"
6643
+ }
6644
+ },
6645
+ "required": [
6646
+ "start"
6647
+ ],
6648
+ "type": [
6649
+ "object"
6650
+ ]
6651
+ },
6393
6652
  "targetSchema": {
6394
6653
  "items": {
6395
- "$ref": "#/definitions/enterprise-account-usage-monthly"
6654
+ "$ref": "#/definitions/enterprise-account-monthly-usage"
6396
6655
  },
6397
6656
  "type": [
6398
6657
  "array"
@@ -6402,7 +6661,7 @@
6402
6661
  ],
6403
6662
  "properties": {
6404
6663
  "addons": {
6405
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/addons"
6664
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/addons"
6406
6665
  },
6407
6666
  "teams": {
6408
6667
  "description": "usage by team",
@@ -6415,7 +6674,7 @@
6415
6674
  ],
6416
6675
  "properties": {
6417
6676
  "addons": {
6418
- "$ref": "#/definitions/team-usage-monthly/definitions/addons"
6677
+ "$ref": "#/definitions/team-monthly-usage/definitions/addons"
6419
6678
  },
6420
6679
  "apps": {
6421
6680
  "description": "app usage in the team",
@@ -6423,56 +6682,56 @@
6423
6682
  "array"
6424
6683
  ],
6425
6684
  "items": {
6426
- "$ref": "#/definitions/team-usage-monthly/definitions/app_usage_monthly"
6685
+ "$ref": "#/definitions/team-monthly-usage/definitions/app_usage_monthly"
6427
6686
  }
6428
6687
  },
6429
6688
  "connect": {
6430
- "$ref": "#/definitions/team-usage-monthly/definitions/connect"
6689
+ "$ref": "#/definitions/team-monthly-usage/definitions/connect"
6431
6690
  },
6432
6691
  "data": {
6433
- "$ref": "#/definitions/team-usage-monthly/definitions/data"
6692
+ "$ref": "#/definitions/team-monthly-usage/definitions/data"
6434
6693
  },
6435
6694
  "dynos": {
6436
- "$ref": "#/definitions/team-usage-monthly/definitions/dynos"
6695
+ "$ref": "#/definitions/team-monthly-usage/definitions/dynos"
6437
6696
  },
6438
6697
  "id": {
6439
- "$ref": "#/definitions/team-usage-monthly/definitions/id"
6698
+ "$ref": "#/definitions/team-monthly-usage/definitions/id"
6440
6699
  },
6441
6700
  "name": {
6442
- "$ref": "#/definitions/team-usage-monthly/definitions/name"
6701
+ "$ref": "#/definitions/team-monthly-usage/definitions/name"
6443
6702
  },
6444
6703
  "partner": {
6445
- "$ref": "#/definitions/team-usage-monthly/definitions/partner"
6704
+ "$ref": "#/definitions/team-monthly-usage/definitions/partner"
6446
6705
  },
6447
6706
  "space": {
6448
- "$ref": "#/definitions/team-usage-monthly/definitions/space"
6707
+ "$ref": "#/definitions/team-monthly-usage/definitions/space"
6449
6708
  }
6450
6709
  }
6451
6710
  }
6452
6711
  },
6453
6712
  "connect": {
6454
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/connect"
6713
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/connect"
6455
6714
  },
6456
6715
  "data": {
6457
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/data"
6716
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/data"
6458
6717
  },
6459
6718
  "dynos": {
6460
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/dynos"
6719
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/dynos"
6461
6720
  },
6462
6721
  "id": {
6463
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/id"
6722
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/id"
6464
6723
  },
6465
6724
  "month": {
6466
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/month"
6725
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/month"
6467
6726
  },
6468
6727
  "name": {
6469
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/name"
6728
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/name"
6470
6729
  },
6471
6730
  "partner": {
6472
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/partner"
6731
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/partner"
6473
6732
  },
6474
6733
  "space": {
6475
- "$ref": "#/definitions/enterprise-account-usage-monthly/definitions/space"
6734
+ "$ref": "#/definitions/enterprise-account-monthly-usage/definitions/space"
6476
6735
  }
6477
6736
  }
6478
6737
  },
@@ -6511,6 +6770,25 @@
6511
6770
  }
6512
6771
  ]
6513
6772
  },
6773
+ "identity_provider": {
6774
+ "description": "Identity Provider associated with the Enterprise Account",
6775
+ "strictProperties": true,
6776
+ "type": [
6777
+ "null",
6778
+ "object"
6779
+ ],
6780
+ "properties": {
6781
+ "id": {
6782
+ "$ref": "#/definitions/identity-provider/definitions/id"
6783
+ },
6784
+ "name": {
6785
+ "$ref": "#/definitions/identity-provider/definitions/name"
6786
+ },
6787
+ "owner": {
6788
+ "$ref": "#/definitions/identity-provider/definitions/owner"
6789
+ }
6790
+ }
6791
+ },
6514
6792
  "name": {
6515
6793
  "description": "unique name of the enterprise account",
6516
6794
  "example": "example",
@@ -6613,27 +6891,7 @@
6613
6891
  "$ref": "#/definitions/enterprise-account/definitions/trial"
6614
6892
  },
6615
6893
  "identity_provider": {
6616
- "description": "Identity Provider associated with the Enterprise Account",
6617
- "strictProperties": true,
6618
- "type": [
6619
- "null",
6620
- "object"
6621
- ],
6622
- "properties": {
6623
- "id": {
6624
- "$ref": "#/definitions/identity-provider/definitions/id"
6625
- },
6626
- "name": {
6627
- "description": "user-friendly unique identifier for this identity provider",
6628
- "example": "acme-sso",
6629
- "type": [
6630
- "string"
6631
- ]
6632
- },
6633
- "owner": {
6634
- "$ref": "#/definitions/identity-provider/definitions/owner"
6635
- }
6636
- }
6894
+ "$ref": "#/definitions/enterprise-account/definitions/identity_provider"
6637
6895
  }
6638
6896
  }
6639
6897
  },
@@ -6930,7 +7188,7 @@
6930
7188
  }
6931
7189
  },
6932
7190
  "identity-provider": {
6933
- "description": "Identity Providers represent the SAML configuration of an Team.",
7191
+ "description": "Identity Providers represent the SAML configuration of an Enterprise Account or Team.",
6934
7192
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
6935
7193
  "stability": "production",
6936
7194
  "strictProperties": true,
@@ -6973,6 +7231,13 @@
6973
7231
  "string"
6974
7232
  ]
6975
7233
  },
7234
+ "name": {
7235
+ "description": "user-friendly unique identifier for this identity provider",
7236
+ "example": "acme-sso",
7237
+ "type": [
7238
+ "string"
7239
+ ]
7240
+ },
6976
7241
  "slo_target_url": {
6977
7242
  "description": "single log out URL for this identity provider",
6978
7243
  "example": "https://example.com/idp/logout",
@@ -9515,7 +9780,7 @@
9515
9780
  "links": [
9516
9781
  {
9517
9782
  "description": "List latest builds for each app in a pipeline",
9518
- "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fidentity)}/latest-builds",
9783
+ "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fid)}/latest-builds",
9519
9784
  "method": "GET",
9520
9785
  "rel": "instances",
9521
9786
  "targetSchema": {
@@ -9865,7 +10130,7 @@
9865
10130
  "links": [
9866
10131
  {
9867
10132
  "description": "List latest slug releases for each app in a pipeline",
9868
- "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fidentity)}/latest-deployments",
10133
+ "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fid)}/latest-deployments",
9869
10134
  "method": "GET",
9870
10135
  "rel": "instances",
9871
10136
  "targetSchema": {
@@ -10214,7 +10479,7 @@
10214
10479
  "links": [
10215
10480
  {
10216
10481
  "description": "List latest releases for each app in a pipeline",
10217
- "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fidentity)}/latest-releases",
10482
+ "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fid)}/latest-releases",
10218
10483
  "method": "GET",
10219
10484
  "rel": "instances",
10220
10485
  "targetSchema": {
@@ -10241,7 +10506,7 @@
10241
10506
  "links": [
10242
10507
  {
10243
10508
  "description": "The stack for a given pipeline, used for CI and Review Apps that have no stack defined in app.json.",
10244
- "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fidentity)}/pipeline-stack",
10509
+ "href": "/pipelines/{(%23%2Fdefinitions%2Fpipeline%2Fdefinitions%2Fid)}/pipeline-stack",
10245
10510
  "method": "GET",
10246
10511
  "rel": "self",
10247
10512
  "targetSchema": {
@@ -10550,11 +10815,11 @@
10550
10815
  "targetSchema": {
10551
10816
  "items": {
10552
10817
  "$ref": "#/definitions/pipeline"
10553
- }
10818
+ },
10819
+ "type": [
10820
+ "array"
10821
+ ]
10554
10822
  },
10555
- "type": [
10556
- "array"
10557
- ],
10558
10823
  "title": "List"
10559
10824
  }
10560
10825
  ],
@@ -12122,7 +12387,7 @@
12122
12387
  "size": 2048,
12123
12388
  "stack": {
12124
12389
  "id": "01234567-89ab-cdef-0123-456789abcdef",
12125
- "name": "cedar-14"
12390
+ "name": "heroku-18"
12126
12391
  },
12127
12392
  "updated_at": "2012-01-01T12:00:00Z"
12128
12393
  }
@@ -12252,17 +12517,21 @@
12252
12517
  "object"
12253
12518
  ],
12254
12519
  "definitions": {
12255
- "certificate_chain": {
12256
- "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
12257
- "example": "-----BEGIN CERTIFICATE----- ...",
12258
- "readOnly": false,
12520
+ "ca_signed?": {
12521
+ "readOnly": true,
12259
12522
  "type": [
12260
- "string"
12523
+ "boolean"
12261
12524
  ]
12262
12525
  },
12263
- "cname": {
12264
- "description": "deprecated; refer to GET /apps/:id/domains for valid CNAMEs for this app",
12265
- "example": "example.herokussl.com",
12526
+ "cert_domains": {
12527
+ "readOnly": true,
12528
+ "type": [
12529
+ "array"
12530
+ ]
12531
+ },
12532
+ "certificate_chain": {
12533
+ "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
12534
+ "example": "-----BEGIN CERTIFICATE----- ...",
12266
12535
  "readOnly": false,
12267
12536
  "type": [
12268
12537
  "string"
@@ -12277,6 +12546,33 @@
12277
12546
  "string"
12278
12547
  ]
12279
12548
  },
12549
+ "domains": {
12550
+ "description": "domains associated with this SSL certificate",
12551
+ "type": [
12552
+ "array"
12553
+ ],
12554
+ "readOnly": true,
12555
+ "items": {
12556
+ "$ref": "#/definitions/domain/definitions/id"
12557
+ }
12558
+ },
12559
+ "display_name": {
12560
+ "description": "unique name for SSL certificate",
12561
+ "example": "example",
12562
+ "pattern": "^[a-z][a-z0-9-]{2,29}$",
12563
+ "readOnly": false,
12564
+ "type": [
12565
+ "string",
12566
+ "null"
12567
+ ]
12568
+ },
12569
+ "expires_at": {
12570
+ "readOnly": true,
12571
+ "format": "date-time",
12572
+ "type": [
12573
+ "string"
12574
+ ]
12575
+ },
12280
12576
  "id": {
12281
12577
  "description": "unique identifier of this SNI endpoint",
12282
12578
  "example": "01234567-89ab-cdef-0123-456789abcdef",
@@ -12296,6 +12592,12 @@
12296
12592
  }
12297
12593
  ]
12298
12594
  },
12595
+ "issuer": {
12596
+ "readOnly": true,
12597
+ "type": [
12598
+ "string"
12599
+ ]
12600
+ },
12299
12601
  "name": {
12300
12602
  "description": "unique name for SNI endpoint",
12301
12603
  "example": "example",
@@ -12313,6 +12615,25 @@
12313
12615
  "string"
12314
12616
  ]
12315
12617
  },
12618
+ "self_signed?": {
12619
+ "readOnly": true,
12620
+ "type": [
12621
+ "boolean"
12622
+ ]
12623
+ },
12624
+ "starts_at": {
12625
+ "readOnly": true,
12626
+ "format": "date-time",
12627
+ "type": [
12628
+ "string"
12629
+ ]
12630
+ },
12631
+ "subject": {
12632
+ "readOnly": true,
12633
+ "type": [
12634
+ "string"
12635
+ ]
12636
+ },
12316
12637
  "updated_at": {
12317
12638
  "description": "when SNI endpoint was updated",
12318
12639
  "example": "2012-01-01T12:00:00Z",
@@ -12418,9 +12739,6 @@
12418
12739
  "certificate_chain": {
12419
12740
  "$ref": "#/definitions/sni-endpoint/definitions/certificate_chain"
12420
12741
  },
12421
- "cname": {
12422
- "$ref": "#/definitions/sni-endpoint/definitions/cname"
12423
- },
12424
12742
  "created_at": {
12425
12743
  "$ref": "#/definitions/sni-endpoint/definitions/created_at"
12426
12744
  },
@@ -12432,6 +12750,65 @@
12432
12750
  },
12433
12751
  "updated_at": {
12434
12752
  "$ref": "#/definitions/sni-endpoint/definitions/updated_at"
12753
+ },
12754
+ "display_name": {
12755
+ "$ref": "#/definitions/sni-endpoint/definitions/display_name"
12756
+ },
12757
+ "domains": {
12758
+ "$ref": "#/definitions/sni-endpoint/definitions/domains"
12759
+ },
12760
+ "app": {
12761
+ "description": "application that this SSL certificate is on",
12762
+ "properties": {
12763
+ "id": {
12764
+ "$ref": "#/definitions/app/definitions/id"
12765
+ },
12766
+ "name": {
12767
+ "$ref": "#/definitions/app/definitions/name"
12768
+ }
12769
+ },
12770
+ "strictProperties": true,
12771
+ "type": [
12772
+ "object"
12773
+ ]
12774
+ },
12775
+ "ssl_cert": {
12776
+ "description": "certificate provided by this endpoint",
12777
+ "type": [
12778
+ "object"
12779
+ ],
12780
+ "properties": {
12781
+ "ca_signed?": {
12782
+ "$ref": "#/definitions/sni-endpoint/definitions/ca_signed?"
12783
+ },
12784
+ "cert_domains": {
12785
+ "$ref": "#/definitions/sni-endpoint/definitions/cert_domains"
12786
+ },
12787
+ "expires_at": {
12788
+ "$ref": "#/definitions/sni-endpoint/definitions/expires_at"
12789
+ },
12790
+ "issuer": {
12791
+ "$ref": "#/definitions/sni-endpoint/definitions/issuer"
12792
+ },
12793
+ "self_signed?": {
12794
+ "$ref": "#/definitions/sni-endpoint/definitions/self_signed?"
12795
+ },
12796
+ "starts_at": {
12797
+ "$ref": "#/definitions/sni-endpoint/definitions/starts_at"
12798
+ },
12799
+ "subject": {
12800
+ "$ref": "#/definitions/sni-endpoint/definitions/subject"
12801
+ },
12802
+ "id": {
12803
+ "description": "unique identifier of this SSL certificate",
12804
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
12805
+ "format": "uuid",
12806
+ "readOnly": true,
12807
+ "type": [
12808
+ "string"
12809
+ ]
12810
+ }
12811
+ }
12435
12812
  }
12436
12813
  }
12437
12814
  },
@@ -12790,7 +13167,10 @@
12790
13167
  "string"
12791
13168
  ]
12792
13169
  }
12793
- }
13170
+ },
13171
+ "type": [
13172
+ "object"
13173
+ ]
12794
13174
  },
12795
13175
  "formation": {
12796
13176
  "description": "formations for application",
@@ -12912,7 +13292,7 @@
12912
13292
  ]
12913
13293
  },
12914
13294
  "space": {
12915
- "description": "A space is an isolated, highly available, secure app execution environments, running in the modern VPC substrate.",
13295
+ "description": "A space is an isolated, highly available, secure app execution environment.",
12916
13296
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
12917
13297
  "stability": "prototype",
12918
13298
  "strictProperties": true,
@@ -12988,6 +13368,13 @@
12988
13368
  "string"
12989
13369
  ]
12990
13370
  },
13371
+ "log_drain_url": {
13372
+ "description": "URL to which all apps will drain logs. Only settable during space creation and enables direct logging. Must use HTTPS.",
13373
+ "example": "https://example.com/logs",
13374
+ "type": [
13375
+ "string"
13376
+ ]
13377
+ },
12991
13378
  "cidr": {
12992
13379
  "description": "The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16",
12993
13380
  "example": "172.20.20.30/16",
@@ -13059,333 +13446,117 @@
13059
13446
  "method": "DELETE",
13060
13447
  "rel": "destroy",
13061
13448
  "targetSchema": {
13062
- "$ref": "#/definitions/space"
13063
- },
13064
- "title": "Delete"
13065
- },
13066
- {
13067
- "description": "Create a new space.",
13068
- "href": "/spaces",
13069
- "method": "POST",
13070
- "rel": "create",
13071
- "schema": {
13072
- "properties": {
13073
- "name": {
13074
- "$ref": "#/definitions/space/definitions/name"
13075
- },
13076
- "team": {
13077
- "$ref": "#/definitions/team/definitions/name"
13078
- },
13079
- "region": {
13080
- "$ref": "#/definitions/region/definitions/identity"
13081
- },
13082
- "shield": {
13083
- "$ref": "#/definitions/space/definitions/shield"
13084
- },
13085
- "cidr": {
13086
- "$ref": "#/definitions/space/definitions/cidr"
13087
- },
13088
- "data_cidr": {
13089
- "$ref": "#/definitions/space/definitions/data_cidr"
13090
- }
13091
- },
13092
- "required": [
13093
- "name",
13094
- "team"
13095
- ],
13096
- "type": [
13097
- "object"
13098
- ]
13099
- },
13100
- "targetSchema": {
13101
- "$ref": "#/definitions/space"
13102
- },
13103
- "title": "Create"
13104
- }
13105
- ],
13106
- "properties": {
13107
- "created_at": {
13108
- "$ref": "#/definitions/space/definitions/created_at"
13109
- },
13110
- "id": {
13111
- "$ref": "#/definitions/space/definitions/id"
13112
- },
13113
- "name": {
13114
- "$ref": "#/definitions/space/definitions/name"
13115
- },
13116
- "organization": {
13117
- "description": "organization that owns this space",
13118
- "properties": {
13119
- "name": {
13120
- "$ref": "#/definitions/team/definitions/name"
13121
- }
13122
- },
13123
- "type": [
13124
- "object"
13125
- ]
13126
- },
13127
- "team": {
13128
- "description": "team that owns this space",
13129
- "properties": {
13130
- "id": {
13131
- "$ref": "#/definitions/team/definitions/id"
13132
- },
13133
- "name": {
13134
- "$ref": "#/definitions/team/definitions/name"
13135
- }
13136
- },
13137
- "type": [
13138
- "object"
13139
- ]
13140
- },
13141
- "region": {
13142
- "description": "identity of space region",
13143
- "properties": {
13144
- "id": {
13145
- "$ref": "#/definitions/region/definitions/id"
13146
- },
13147
- "name": {
13148
- "$ref": "#/definitions/region/definitions/name"
13149
- }
13150
- },
13151
- "strictProperties": true,
13152
- "type": [
13153
- "object"
13154
- ]
13155
- },
13156
- "shield": {
13157
- "$ref": "#/definitions/space/definitions/shield"
13158
- },
13159
- "state": {
13160
- "$ref": "#/definitions/space/definitions/state"
13161
- },
13162
- "updated_at": {
13163
- "$ref": "#/definitions/space/definitions/updated_at"
13164
- },
13165
- "cidr": {
13166
- "$ref": "#/definitions/space/definitions/cidr"
13167
- },
13168
- "data_cidr": {
13169
- "$ref": "#/definitions/space/definitions/data_cidr"
13170
- }
13171
- }
13172
- },
13173
- "ssl-endpoint": {
13174
- "description": "[SSL Endpoint](https://devcenter.heroku.com/articles/ssl-endpoint) is a public address serving custom SSL cert for HTTPS traffic to a Heroku app. Note that an app must have the `ssl:endpoint` add-on installed before it can provision an SSL Endpoint using these APIs.",
13175
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
13176
- "title": "Heroku Platform API - SSL Endpoint",
13177
- "stability": "production",
13178
- "strictProperties": true,
13179
- "type": [
13180
- "object"
13181
- ],
13182
- "definitions": {
13183
- "certificate_chain": {
13184
- "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
13185
- "example": "-----BEGIN CERTIFICATE----- ...",
13186
- "readOnly": false,
13187
- "type": [
13188
- "string"
13189
- ]
13190
- },
13191
- "cname": {
13192
- "description": "canonical name record, the address to point a domain at",
13193
- "example": "example.herokussl.com",
13194
- "readOnly": false,
13195
- "type": [
13196
- "string"
13197
- ]
13198
- },
13199
- "created_at": {
13200
- "description": "when endpoint was created",
13201
- "example": "2012-01-01T12:00:00Z",
13202
- "format": "date-time",
13203
- "readOnly": true,
13204
- "type": [
13205
- "string"
13206
- ]
13207
- },
13208
- "id": {
13209
- "description": "unique identifier of this SSL endpoint",
13210
- "example": "01234567-89ab-cdef-0123-456789abcdef",
13211
- "format": "uuid",
13212
- "readOnly": true,
13213
- "type": [
13214
- "string"
13215
- ]
13216
- },
13217
- "identity": {
13218
- "anyOf": [
13219
- {
13220
- "$ref": "#/definitions/ssl-endpoint/definitions/id"
13221
- },
13222
- {
13223
- "$ref": "#/definitions/ssl-endpoint/definitions/name"
13224
- }
13225
- ]
13226
- },
13227
- "name": {
13228
- "description": "unique name for SSL endpoint",
13229
- "example": "example",
13230
- "pattern": "^[a-z][a-z0-9-]{2,29}$",
13231
- "readOnly": true,
13232
- "type": [
13233
- "string"
13234
- ]
13235
- },
13236
- "preprocess": {
13237
- "default": true,
13238
- "description": "allow Heroku to modify an uploaded public certificate chain if deemed advantageous by adding missing intermediaries, stripping unnecessary ones, etc.",
13239
- "example": true,
13240
- "readOnly": false,
13241
- "type": [
13242
- "boolean"
13243
- ]
13244
- },
13245
- "private_key": {
13246
- "description": "contents of the private key (eg .key file)",
13247
- "example": "-----BEGIN RSA PRIVATE KEY----- ...",
13248
- "readOnly": false,
13249
- "type": [
13250
- "string"
13251
- ]
13252
- },
13253
- "updated_at": {
13254
- "description": "when endpoint was updated",
13255
- "example": "2012-01-01T12:00:00Z",
13256
- "format": "date-time",
13257
- "readOnly": true,
13258
- "type": [
13259
- "string"
13260
- ]
13261
- }
13262
- },
13263
- "links": [
13264
- {
13265
- "description": "Create a new SSL endpoint.",
13266
- "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/ssl-endpoints",
13267
- "method": "POST",
13268
- "rel": "create",
13269
- "schema": {
13270
- "properties": {
13271
- "certificate_chain": {
13272
- "$ref": "#/definitions/ssl-endpoint/definitions/certificate_chain"
13273
- },
13274
- "preprocess": {
13275
- "$ref": "#/definitions/ssl-endpoint/definitions/preprocess"
13276
- },
13277
- "private_key": {
13278
- "$ref": "#/definitions/ssl-endpoint/definitions/private_key"
13279
- }
13280
- },
13281
- "required": [
13282
- "certificate_chain",
13283
- "private_key"
13284
- ],
13285
- "type": [
13286
- "object"
13287
- ]
13288
- },
13289
- "targetSchema": {
13290
- "$ref": "#/definitions/ssl-endpoint"
13291
- },
13292
- "title": "Create"
13293
- },
13294
- {
13295
- "description": "Delete existing SSL endpoint.",
13296
- "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/ssl-endpoints/{(%23%2Fdefinitions%2Fssl-endpoint%2Fdefinitions%2Fidentity)}",
13297
- "method": "DELETE",
13298
- "rel": "destroy",
13299
- "targetSchema": {
13300
- "$ref": "#/definitions/ssl-endpoint"
13301
- },
13302
- "title": "Delete"
13303
- },
13304
- {
13305
- "description": "Info for existing SSL endpoint.",
13306
- "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/ssl-endpoints/{(%23%2Fdefinitions%2Fssl-endpoint%2Fdefinitions%2Fidentity)}",
13307
- "method": "GET",
13308
- "rel": "self",
13309
- "targetSchema": {
13310
- "$ref": "#/definitions/ssl-endpoint"
13311
- },
13312
- "title": "Info"
13313
- },
13314
- {
13315
- "description": "List existing SSL endpoints.",
13316
- "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/ssl-endpoints",
13317
- "method": "GET",
13318
- "rel": "instances",
13319
- "targetSchema": {
13320
- "items": {
13321
- "$ref": "#/definitions/ssl-endpoint"
13322
- },
13323
- "type": [
13324
- "array"
13325
- ]
13449
+ "$ref": "#/definitions/space"
13326
13450
  },
13327
- "title": "List"
13451
+ "title": "Delete"
13328
13452
  },
13329
13453
  {
13330
- "description": "Update an existing SSL endpoint.",
13331
- "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/ssl-endpoints/{(%23%2Fdefinitions%2Fssl-endpoint%2Fdefinitions%2Fidentity)}",
13332
- "method": "PATCH",
13333
- "rel": "update",
13454
+ "description": "Create a new space.",
13455
+ "href": "/spaces",
13456
+ "method": "POST",
13457
+ "rel": "create",
13334
13458
  "schema": {
13335
13459
  "properties": {
13336
- "certificate_chain": {
13337
- "$ref": "#/definitions/ssl-endpoint/definitions/certificate_chain"
13460
+ "name": {
13461
+ "$ref": "#/definitions/space/definitions/name"
13338
13462
  },
13339
- "preprocess": {
13340
- "$ref": "#/definitions/ssl-endpoint/definitions/preprocess"
13463
+ "team": {
13464
+ "$ref": "#/definitions/team/definitions/name"
13341
13465
  },
13342
- "private_key": {
13343
- "$ref": "#/definitions/ssl-endpoint/definitions/private_key"
13466
+ "region": {
13467
+ "$ref": "#/definitions/region/definitions/identity"
13468
+ },
13469
+ "shield": {
13470
+ "$ref": "#/definitions/space/definitions/shield"
13471
+ },
13472
+ "cidr": {
13473
+ "$ref": "#/definitions/space/definitions/cidr"
13474
+ },
13475
+ "data_cidr": {
13476
+ "$ref": "#/definitions/space/definitions/data_cidr"
13477
+ },
13478
+ "log_drain_url": {
13479
+ "$ref": "#/definitions/space/definitions/log_drain_url"
13344
13480
  }
13345
13481
  },
13482
+ "required": [
13483
+ "name",
13484
+ "team"
13485
+ ],
13346
13486
  "type": [
13347
13487
  "object"
13348
13488
  ]
13349
13489
  },
13350
13490
  "targetSchema": {
13351
- "$ref": "#/definitions/ssl-endpoint"
13491
+ "$ref": "#/definitions/space"
13352
13492
  },
13353
- "title": "Update"
13493
+ "title": "Create"
13354
13494
  }
13355
13495
  ],
13356
13496
  "properties": {
13357
- "app": {
13358
- "description": "application associated with this ssl-endpoint",
13497
+ "created_at": {
13498
+ "$ref": "#/definitions/space/definitions/created_at"
13499
+ },
13500
+ "id": {
13501
+ "$ref": "#/definitions/space/definitions/id"
13502
+ },
13503
+ "name": {
13504
+ "$ref": "#/definitions/space/definitions/name"
13505
+ },
13506
+ "organization": {
13507
+ "description": "organization that owns this space",
13508
+ "properties": {
13509
+ "name": {
13510
+ "$ref": "#/definitions/team/definitions/name"
13511
+ }
13512
+ },
13359
13513
  "type": [
13360
13514
  "object"
13361
- ],
13515
+ ]
13516
+ },
13517
+ "team": {
13518
+ "description": "team that owns this space",
13362
13519
  "properties": {
13363
13520
  "id": {
13364
- "$ref": "#/definitions/app/definitions/id"
13521
+ "$ref": "#/definitions/team/definitions/id"
13365
13522
  },
13366
13523
  "name": {
13367
- "$ref": "#/definitions/app/definitions/name"
13524
+ "$ref": "#/definitions/team/definitions/name"
13368
13525
  }
13369
13526
  },
13370
- "strictProperties": true
13527
+ "type": [
13528
+ "object"
13529
+ ]
13371
13530
  },
13372
- "certificate_chain": {
13373
- "$ref": "#/definitions/ssl-endpoint/definitions/certificate_chain"
13531
+ "region": {
13532
+ "description": "identity of space region",
13533
+ "properties": {
13534
+ "id": {
13535
+ "$ref": "#/definitions/region/definitions/id"
13536
+ },
13537
+ "name": {
13538
+ "$ref": "#/definitions/region/definitions/name"
13539
+ }
13540
+ },
13541
+ "strictProperties": true,
13542
+ "type": [
13543
+ "object"
13544
+ ]
13374
13545
  },
13375
- "cname": {
13376
- "$ref": "#/definitions/ssl-endpoint/definitions/cname"
13546
+ "shield": {
13547
+ "$ref": "#/definitions/space/definitions/shield"
13377
13548
  },
13378
- "created_at": {
13379
- "$ref": "#/definitions/ssl-endpoint/definitions/created_at"
13549
+ "state": {
13550
+ "$ref": "#/definitions/space/definitions/state"
13380
13551
  },
13381
- "id": {
13382
- "$ref": "#/definitions/ssl-endpoint/definitions/id"
13552
+ "updated_at": {
13553
+ "$ref": "#/definitions/space/definitions/updated_at"
13383
13554
  },
13384
- "name": {
13385
- "$ref": "#/definitions/ssl-endpoint/definitions/name"
13555
+ "cidr": {
13556
+ "$ref": "#/definitions/space/definitions/cidr"
13386
13557
  },
13387
- "updated_at": {
13388
- "$ref": "#/definitions/ssl-endpoint/definitions/updated_at"
13558
+ "data_cidr": {
13559
+ "$ref": "#/definitions/space/definitions/data_cidr"
13389
13560
  }
13390
13561
  }
13391
13562
  },
@@ -13437,7 +13608,7 @@
13437
13608
  },
13438
13609
  "name": {
13439
13610
  "description": "unique name of stack",
13440
- "example": "cedar-14",
13611
+ "example": "heroku-18",
13441
13612
  "readOnly": true,
13442
13613
  "type": [
13443
13614
  "string"
@@ -14074,8 +14245,195 @@
14074
14245
  "updated_at": {
14075
14246
  "$ref": "#/definitions/app/definitions/updated_at"
14076
14247
  },
14077
- "web_url": {
14078
- "$ref": "#/definitions/app/definitions/web_url"
14248
+ "web_url": {
14249
+ "$ref": "#/definitions/app/definitions/web_url"
14250
+ }
14251
+ }
14252
+ },
14253
+ "team-daily-usage": {
14254
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
14255
+ "description": "Usage for an enterprise team at a daily resolution.",
14256
+ "stability": "development",
14257
+ "strictProperties": true,
14258
+ "title": "Heroku Platform API - Team Daily Usage",
14259
+ "type": [
14260
+ "object"
14261
+ ],
14262
+ "definitions": {
14263
+ "addons": {
14264
+ "description": "total add-on credits used",
14265
+ "example": 250.0,
14266
+ "readOnly": true,
14267
+ "type": [
14268
+ "number"
14269
+ ]
14270
+ },
14271
+ "app_usage_daily": {
14272
+ "description": "Usage for an app at a daily resolution.",
14273
+ "type": [
14274
+ "object"
14275
+ ],
14276
+ "properties": {
14277
+ "addons": {
14278
+ "$ref": "#/definitions/team-daily-usage/definitions/addons"
14279
+ },
14280
+ "app_name": {
14281
+ "$ref": "#/definitions/app/definitions/name"
14282
+ },
14283
+ "data": {
14284
+ "$ref": "#/definitions/team-daily-usage/definitions/data"
14285
+ },
14286
+ "dynos": {
14287
+ "$ref": "#/definitions/team-daily-usage/definitions/dynos"
14288
+ },
14289
+ "partner": {
14290
+ "$ref": "#/definitions/team-daily-usage/definitions/partner"
14291
+ }
14292
+ }
14293
+ },
14294
+ "data": {
14295
+ "description": "total add-on credits used for first party add-ons",
14296
+ "example": 34.89,
14297
+ "readOnly": true,
14298
+ "type": [
14299
+ "number"
14300
+ ]
14301
+ },
14302
+ "date": {
14303
+ "description": "date of the usage",
14304
+ "example": "2019-01-01",
14305
+ "format": "date",
14306
+ "readOnly": true,
14307
+ "type": [
14308
+ "string"
14309
+ ]
14310
+ },
14311
+ "dynos": {
14312
+ "description": "dynos used",
14313
+ "example": 1.548,
14314
+ "readOnly": true,
14315
+ "type": [
14316
+ "number"
14317
+ ]
14318
+ },
14319
+ "id": {
14320
+ "description": "team identifier",
14321
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
14322
+ "format": "uuid",
14323
+ "readOnly": true,
14324
+ "type": [
14325
+ "string"
14326
+ ]
14327
+ },
14328
+ "name": {
14329
+ "description": "name of the team",
14330
+ "example": "ops",
14331
+ "readOnly": true,
14332
+ "type": [
14333
+ "string"
14334
+ ]
14335
+ },
14336
+ "partner": {
14337
+ "description": "total add-on credits used for third party add-ons",
14338
+ "example": 12.34,
14339
+ "readOnly": true,
14340
+ "type": [
14341
+ "number"
14342
+ ]
14343
+ },
14344
+ "space": {
14345
+ "description": "space credits used",
14346
+ "example": 1.548,
14347
+ "readOnly": true,
14348
+ "type": [
14349
+ "number"
14350
+ ]
14351
+ },
14352
+ "start_date": {
14353
+ "description": "range start date",
14354
+ "example": "2019-01-25",
14355
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
14356
+ "readOnly": true,
14357
+ "type": [
14358
+ "string"
14359
+ ]
14360
+ },
14361
+ "end_date": {
14362
+ "description": "range end date",
14363
+ "example": "2019-02-25",
14364
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
14365
+ "readOnly": true,
14366
+ "type": [
14367
+ "string"
14368
+ ]
14369
+ }
14370
+ },
14371
+ "links": [
14372
+ {
14373
+ "description": "Retrieves usage for an enterprise team for a range of days. Start and end dates can be specified as query parameters using the date format YYYY-MM-DD. The team identifier can be found from the [team list endpoint](https://devcenter.heroku.com/articles/platform-api-reference#team-list).\n",
14374
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fid)}/usage/daily",
14375
+ "method": "GET",
14376
+ "title": "Info",
14377
+ "schema": {
14378
+ "properties": {
14379
+ "start": {
14380
+ "$ref": "#/definitions/team-daily-usage/definitions/start_date"
14381
+ },
14382
+ "end": {
14383
+ "$ref": "#/definitions/team-daily-usage/definitions/end_date"
14384
+ }
14385
+ },
14386
+ "required": [
14387
+ "start"
14388
+ ],
14389
+ "type": [
14390
+ "object"
14391
+ ]
14392
+ },
14393
+ "rel": "instances",
14394
+ "targetSchema": {
14395
+ "items": {
14396
+ "$ref": "#/definitions/team-daily-usage"
14397
+ },
14398
+ "type": [
14399
+ "array"
14400
+ ]
14401
+ }
14402
+ }
14403
+ ],
14404
+ "properties": {
14405
+ "addons": {
14406
+ "$ref": "#/definitions/team-daily-usage/definitions/addons"
14407
+ },
14408
+ "apps": {
14409
+ "description": "app usage in the team",
14410
+ "type": [
14411
+ "array"
14412
+ ],
14413
+ "items": {
14414
+ "$ref": "#/definitions/team-daily-usage/definitions/app_usage_daily"
14415
+ }
14416
+ },
14417
+ "data": {
14418
+ "$ref": "#/definitions/team-daily-usage/definitions/data"
14419
+ },
14420
+ "date": {
14421
+ "$ref": "#/definitions/team-daily-usage/definitions/date"
14422
+ },
14423
+ "dynos": {
14424
+ "$ref": "#/definitions/team-daily-usage/definitions/dynos"
14425
+ },
14426
+ "id": {
14427
+ "$ref": "#/definitions/team-daily-usage/definitions/id"
14428
+ },
14429
+ "name": {
14430
+ "$ref": "#/definitions/team-daily-usage/definitions/name"
14431
+ },
14432
+ "partner": {
14433
+ "$ref": "#/definitions/team-daily-usage/definitions/partner"
14434
+ },
14435
+ "space": {
14436
+ "$ref": "#/definitions/team-daily-usage/definitions/space"
14079
14437
  }
14080
14438
  }
14081
14439
  },
@@ -14961,266 +15319,7 @@
14961
15319
  }
14962
15320
  }
14963
15321
  },
14964
- "team-preferences": {
14965
- "description": "Tracks a Team's Preferences",
14966
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
14967
- "stability": "development",
14968
- "strictProperties": true,
14969
- "title": "Heroku Platform API - Team Preferences",
14970
- "type": [
14971
- "object"
14972
- ],
14973
- "definitions": {
14974
- "default-permission": {
14975
- "description": "The default permission used when adding new members to the team",
14976
- "example": "member",
14977
- "readOnly": false,
14978
- "enum": [
14979
- "admin",
14980
- "member",
14981
- "viewer",
14982
- null
14983
- ],
14984
- "type": [
14985
- "null",
14986
- "string"
14987
- ]
14988
- },
14989
- "identity": {
14990
- "$ref": "#/definitions/team/definitions/identity"
14991
- },
14992
- "whitelisting-enabled": {
14993
- "description": "Whether whitelisting rules should be applied to add-on installations",
14994
- "example": true,
14995
- "readOnly": false,
14996
- "type": [
14997
- "boolean",
14998
- "null"
14999
- ]
15000
- }
15001
- },
15002
- "links": [
15003
- {
15004
- "description": "Retrieve Team Preferences",
15005
- "href": "/teams/{(%23%2Fdefinitions%2Fteam-preferences%2Fdefinitions%2Fidentity)}/preferences",
15006
- "method": "GET",
15007
- "rel": "self",
15008
- "targetSchema": {
15009
- "$ref": "#/definitions/team-preferences"
15010
- },
15011
- "title": "List"
15012
- },
15013
- {
15014
- "description": "Update Team Preferences",
15015
- "href": "/teams/{(%23%2Fdefinitions%2Fteam-preferences%2Fdefinitions%2Fidentity)}/preferences",
15016
- "method": "PATCH",
15017
- "rel": "update",
15018
- "schema": {
15019
- "type": [
15020
- "object"
15021
- ],
15022
- "properties": {
15023
- "whitelisting-enabled": {
15024
- "$ref": "#/definitions/team-preferences/definitions/whitelisting-enabled"
15025
- }
15026
- }
15027
- },
15028
- "targetSchema": {
15029
- "$ref": "#/definitions/team-preferences"
15030
- },
15031
- "title": "Update"
15032
- }
15033
- ],
15034
- "properties": {
15035
- "default-permission": {
15036
- "$ref": "#/definitions/team-preferences/definitions/default-permission"
15037
- },
15038
- "whitelisting-enabled": {
15039
- "$ref": "#/definitions/team-preferences/definitions/whitelisting-enabled"
15040
- }
15041
- }
15042
- },
15043
- "team-space": {
15044
- "description": "A space is an isolated, highly available, secure app execution environments, running in the modern VPC substrate.",
15045
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
15046
- "stability": "prototype",
15047
- "strictProperties": true,
15048
- "title": "Heroku Platform API - Space",
15049
- "type": [
15050
- "object"
15051
- ],
15052
- "links": [
15053
- {
15054
- "description": "List spaces owned by the team",
15055
- "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/spaces",
15056
- "method": "GET",
15057
- "rel": "instances",
15058
- "targetSchema": {
15059
- "items": {
15060
- "$ref": "#/definitions/space"
15061
- },
15062
- "type": [
15063
- "array"
15064
- ]
15065
- },
15066
- "title": "List"
15067
- }
15068
- ]
15069
- },
15070
- "team-usage-daily": {
15071
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
15072
- "description": "Usage for an enterprise team at a daily resolution.",
15073
- "stability": "development",
15074
- "strictProperties": true,
15075
- "title": "Heroku Platform API - Team Daily Usage",
15076
- "type": [
15077
- "object"
15078
- ],
15079
- "definitions": {
15080
- "addons": {
15081
- "description": "total add-on credits used",
15082
- "example": 250.0,
15083
- "readOnly": true,
15084
- "type": [
15085
- "number"
15086
- ]
15087
- },
15088
- "app_usage_daily": {
15089
- "description": "Usage for an app at a daily resolution.",
15090
- "type": [
15091
- "object"
15092
- ],
15093
- "properties": {
15094
- "addons": {
15095
- "$ref": "#/definitions/team-usage-daily/definitions/addons"
15096
- },
15097
- "app_name": {
15098
- "$ref": "#/definitions/app/definitions/name"
15099
- },
15100
- "data": {
15101
- "$ref": "#/definitions/team-usage-daily/definitions/data"
15102
- },
15103
- "dynos": {
15104
- "$ref": "#/definitions/team-usage-daily/definitions/dynos"
15105
- },
15106
- "partner": {
15107
- "$ref": "#/definitions/team-usage-daily/definitions/partner"
15108
- }
15109
- }
15110
- },
15111
- "data": {
15112
- "description": "total add-on credits used for first party add-ons",
15113
- "example": 34.89,
15114
- "readOnly": true,
15115
- "type": [
15116
- "number"
15117
- ]
15118
- },
15119
- "date": {
15120
- "description": "date of the usage",
15121
- "example": "2019-01-01",
15122
- "format": "date",
15123
- "readOnly": true,
15124
- "type": [
15125
- "string"
15126
- ]
15127
- },
15128
- "dynos": {
15129
- "description": "dynos used",
15130
- "example": 1.548,
15131
- "readOnly": true,
15132
- "type": [
15133
- "number"
15134
- ]
15135
- },
15136
- "id": {
15137
- "description": "team identifier",
15138
- "example": "01234567-89ab-cdef-0123-456789abcdef",
15139
- "format": "uuid",
15140
- "readOnly": true,
15141
- "type": [
15142
- "string"
15143
- ]
15144
- },
15145
- "name": {
15146
- "description": "name of the team",
15147
- "example": "ops",
15148
- "readOnly": true,
15149
- "type": [
15150
- "string"
15151
- ]
15152
- },
15153
- "partner": {
15154
- "description": "total add-on credits used for third party add-ons",
15155
- "example": 12.34,
15156
- "readOnly": true,
15157
- "type": [
15158
- "number"
15159
- ]
15160
- },
15161
- "space": {
15162
- "description": "space credits used",
15163
- "example": 1.548,
15164
- "readOnly": true,
15165
- "type": [
15166
- "number"
15167
- ]
15168
- }
15169
- },
15170
- "links": [
15171
- {
15172
- "description": "Retrieves usage for an enterprise team for a range of days. Start and end dates can be specified as query parameters using the date format, YYYY-MM-DD format. For example, '/teams/example-team/usage?start=2019-01-01&end=2019-01-31' specifies all days in January for 2019.",
15173
- "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fid)}/usage/daily",
15174
- "method": "GET",
15175
- "title": "Info",
15176
- "rel": "instances",
15177
- "targetSchema": {
15178
- "items": {
15179
- "$ref": "#/definitions/team-usage-daily"
15180
- },
15181
- "type": [
15182
- "array"
15183
- ]
15184
- }
15185
- }
15186
- ],
15187
- "properties": {
15188
- "addons": {
15189
- "$ref": "#/definitions/team-usage-daily/definitions/addons"
15190
- },
15191
- "apps": {
15192
- "description": "app usage in the team",
15193
- "type": [
15194
- "array"
15195
- ],
15196
- "items": {
15197
- "$ref": "#/definitions/team-usage-daily/definitions/app_usage_daily"
15198
- }
15199
- },
15200
- "data": {
15201
- "$ref": "#/definitions/team-usage-daily/definitions/data"
15202
- },
15203
- "date": {
15204
- "$ref": "#/definitions/team-usage-daily/definitions/date"
15205
- },
15206
- "dynos": {
15207
- "$ref": "#/definitions/team-usage-daily/definitions/dynos"
15208
- },
15209
- "id": {
15210
- "$ref": "#/definitions/team-usage-daily/definitions/id"
15211
- },
15212
- "name": {
15213
- "$ref": "#/definitions/team-usage-daily/definitions/name"
15214
- },
15215
- "partner": {
15216
- "$ref": "#/definitions/team-usage-daily/definitions/partner"
15217
- },
15218
- "space": {
15219
- "$ref": "#/definitions/team-usage-daily/definitions/space"
15220
- }
15221
- }
15222
- },
15223
- "team-usage-monthly": {
15322
+ "team-monthly-usage": {
15224
15323
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
15225
15324
  "description": "Usage for an enterprise team at a monthly resolution.",
15226
15325
  "stability": "development",
@@ -15245,19 +15344,19 @@
15245
15344
  ],
15246
15345
  "properties": {
15247
15346
  "addons": {
15248
- "$ref": "#/definitions/team-usage-monthly/definitions/addons"
15347
+ "$ref": "#/definitions/team-monthly-usage/definitions/addons"
15249
15348
  },
15250
15349
  "app_name": {
15251
15350
  "$ref": "#/definitions/app/definitions/name"
15252
15351
  },
15253
15352
  "data": {
15254
- "$ref": "#/definitions/team-usage-monthly/definitions/data"
15353
+ "$ref": "#/definitions/team-monthly-usage/definitions/data"
15255
15354
  },
15256
15355
  "dynos": {
15257
- "$ref": "#/definitions/team-usage-monthly/definitions/dynos"
15356
+ "$ref": "#/definitions/team-monthly-usage/definitions/dynos"
15258
15357
  },
15259
15358
  "partner": {
15260
- "$ref": "#/definitions/team-usage-monthly/definitions/partner"
15359
+ "$ref": "#/definitions/team-monthly-usage/definitions/partner"
15261
15360
  }
15262
15361
  }
15263
15362
  },
@@ -15326,18 +15425,52 @@
15326
15425
  "type": [
15327
15426
  "number"
15328
15427
  ]
15428
+ },
15429
+ "start_date": {
15430
+ "description": "range start date",
15431
+ "example": "2019-01",
15432
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
15433
+ "readOnly": true,
15434
+ "type": [
15435
+ "string"
15436
+ ]
15437
+ },
15438
+ "end_date": {
15439
+ "description": "range end date",
15440
+ "example": "2019-02",
15441
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
15442
+ "readOnly": true,
15443
+ "type": [
15444
+ "string"
15445
+ ]
15329
15446
  }
15330
15447
  },
15331
15448
  "links": [
15332
15449
  {
15333
- "description": "Retrieves usage for an enterprise team for a range of months. Start and end dates can be specified as query parameters using the date format, YYYY-MM format. For example, '/teams/example-team/usage?start=2019-01&end=2019-02' specifies usage in January and February for 2019. If no end date is specified, one month of usage is returned.",
15450
+ "description": "Retrieves usage for an enterprise team for a range of months. Start and end dates can be specified as query parameters using the date, YYYY-MM. If no end date is specified, one month of usage is returned. The team identifier can be found from the [team list endpoint](https://devcenter.heroku.com/articles/platform-api-reference#team-list).\n",
15334
15451
  "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fid)}/usage/monthly",
15335
15452
  "method": "GET",
15453
+ "title": "Info",
15454
+ "schema": {
15455
+ "properties": {
15456
+ "start": {
15457
+ "$ref": "#/definitions/team-monthly-usage/definitions/start_date"
15458
+ },
15459
+ "end": {
15460
+ "$ref": "#/definitions/team-monthly-usage/definitions/end_date"
15461
+ }
15462
+ },
15463
+ "required": [
15464
+ "start"
15465
+ ],
15466
+ "type": [
15467
+ "object"
15468
+ ]
15469
+ },
15336
15470
  "rel": "instances",
15337
- "title": "Info",
15338
15471
  "targetSchema": {
15339
15472
  "items": {
15340
- "$ref": "#/definitions/team-usage-monthly"
15473
+ "$ref": "#/definitions/team-monthly-usage"
15341
15474
  },
15342
15475
  "type": [
15343
15476
  "array"
@@ -15347,7 +15480,7 @@
15347
15480
  ],
15348
15481
  "properties": {
15349
15482
  "addons": {
15350
- "$ref": "#/definitions/team-usage-monthly/definitions/addons"
15483
+ "$ref": "#/definitions/team-monthly-usage/definitions/addons"
15351
15484
  },
15352
15485
  "apps": {
15353
15486
  "description": "app usage in the team",
@@ -15355,35 +15488,141 @@
15355
15488
  "array"
15356
15489
  ],
15357
15490
  "items": {
15358
- "$ref": "#/definitions/team-usage-monthly/definitions/app_usage_monthly"
15491
+ "$ref": "#/definitions/team-monthly-usage/definitions/app_usage_monthly"
15359
15492
  }
15360
15493
  },
15361
15494
  "connect": {
15362
- "$ref": "#/definitions/team-usage-monthly/definitions/connect"
15495
+ "$ref": "#/definitions/team-monthly-usage/definitions/connect"
15363
15496
  },
15364
15497
  "data": {
15365
- "$ref": "#/definitions/team-usage-monthly/definitions/data"
15498
+ "$ref": "#/definitions/team-monthly-usage/definitions/data"
15366
15499
  },
15367
15500
  "dynos": {
15368
- "$ref": "#/definitions/team-usage-monthly/definitions/dynos"
15501
+ "$ref": "#/definitions/team-monthly-usage/definitions/dynos"
15369
15502
  },
15370
15503
  "id": {
15371
- "$ref": "#/definitions/team-usage-monthly/definitions/id"
15504
+ "$ref": "#/definitions/team-monthly-usage/definitions/id"
15372
15505
  },
15373
15506
  "month": {
15374
- "$ref": "#/definitions/team-usage-monthly/definitions/month"
15507
+ "$ref": "#/definitions/team-monthly-usage/definitions/month"
15375
15508
  },
15376
15509
  "name": {
15377
- "$ref": "#/definitions/team-usage-monthly/definitions/name"
15510
+ "$ref": "#/definitions/team-monthly-usage/definitions/name"
15378
15511
  },
15379
15512
  "partner": {
15380
- "$ref": "#/definitions/team-usage-monthly/definitions/partner"
15513
+ "$ref": "#/definitions/team-monthly-usage/definitions/partner"
15381
15514
  },
15382
15515
  "space": {
15383
- "$ref": "#/definitions/team-usage-monthly/definitions/space"
15516
+ "$ref": "#/definitions/team-monthly-usage/definitions/space"
15517
+ }
15518
+ }
15519
+ },
15520
+ "team-preferences": {
15521
+ "description": "Tracks a Team's Preferences",
15522
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
15523
+ "stability": "development",
15524
+ "strictProperties": true,
15525
+ "title": "Heroku Platform API - Team Preferences",
15526
+ "type": [
15527
+ "object"
15528
+ ],
15529
+ "definitions": {
15530
+ "default-permission": {
15531
+ "description": "The default permission used when adding new members to the team",
15532
+ "example": "member",
15533
+ "readOnly": false,
15534
+ "enum": [
15535
+ "admin",
15536
+ "member",
15537
+ "viewer",
15538
+ null
15539
+ ],
15540
+ "type": [
15541
+ "null",
15542
+ "string"
15543
+ ]
15544
+ },
15545
+ "identity": {
15546
+ "$ref": "#/definitions/team/definitions/identity"
15547
+ },
15548
+ "addons-controls": {
15549
+ "description": "Whether add-on service rules should be applied to add-on installations",
15550
+ "example": true,
15551
+ "readOnly": false,
15552
+ "type": [
15553
+ "boolean",
15554
+ "null"
15555
+ ]
15556
+ }
15557
+ },
15558
+ "links": [
15559
+ {
15560
+ "description": "Retrieve Team Preferences",
15561
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam-preferences%2Fdefinitions%2Fidentity)}/preferences",
15562
+ "method": "GET",
15563
+ "rel": "self",
15564
+ "targetSchema": {
15565
+ "$ref": "#/definitions/team-preferences"
15566
+ },
15567
+ "title": "List"
15568
+ },
15569
+ {
15570
+ "description": "Update Team Preferences",
15571
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam-preferences%2Fdefinitions%2Fidentity)}/preferences",
15572
+ "method": "PATCH",
15573
+ "rel": "update",
15574
+ "schema": {
15575
+ "type": [
15576
+ "object"
15577
+ ],
15578
+ "properties": {
15579
+ "addons-controls": {
15580
+ "$ref": "#/definitions/team-preferences/definitions/addons-controls"
15581
+ }
15582
+ }
15583
+ },
15584
+ "targetSchema": {
15585
+ "$ref": "#/definitions/team-preferences"
15586
+ },
15587
+ "title": "Update"
15588
+ }
15589
+ ],
15590
+ "properties": {
15591
+ "default-permission": {
15592
+ "$ref": "#/definitions/team-preferences/definitions/default-permission"
15593
+ },
15594
+ "addons-controls": {
15595
+ "$ref": "#/definitions/team-preferences/definitions/addons-controls"
15384
15596
  }
15385
15597
  }
15386
15598
  },
15599
+ "team-space": {
15600
+ "description": "A space is an isolated, highly available, secure app execution environment.",
15601
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
15602
+ "stability": "prototype",
15603
+ "strictProperties": true,
15604
+ "title": "Heroku Platform API - Team Space",
15605
+ "type": [
15606
+ "object"
15607
+ ],
15608
+ "links": [
15609
+ {
15610
+ "description": "List spaces owned by the team",
15611
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/spaces",
15612
+ "method": "GET",
15613
+ "rel": "instances",
15614
+ "targetSchema": {
15615
+ "items": {
15616
+ "$ref": "#/definitions/space"
15617
+ },
15618
+ "type": [
15619
+ "array"
15620
+ ]
15621
+ },
15622
+ "title": "List"
15623
+ }
15624
+ ]
15625
+ },
15387
15626
  "team": {
15388
15627
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
15389
15628
  "description": "Teams allow you to manage access to a shared group of applications and other resources.",
@@ -15463,12 +15702,11 @@
15463
15702
  "id": {
15464
15703
  "$ref": "#/definitions/identity-provider/definitions/id"
15465
15704
  },
15466
- "slug": {
15467
- "description": "user-friendly unique identifier for this identity provider",
15468
- "example": "acme-sso",
15469
- "type": [
15470
- "string"
15471
- ]
15705
+ "name": {
15706
+ "$ref": "#/definitions/identity-provider/definitions/name"
15707
+ },
15708
+ "owner": {
15709
+ "$ref": "#/definitions/identity-provider/definitions/owner"
15472
15710
  }
15473
15711
  }
15474
15712
  },
@@ -16962,159 +17200,31 @@
16962
17200
  "$ref": "#/definitions/vpn-connection"
16963
17201
  },
16964
17202
  "title": "Info"
16965
- }
16966
- ]
16967
- },
16968
- "whitelisted-add-on-service": {
16969
- "description": "Entities that have been whitelisted to be used by an Team",
16970
- "$schema": "http://json-schema.org/draft-04/hyper-schema",
16971
- "stability": "prototype",
16972
- "strictProperties": true,
16973
- "title": "Heroku Platform API - Whitelisted Entity",
16974
- "type": [
16975
- "object"
16976
- ],
16977
- "definitions": {
16978
- "added_at": {
16979
- "description": "when the add-on service was whitelisted",
16980
- "example": "2012-01-01T12:00:00Z",
16981
- "format": "date-time",
16982
- "readOnly": true,
16983
- "type": [
16984
- "string"
16985
- ]
16986
- },
16987
- "added_by": {
16988
- "description": "the user which whitelisted the Add-on Service",
16989
- "properties": {
16990
- "email": {
16991
- "$ref": "#/definitions/account/definitions/email",
16992
- "type": [
16993
- "string",
16994
- "null"
16995
- ]
16996
- },
16997
- "id": {
16998
- "$ref": "#/definitions/account/definitions/id",
16999
- "type": [
17000
- "string",
17001
- "null"
17002
- ]
17003
- }
17004
- },
17005
- "readOnly": true,
17006
- "type": [
17007
- "object"
17008
- ]
17009
- },
17010
- "addon_service": {
17011
- "description": "the Add-on Service whitelisted for use",
17012
- "properties": {
17013
- "id": {
17014
- "$ref": "#/definitions/add-on-service/definitions/id"
17015
- },
17016
- "name": {
17017
- "$ref": "#/definitions/add-on-service/definitions/name"
17018
- },
17019
- "human_name": {
17020
- "$ref": "#/definitions/add-on-service/definitions/human_name"
17021
- }
17022
- },
17023
- "readOnly": true,
17024
- "type": [
17025
- "object"
17026
- ]
17027
- },
17028
- "id": {
17029
- "description": "unique identifier for this whitelisting entity",
17030
- "example": "01234567-89ab-cdef-0123-456789abcdef",
17031
- "format": "uuid",
17032
- "readOnly": true,
17033
- "type": [
17034
- "string"
17035
- ]
17036
- },
17037
- "identity": {
17038
- "anyOf": [
17039
- {
17040
- "$ref": "#/definitions/whitelisted-add-on-service/definitions/id"
17041
- },
17042
- {
17043
- "$ref": "#/definitions/add-on-service/definitions/name"
17044
- }
17045
- ]
17046
- }
17047
- },
17048
- "links": [
17049
- {
17050
- "description": "List all whitelisted Add-on Services for an Team",
17051
- "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/whitelisted-addon-services",
17052
- "method": "GET",
17053
- "rel": "instances",
17054
- "targetSchema": {
17055
- "items": {
17056
- "$ref": "#/definitions/whitelisted-add-on-service"
17057
- },
17058
- "type": [
17059
- "array"
17060
- ]
17061
- },
17062
- "title": "List By Team"
17063
17203
  },
17064
17204
  {
17065
- "description": "Whitelist an Add-on Service",
17066
- "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/whitelisted-addon-services",
17067
- "method": "POST",
17068
- "rel": "create",
17205
+ "description": "Update a VPN connection in a private space.",
17206
+ "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections/{(%23%2Fdefinitions%2Fvpn-connection%2Fdefinitions%2Fidentity)}",
17207
+ "rel": "update",
17069
17208
  "schema": {
17070
- "type": [
17071
- "object"
17072
- ],
17073
17209
  "properties": {
17074
- "addon_service": {
17075
- "description": "name of the Add-on to whitelist",
17076
- "example": "heroku-postgresql",
17077
- "type": [
17078
- "string"
17079
- ]
17210
+ "routable_cidrs": {
17211
+ "$ref": "#/definitions/vpn-connection/definitions/routable_cidrs"
17080
17212
  }
17081
- }
17082
- },
17083
- "targetSchema": {
17084
- "items": {
17085
- "$ref": "#/definitions/whitelisted-add-on-service"
17086
17213
  },
17214
+ "required": [
17215
+ "routable_cidrs"
17216
+ ],
17087
17217
  "type": [
17088
- "array"
17218
+ "object"
17089
17219
  ]
17090
17220
  },
17091
- "title": "Create By Team"
17092
- },
17093
- {
17094
- "description": "Remove a whitelisted entity",
17095
- "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/whitelisted-addon-services/{(%23%2Fdefinitions%2Fwhitelisted-add-on-service%2Fdefinitions%2Fidentity)}",
17096
- "method": "DELETE",
17097
- "rel": "destroy",
17098
17221
  "targetSchema": {
17099
- "$ref": "#/definitions/whitelisted-add-on-service"
17222
+ "$ref": "#/definitions/vpn-connection"
17100
17223
  },
17101
- "title": "Delete By Team"
17102
- }
17103
- ],
17104
- "properties": {
17105
- "added_at": {
17106
- "$ref": "#/definitions/whitelisted-add-on-service/definitions/added_at"
17107
- },
17108
- "added_by": {
17109
- "$ref": "#/definitions/whitelisted-add-on-service/definitions/added_by"
17110
- },
17111
- "addon_service": {
17112
- "$ref": "#/definitions/whitelisted-add-on-service/definitions/addon_service"
17113
- },
17114
- "id": {
17115
- "$ref": "#/definitions/whitelisted-add-on-service/definitions/id"
17224
+ "method": "PATCH",
17225
+ "title": "Update"
17116
17226
  }
17117
- }
17227
+ ]
17118
17228
  }
17119
17229
  },
17120
17230
  "properties": {
@@ -17154,6 +17264,9 @@
17154
17264
  "add-on": {
17155
17265
  "$ref": "#/definitions/add-on"
17156
17266
  },
17267
+ "allowed-add-on-service": {
17268
+ "$ref": "#/definitions/allowed-add-on-service"
17269
+ },
17157
17270
  "app-feature": {
17158
17271
  "$ref": "#/definitions/app-feature"
17159
17272
  },
@@ -17208,14 +17321,14 @@
17208
17321
  "dyno": {
17209
17322
  "$ref": "#/definitions/dyno"
17210
17323
  },
17324
+ "enterprise-account-daily-usage": {
17325
+ "$ref": "#/definitions/enterprise-account-daily-usage"
17326
+ },
17211
17327
  "enterprise-account-member": {
17212
17328
  "$ref": "#/definitions/enterprise-account-member"
17213
17329
  },
17214
- "enterprise-account-usage-daily": {
17215
- "$ref": "#/definitions/enterprise-account-usage-daily"
17216
- },
17217
- "enterprise-account-usage-monthly": {
17218
- "$ref": "#/definitions/enterprise-account-usage-monthly"
17330
+ "enterprise-account-monthly-usage": {
17331
+ "$ref": "#/definitions/enterprise-account-monthly-usage"
17219
17332
  },
17220
17333
  "enterprise-account": {
17221
17334
  "$ref": "#/definitions/enterprise-account"
@@ -17349,9 +17462,6 @@
17349
17462
  "space": {
17350
17463
  "$ref": "#/definitions/space"
17351
17464
  },
17352
- "ssl-endpoint": {
17353
- "$ref": "#/definitions/ssl-endpoint"
17354
- },
17355
17465
  "stack": {
17356
17466
  "$ref": "#/definitions/stack"
17357
17467
  },
@@ -17367,6 +17477,9 @@
17367
17477
  "team-app": {
17368
17478
  "$ref": "#/definitions/team-app"
17369
17479
  },
17480
+ "team-daily-usage": {
17481
+ "$ref": "#/definitions/team-daily-usage"
17482
+ },
17370
17483
  "team-feature": {
17371
17484
  "$ref": "#/definitions/team-feature"
17372
17485
  },
@@ -17379,18 +17492,15 @@
17379
17492
  "team-member": {
17380
17493
  "$ref": "#/definitions/team-member"
17381
17494
  },
17495
+ "team-monthly-usage": {
17496
+ "$ref": "#/definitions/team-monthly-usage"
17497
+ },
17382
17498
  "team-preferences": {
17383
17499
  "$ref": "#/definitions/team-preferences"
17384
17500
  },
17385
17501
  "team-space": {
17386
17502
  "$ref": "#/definitions/team-space"
17387
17503
  },
17388
- "team-usage-daily": {
17389
- "$ref": "#/definitions/team-usage-daily"
17390
- },
17391
- "team-usage-monthly": {
17392
- "$ref": "#/definitions/team-usage-monthly"
17393
- },
17394
17504
  "team": {
17395
17505
  "$ref": "#/definitions/team"
17396
17506
  },
@@ -17408,9 +17518,6 @@
17408
17518
  },
17409
17519
  "vpn-connection": {
17410
17520
  "$ref": "#/definitions/vpn-connection"
17411
- },
17412
- "whitelisted-add-on-service": {
17413
- "$ref": "#/definitions/whitelisted-add-on-service"
17414
17521
  }
17415
17522
  },
17416
17523
  "description": "The platform API empowers developers to automate, extend and combine Heroku with other services.",