platform-api 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/lib/platform-api/schema.json +621 -8
- data/lib/platform-api/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aad4c07d28820ad4465208a27de3c6327b311850
|
|
4
|
+
data.tar.gz: 9b490f8772f41b9b08e7eaa11826bbff20a1db6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cd33ad3ca2359bfc6cb925ea70be257f2ba4fe371b01a75f7a59c653c2226065313708fef89ef9ed27f033c62d7ec6d20cba8639a83e8803acea9e871e125c4
|
|
7
|
+
data.tar.gz: 6e1021dc31f5a50cf4e3d1931a8a47f2b48856c9d049f8d2595dc5f6488498e1d8f66ae28b3942e27b0402287369941aa473c334f45fb3effdb7c5c5906891f9
|
data/Gemfile.lock
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
platform-api (0.0.
|
|
5
|
-
heroics
|
|
4
|
+
platform-api (0.0.7)
|
|
5
|
+
heroics (~> 0.0.5)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
excon (0.32.
|
|
11
|
-
heroics (0.0.
|
|
10
|
+
excon (0.32.1)
|
|
11
|
+
heroics (0.0.6)
|
|
12
12
|
excon
|
|
13
13
|
moneta
|
|
14
14
|
multi_json
|
|
15
15
|
netrc
|
|
16
16
|
moneta (0.7.20)
|
|
17
|
-
multi_json (1.9.
|
|
17
|
+
multi_json (1.9.2)
|
|
18
18
|
netrc (0.7.7)
|
|
19
|
-
rake (10.
|
|
19
|
+
rake (10.2.2)
|
|
20
20
|
|
|
21
21
|
PLATFORMS
|
|
22
22
|
ruby
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"enabled": {
|
|
40
40
|
"description": "whether or not account feature has been enabled",
|
|
41
41
|
"example": true,
|
|
42
|
+
"readOnly": false,
|
|
42
43
|
"type": [
|
|
43
44
|
"boolean"
|
|
44
45
|
]
|
|
@@ -116,6 +117,9 @@
|
|
|
116
117
|
},
|
|
117
118
|
"required": [
|
|
118
119
|
"enabled"
|
|
120
|
+
],
|
|
121
|
+
"type": [
|
|
122
|
+
"object"
|
|
119
123
|
]
|
|
120
124
|
},
|
|
121
125
|
"title": "Update"
|
|
@@ -162,6 +166,7 @@
|
|
|
162
166
|
"default": true,
|
|
163
167
|
"description": "whether to allow third party web activity tracking",
|
|
164
168
|
"example": true,
|
|
169
|
+
"readOnly": false,
|
|
165
170
|
"type": [
|
|
166
171
|
"boolean"
|
|
167
172
|
]
|
|
@@ -170,6 +175,7 @@
|
|
|
170
175
|
"default": false,
|
|
171
176
|
"description": "whether allowed to utilize beta Heroku features",
|
|
172
177
|
"example": false,
|
|
178
|
+
"readOnly": false,
|
|
173
179
|
"type": [
|
|
174
180
|
"boolean"
|
|
175
181
|
]
|
|
@@ -187,6 +193,7 @@
|
|
|
187
193
|
"description": "unique email address of account",
|
|
188
194
|
"example": "username@example.com",
|
|
189
195
|
"format": "email",
|
|
196
|
+
"readOnly": false,
|
|
190
197
|
"type": [
|
|
191
198
|
"string"
|
|
192
199
|
]
|
|
@@ -256,6 +263,7 @@
|
|
|
256
263
|
"default": false,
|
|
257
264
|
"description": "whether account has been verified with billing information",
|
|
258
265
|
"example": false,
|
|
266
|
+
"readOnly": true,
|
|
259
267
|
"type": [
|
|
260
268
|
"boolean"
|
|
261
269
|
]
|
|
@@ -291,6 +299,9 @@
|
|
|
291
299
|
},
|
|
292
300
|
"required": [
|
|
293
301
|
"password"
|
|
302
|
+
],
|
|
303
|
+
"type": [
|
|
304
|
+
"object"
|
|
294
305
|
]
|
|
295
306
|
},
|
|
296
307
|
"title": "Update"
|
|
@@ -312,6 +323,9 @@
|
|
|
312
323
|
"required": [
|
|
313
324
|
"password",
|
|
314
325
|
"email"
|
|
326
|
+
],
|
|
327
|
+
"type": [
|
|
328
|
+
"object"
|
|
315
329
|
]
|
|
316
330
|
},
|
|
317
331
|
"title": "Change Email"
|
|
@@ -333,6 +347,9 @@
|
|
|
333
347
|
"required": [
|
|
334
348
|
"new_password",
|
|
335
349
|
"password"
|
|
350
|
+
],
|
|
351
|
+
"type": [
|
|
352
|
+
"object"
|
|
336
353
|
]
|
|
337
354
|
},
|
|
338
355
|
"title": "Change Password"
|
|
@@ -508,6 +525,7 @@
|
|
|
508
525
|
"description": "name of the add-on unique within its app",
|
|
509
526
|
"example": "heroku-postgresql-teal",
|
|
510
527
|
"pattern": "^[a-z][a-z0-9-]+$",
|
|
528
|
+
"readOnly": true,
|
|
511
529
|
"type": [
|
|
512
530
|
"string"
|
|
513
531
|
]
|
|
@@ -515,6 +533,7 @@
|
|
|
515
533
|
"provider_id": {
|
|
516
534
|
"description": "id of this add-on with its provider",
|
|
517
535
|
"example": "app123@heroku.com",
|
|
536
|
+
"readOnly": true,
|
|
518
537
|
"type": [
|
|
519
538
|
"string"
|
|
520
539
|
]
|
|
@@ -560,6 +579,9 @@
|
|
|
560
579
|
},
|
|
561
580
|
"required": [
|
|
562
581
|
"plan"
|
|
582
|
+
],
|
|
583
|
+
"type": [
|
|
584
|
+
"object"
|
|
563
585
|
]
|
|
564
586
|
},
|
|
565
587
|
"title": "Create"
|
|
@@ -586,7 +608,7 @@
|
|
|
586
608
|
"title": "List"
|
|
587
609
|
},
|
|
588
610
|
{
|
|
589
|
-
"description": "
|
|
611
|
+
"description": "Change add-on plan. Some add-ons may not support changing plans. In that case, an error will be returned.",
|
|
590
612
|
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/addons/{(%23%2Fdefinitions%2Faddon%2Fdefinitions%2Fidentity)}",
|
|
591
613
|
"method": "PATCH",
|
|
592
614
|
"rel": "update",
|
|
@@ -598,6 +620,9 @@
|
|
|
598
620
|
},
|
|
599
621
|
"required": [
|
|
600
622
|
"plan"
|
|
623
|
+
],
|
|
624
|
+
"type": [
|
|
625
|
+
"object"
|
|
601
626
|
]
|
|
602
627
|
},
|
|
603
628
|
"title": "Update"
|
|
@@ -676,6 +701,7 @@
|
|
|
676
701
|
"enabled": {
|
|
677
702
|
"description": "whether or not app feature has been enabled",
|
|
678
703
|
"example": true,
|
|
704
|
+
"readOnly": false,
|
|
679
705
|
"type": [
|
|
680
706
|
"boolean"
|
|
681
707
|
]
|
|
@@ -753,6 +779,9 @@
|
|
|
753
779
|
},
|
|
754
780
|
"required": [
|
|
755
781
|
"enabled"
|
|
782
|
+
],
|
|
783
|
+
"type": [
|
|
784
|
+
"object"
|
|
756
785
|
]
|
|
757
786
|
},
|
|
758
787
|
"title": "Update"
|
|
@@ -831,6 +860,7 @@
|
|
|
831
860
|
"declined"
|
|
832
861
|
],
|
|
833
862
|
"example": "pending",
|
|
863
|
+
"readOnly": true,
|
|
834
864
|
"type": [
|
|
835
865
|
"string"
|
|
836
866
|
]
|
|
@@ -863,6 +893,9 @@
|
|
|
863
893
|
"required": [
|
|
864
894
|
"app",
|
|
865
895
|
"recipient"
|
|
896
|
+
],
|
|
897
|
+
"type": [
|
|
898
|
+
"object"
|
|
866
899
|
]
|
|
867
900
|
},
|
|
868
901
|
"title": "Create"
|
|
@@ -901,6 +934,9 @@
|
|
|
901
934
|
},
|
|
902
935
|
"required": [
|
|
903
936
|
"state"
|
|
937
|
+
],
|
|
938
|
+
"type": [
|
|
939
|
+
"object"
|
|
904
940
|
]
|
|
905
941
|
},
|
|
906
942
|
"title": "Update"
|
|
@@ -1034,6 +1070,7 @@
|
|
|
1034
1070
|
"default": false,
|
|
1035
1071
|
"description": "maintenance status of app",
|
|
1036
1072
|
"example": false,
|
|
1073
|
+
"readOnly": false,
|
|
1037
1074
|
"type": [
|
|
1038
1075
|
"boolean"
|
|
1039
1076
|
]
|
|
@@ -1042,6 +1079,7 @@
|
|
|
1042
1079
|
"description": "unique name of app",
|
|
1043
1080
|
"example": "example",
|
|
1044
1081
|
"pattern": "^[a-z][a-z0-9-]{3,30}$",
|
|
1082
|
+
"readOnly": false,
|
|
1045
1083
|
"type": [
|
|
1046
1084
|
"string"
|
|
1047
1085
|
]
|
|
@@ -1114,7 +1152,10 @@
|
|
|
1114
1152
|
"stack": {
|
|
1115
1153
|
"$ref": "#/definitions/stack/definitions/identity"
|
|
1116
1154
|
}
|
|
1117
|
-
}
|
|
1155
|
+
},
|
|
1156
|
+
"type": [
|
|
1157
|
+
"object"
|
|
1158
|
+
]
|
|
1118
1159
|
},
|
|
1119
1160
|
"title": "Create"
|
|
1120
1161
|
},
|
|
@@ -1152,7 +1193,10 @@
|
|
|
1152
1193
|
"name": {
|
|
1153
1194
|
"$ref": "#/definitions/app/definitions/name"
|
|
1154
1195
|
}
|
|
1155
|
-
}
|
|
1196
|
+
},
|
|
1197
|
+
"type": [
|
|
1198
|
+
"object"
|
|
1199
|
+
]
|
|
1156
1200
|
},
|
|
1157
1201
|
"title": "Update"
|
|
1158
1202
|
}
|
|
@@ -1261,6 +1305,7 @@
|
|
|
1261
1305
|
"description": "invited email address of collaborator",
|
|
1262
1306
|
"example": "collaborator@example.com",
|
|
1263
1307
|
"format": "email",
|
|
1308
|
+
"readOnly": false,
|
|
1264
1309
|
"type": [
|
|
1265
1310
|
"string"
|
|
1266
1311
|
]
|
|
@@ -1288,6 +1333,7 @@
|
|
|
1288
1333
|
"default": false,
|
|
1289
1334
|
"description": "whether to suppress email invitation when creating collaborator",
|
|
1290
1335
|
"example": false,
|
|
1336
|
+
"readOnly": false,
|
|
1291
1337
|
"type": [
|
|
1292
1338
|
"boolean"
|
|
1293
1339
|
]
|
|
@@ -1319,6 +1365,9 @@
|
|
|
1319
1365
|
},
|
|
1320
1366
|
"required": [
|
|
1321
1367
|
"user"
|
|
1368
|
+
],
|
|
1369
|
+
"type": [
|
|
1370
|
+
"object"
|
|
1322
1371
|
]
|
|
1323
1372
|
},
|
|
1324
1373
|
"title": "Create"
|
|
@@ -1500,6 +1549,9 @@
|
|
|
1500
1549
|
},
|
|
1501
1550
|
"required": [
|
|
1502
1551
|
"hostname"
|
|
1552
|
+
],
|
|
1553
|
+
"type": [
|
|
1554
|
+
"object"
|
|
1503
1555
|
]
|
|
1504
1556
|
},
|
|
1505
1557
|
"title": "Create"
|
|
@@ -1554,6 +1606,7 @@
|
|
|
1554
1606
|
"attach": {
|
|
1555
1607
|
"description": "whether to stream output or not",
|
|
1556
1608
|
"example": true,
|
|
1609
|
+
"readOnly": false,
|
|
1557
1610
|
"type": [
|
|
1558
1611
|
"boolean"
|
|
1559
1612
|
]
|
|
@@ -1561,6 +1614,7 @@
|
|
|
1561
1614
|
"attach_url": {
|
|
1562
1615
|
"description": "a URL to stream output from for attached processes or null for non-attached processes",
|
|
1563
1616
|
"example": "rendezvous://rendezvous.runtime.heroku.com:5000/{rendezvous-id}",
|
|
1617
|
+
"readOnly": true,
|
|
1564
1618
|
"type": [
|
|
1565
1619
|
"string",
|
|
1566
1620
|
"null"
|
|
@@ -1569,6 +1623,7 @@
|
|
|
1569
1623
|
"command": {
|
|
1570
1624
|
"description": "command used to start this process",
|
|
1571
1625
|
"example": "bash",
|
|
1626
|
+
"readOnly": false,
|
|
1572
1627
|
"type": [
|
|
1573
1628
|
"string"
|
|
1574
1629
|
]
|
|
@@ -1596,6 +1651,7 @@
|
|
|
1596
1651
|
]
|
|
1597
1652
|
}
|
|
1598
1653
|
},
|
|
1654
|
+
"readOnly": false,
|
|
1599
1655
|
"type": [
|
|
1600
1656
|
"object"
|
|
1601
1657
|
]
|
|
@@ -1630,6 +1686,7 @@
|
|
|
1630
1686
|
"size": {
|
|
1631
1687
|
"description": "dyno size (default: \"1X\")",
|
|
1632
1688
|
"example": "1X",
|
|
1689
|
+
"readOnly": false,
|
|
1633
1690
|
"type": [
|
|
1634
1691
|
"string"
|
|
1635
1692
|
]
|
|
@@ -1683,6 +1740,9 @@
|
|
|
1683
1740
|
},
|
|
1684
1741
|
"required": [
|
|
1685
1742
|
"command"
|
|
1743
|
+
],
|
|
1744
|
+
"type": [
|
|
1745
|
+
"object"
|
|
1686
1746
|
]
|
|
1687
1747
|
},
|
|
1688
1748
|
"title": "Create"
|
|
@@ -1773,6 +1833,7 @@
|
|
|
1773
1833
|
"command": {
|
|
1774
1834
|
"description": "command to use to launch this process",
|
|
1775
1835
|
"example": "bundle exec rails server -p $PORT",
|
|
1836
|
+
"readOnly": false,
|
|
1776
1837
|
"type": [
|
|
1777
1838
|
"string"
|
|
1778
1839
|
]
|
|
@@ -1808,6 +1869,7 @@
|
|
|
1808
1869
|
"quantity": {
|
|
1809
1870
|
"description": "number of processes to maintain",
|
|
1810
1871
|
"example": 1,
|
|
1872
|
+
"readOnly": false,
|
|
1811
1873
|
"type": [
|
|
1812
1874
|
"integer"
|
|
1813
1875
|
]
|
|
@@ -1815,6 +1877,7 @@
|
|
|
1815
1877
|
"size": {
|
|
1816
1878
|
"description": "dyno size (default: \"1X\")",
|
|
1817
1879
|
"example": "1X",
|
|
1880
|
+
"readOnly": false,
|
|
1818
1881
|
"type": [
|
|
1819
1882
|
"string"
|
|
1820
1883
|
]
|
|
@@ -1838,6 +1901,7 @@
|
|
|
1838
1901
|
},
|
|
1839
1902
|
"update": {
|
|
1840
1903
|
"additionalProperties": false,
|
|
1904
|
+
"description": "Properties to update a process type",
|
|
1841
1905
|
"properties": {
|
|
1842
1906
|
"process": {
|
|
1843
1907
|
"$ref": "#/definitions/formation/definitions/identity"
|
|
@@ -1849,6 +1913,7 @@
|
|
|
1849
1913
|
"$ref": "#/definitions/formation/definitions/size"
|
|
1850
1914
|
}
|
|
1851
1915
|
},
|
|
1916
|
+
"readOnly": false,
|
|
1852
1917
|
"required": [
|
|
1853
1918
|
"process"
|
|
1854
1919
|
],
|
|
@@ -1900,6 +1965,9 @@
|
|
|
1900
1965
|
},
|
|
1901
1966
|
"required": [
|
|
1902
1967
|
"updates"
|
|
1968
|
+
],
|
|
1969
|
+
"type": [
|
|
1970
|
+
"object"
|
|
1903
1971
|
]
|
|
1904
1972
|
},
|
|
1905
1973
|
"title": "Batch update"
|
|
@@ -1917,9 +1985,15 @@
|
|
|
1917
1985
|
"size": {
|
|
1918
1986
|
"$ref": "#/definitions/formation/definitions/size"
|
|
1919
1987
|
}
|
|
1920
|
-
}
|
|
1988
|
+
},
|
|
1989
|
+
"type": [
|
|
1990
|
+
"object"
|
|
1991
|
+
]
|
|
1921
1992
|
},
|
|
1922
|
-
"title": "Update"
|
|
1993
|
+
"title": "Update",
|
|
1994
|
+
"type": [
|
|
1995
|
+
"object"
|
|
1996
|
+
]
|
|
1923
1997
|
}
|
|
1924
1998
|
],
|
|
1925
1999
|
"properties": {
|
|
@@ -2033,6 +2107,9 @@
|
|
|
2033
2107
|
},
|
|
2034
2108
|
"required": [
|
|
2035
2109
|
"public_key"
|
|
2110
|
+
],
|
|
2111
|
+
"type": [
|
|
2112
|
+
"object"
|
|
2036
2113
|
]
|
|
2037
2114
|
},
|
|
2038
2115
|
"title": "Create"
|
|
@@ -2098,6 +2175,7 @@
|
|
|
2098
2175
|
"$ref": "#/definitions/addon/definitions/id"
|
|
2099
2176
|
}
|
|
2100
2177
|
},
|
|
2178
|
+
"readOnly": true,
|
|
2101
2179
|
"type": [
|
|
2102
2180
|
"object",
|
|
2103
2181
|
"null"
|
|
@@ -2116,6 +2194,7 @@
|
|
|
2116
2194
|
"description": "unique identifier of this log drain",
|
|
2117
2195
|
"example": "01234567-89ab-cdef-0123-456789abcdef",
|
|
2118
2196
|
"format": "uuid",
|
|
2197
|
+
"readOnly": true,
|
|
2119
2198
|
"type": [
|
|
2120
2199
|
"string"
|
|
2121
2200
|
]
|
|
@@ -2133,6 +2212,7 @@
|
|
|
2133
2212
|
"token": {
|
|
2134
2213
|
"description": "token associated with the log drain",
|
|
2135
2214
|
"example": "d.01234567-89ab-cdef-0123-456789abcdef",
|
|
2215
|
+
"readOnly": true,
|
|
2136
2216
|
"type": [
|
|
2137
2217
|
"string"
|
|
2138
2218
|
]
|
|
@@ -2149,6 +2229,7 @@
|
|
|
2149
2229
|
"url": {
|
|
2150
2230
|
"description": "url associated with the log drain",
|
|
2151
2231
|
"example": "https://example.com/drain",
|
|
2232
|
+
"readOnly": true,
|
|
2152
2233
|
"type": [
|
|
2153
2234
|
"string"
|
|
2154
2235
|
]
|
|
@@ -2168,6 +2249,9 @@
|
|
|
2168
2249
|
},
|
|
2169
2250
|
"required": [
|
|
2170
2251
|
"url"
|
|
2252
|
+
],
|
|
2253
|
+
"type": [
|
|
2254
|
+
"object"
|
|
2171
2255
|
]
|
|
2172
2256
|
},
|
|
2173
2257
|
"title": "Create"
|
|
@@ -2237,6 +2321,7 @@
|
|
|
2237
2321
|
"dyno": {
|
|
2238
2322
|
"description": "dyno to limit results to",
|
|
2239
2323
|
"example": "web.1",
|
|
2324
|
+
"readOnly": false,
|
|
2240
2325
|
"type": [
|
|
2241
2326
|
"string"
|
|
2242
2327
|
]
|
|
@@ -2245,6 +2330,7 @@
|
|
|
2245
2330
|
"description": "unique identifier of this log session",
|
|
2246
2331
|
"example": "01234567-89ab-cdef-0123-456789abcdef",
|
|
2247
2332
|
"format": "uuid",
|
|
2333
|
+
"readOnly": true,
|
|
2248
2334
|
"type": [
|
|
2249
2335
|
"string"
|
|
2250
2336
|
]
|
|
@@ -2259,6 +2345,7 @@
|
|
|
2259
2345
|
"lines": {
|
|
2260
2346
|
"description": "number of log lines to stream at once",
|
|
2261
2347
|
"example": 10,
|
|
2348
|
+
"readOnly": false,
|
|
2262
2349
|
"type": [
|
|
2263
2350
|
"integer"
|
|
2264
2351
|
]
|
|
@@ -2274,6 +2361,7 @@
|
|
|
2274
2361
|
"source": {
|
|
2275
2362
|
"description": "log source to limit results to",
|
|
2276
2363
|
"example": "app",
|
|
2364
|
+
"readOnly": false,
|
|
2277
2365
|
"type": [
|
|
2278
2366
|
"string"
|
|
2279
2367
|
]
|
|
@@ -2281,6 +2369,7 @@
|
|
|
2281
2369
|
"tail": {
|
|
2282
2370
|
"description": "whether to stream ongoing logs",
|
|
2283
2371
|
"example": true,
|
|
2372
|
+
"readOnly": false,
|
|
2284
2373
|
"type": [
|
|
2285
2374
|
"boolean"
|
|
2286
2375
|
]
|
|
@@ -2315,7 +2404,10 @@
|
|
|
2315
2404
|
"tail": {
|
|
2316
2405
|
"$ref": "#/definitions/log-session/definitions/tail"
|
|
2317
2406
|
}
|
|
2318
|
-
}
|
|
2407
|
+
},
|
|
2408
|
+
"type": [
|
|
2409
|
+
"object"
|
|
2410
|
+
]
|
|
2319
2411
|
},
|
|
2320
2412
|
"title": "Create"
|
|
2321
2413
|
}
|
|
@@ -2424,6 +2516,9 @@
|
|
|
2424
2516
|
},
|
|
2425
2517
|
"required": [
|
|
2426
2518
|
"scope"
|
|
2519
|
+
],
|
|
2520
|
+
"type": [
|
|
2521
|
+
"object"
|
|
2427
2522
|
]
|
|
2428
2523
|
},
|
|
2429
2524
|
"title": "Create"
|
|
@@ -2633,6 +2728,9 @@
|
|
|
2633
2728
|
"required": [
|
|
2634
2729
|
"name",
|
|
2635
2730
|
"redirect_uri"
|
|
2731
|
+
],
|
|
2732
|
+
"type": [
|
|
2733
|
+
"object"
|
|
2636
2734
|
]
|
|
2637
2735
|
},
|
|
2638
2736
|
"title": "Create"
|
|
@@ -2671,7 +2769,10 @@
|
|
|
2671
2769
|
"redirect_uri": {
|
|
2672
2770
|
"$ref": "#/definitions/oauth-client/definitions/redirect_uri"
|
|
2673
2771
|
}
|
|
2674
|
-
}
|
|
2772
|
+
},
|
|
2773
|
+
"type": [
|
|
2774
|
+
"object"
|
|
2775
|
+
]
|
|
2675
2776
|
},
|
|
2676
2777
|
"title": "Update"
|
|
2677
2778
|
}
|
|
@@ -2735,6 +2836,13 @@
|
|
|
2735
2836
|
"string"
|
|
2736
2837
|
]
|
|
2737
2838
|
},
|
|
2839
|
+
"identity": {
|
|
2840
|
+
"anyOf": [
|
|
2841
|
+
{
|
|
2842
|
+
"$ref": "#/definitions/oauth-grant/definitions/id"
|
|
2843
|
+
}
|
|
2844
|
+
]
|
|
2845
|
+
},
|
|
2738
2846
|
"type": {
|
|
2739
2847
|
"description": "type of grant requested, one of `authorization_code` or `refresh_token`",
|
|
2740
2848
|
"example": "authorization_code",
|
|
@@ -2857,6 +2965,9 @@
|
|
|
2857
2965
|
"grant",
|
|
2858
2966
|
"client",
|
|
2859
2967
|
"refresh_token"
|
|
2968
|
+
],
|
|
2969
|
+
"type": [
|
|
2970
|
+
"object"
|
|
2860
2971
|
]
|
|
2861
2972
|
},
|
|
2862
2973
|
"title": "Create"
|
|
@@ -2967,6 +3078,459 @@
|
|
|
2967
3078
|
}
|
|
2968
3079
|
}
|
|
2969
3080
|
},
|
|
3081
|
+
"organization-app": {
|
|
3082
|
+
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
3083
|
+
"description": "OrganizationApp encapsulates the orgs specific functionality on heroku apps",
|
|
3084
|
+
"title": "Heroku Platform API - Organization App",
|
|
3085
|
+
"type": [
|
|
3086
|
+
"object"
|
|
3087
|
+
],
|
|
3088
|
+
"definitions": {
|
|
3089
|
+
"locked": {
|
|
3090
|
+
"default": false,
|
|
3091
|
+
"description": "are other organization members forbidden from joining this app.",
|
|
3092
|
+
"example": false,
|
|
3093
|
+
"type": [
|
|
3094
|
+
"boolean"
|
|
3095
|
+
]
|
|
3096
|
+
},
|
|
3097
|
+
"joined": {
|
|
3098
|
+
"default": false,
|
|
3099
|
+
"description": "is the current member a collaborator on this app.",
|
|
3100
|
+
"example": false,
|
|
3101
|
+
"type": [
|
|
3102
|
+
"boolean"
|
|
3103
|
+
]
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
"links": [
|
|
3107
|
+
{
|
|
3108
|
+
"description": "Create a new organization app.",
|
|
3109
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/apps",
|
|
3110
|
+
"method": "POST",
|
|
3111
|
+
"rel": "create",
|
|
3112
|
+
"schema": {
|
|
3113
|
+
"properties": {
|
|
3114
|
+
"locked": {
|
|
3115
|
+
"$ref": "#/definitions/organization-app/definitions/locked"
|
|
3116
|
+
},
|
|
3117
|
+
"name": {
|
|
3118
|
+
"$ref": "#/definitions/app/definitions/name"
|
|
3119
|
+
},
|
|
3120
|
+
"region": {
|
|
3121
|
+
"$ref": "#/definitions/region/definitions/identity"
|
|
3122
|
+
},
|
|
3123
|
+
"stack": {
|
|
3124
|
+
"$ref": "#/definitions/stack/definitions/identity"
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"title": "Create"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"description": "List existing organization-app.",
|
|
3132
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/apps",
|
|
3133
|
+
"method": "GET",
|
|
3134
|
+
"rel": "instances",
|
|
3135
|
+
"title": "List"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"description": "Update locked.",
|
|
3139
|
+
"href": "/organizations/apps/{(%2Fschema%app%23%2Fdefinitions%2Fidentity)}",
|
|
3140
|
+
"method": "PATCH",
|
|
3141
|
+
"rel": "update",
|
|
3142
|
+
"schema": {
|
|
3143
|
+
"properties": {
|
|
3144
|
+
"locked": {
|
|
3145
|
+
"$ref": "#/definitions/organization-app/definitions/locked"
|
|
3146
|
+
}
|
|
3147
|
+
},
|
|
3148
|
+
"type": [
|
|
3149
|
+
"object"
|
|
3150
|
+
]
|
|
3151
|
+
},
|
|
3152
|
+
"title": "Update Locked"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"description": "Transfer an existing organization app.",
|
|
3156
|
+
"href": "/organizations/apps/{(%2Fschema%app%23%2Fdefinitions%2Fidentity)}",
|
|
3157
|
+
"method": "PATCH",
|
|
3158
|
+
"rel": "update",
|
|
3159
|
+
"schema": {
|
|
3160
|
+
"properties": {
|
|
3161
|
+
"owner": {
|
|
3162
|
+
"$ref": "#/definitions/account/definitions/identity"
|
|
3163
|
+
}
|
|
3164
|
+
},
|
|
3165
|
+
"type": [
|
|
3166
|
+
"object"
|
|
3167
|
+
]
|
|
3168
|
+
},
|
|
3169
|
+
"title": "Update"
|
|
3170
|
+
}
|
|
3171
|
+
],
|
|
3172
|
+
"properties": {
|
|
3173
|
+
"archived_at": {
|
|
3174
|
+
"$ref": "#/definitions/app/definitions/archived_at"
|
|
3175
|
+
},
|
|
3176
|
+
"buildpack_provided_description": {
|
|
3177
|
+
"$ref": "#/definitions/app/definitions/buildpack_provided_description"
|
|
3178
|
+
},
|
|
3179
|
+
"created_at": {
|
|
3180
|
+
"$ref": "#/definitions/app/definitions/created_at"
|
|
3181
|
+
},
|
|
3182
|
+
"git_url": {
|
|
3183
|
+
"$ref": "#/definitions/app/definitions/git_url"
|
|
3184
|
+
},
|
|
3185
|
+
"id": {
|
|
3186
|
+
"$ref": "#/definitions/app/definitions/id"
|
|
3187
|
+
},
|
|
3188
|
+
"maintenance": {
|
|
3189
|
+
"$ref": "#/definitions/app/definitions/maintenance"
|
|
3190
|
+
},
|
|
3191
|
+
"name": {
|
|
3192
|
+
"$ref": "#/definitions/app/definitions/name"
|
|
3193
|
+
},
|
|
3194
|
+
"owner": {
|
|
3195
|
+
"description": "identity of app owner",
|
|
3196
|
+
"properties": {
|
|
3197
|
+
"email": {
|
|
3198
|
+
"$ref": "#/definitions/account/definitions/email"
|
|
3199
|
+
},
|
|
3200
|
+
"id": {
|
|
3201
|
+
"$ref": "#/definitions/account/definitions/id"
|
|
3202
|
+
}
|
|
3203
|
+
},
|
|
3204
|
+
"type": [
|
|
3205
|
+
"object"
|
|
3206
|
+
]
|
|
3207
|
+
},
|
|
3208
|
+
"region": {
|
|
3209
|
+
"description": "identity of app region",
|
|
3210
|
+
"properties": {
|
|
3211
|
+
"id": {
|
|
3212
|
+
"$ref": "#/definitions/region/definitions/id"
|
|
3213
|
+
},
|
|
3214
|
+
"name": {
|
|
3215
|
+
"$ref": "#/definitions/region/definitions/name"
|
|
3216
|
+
}
|
|
3217
|
+
},
|
|
3218
|
+
"type": [
|
|
3219
|
+
"object"
|
|
3220
|
+
]
|
|
3221
|
+
},
|
|
3222
|
+
"released_at": {
|
|
3223
|
+
"$ref": "#/definitions/app/definitions/released_at"
|
|
3224
|
+
},
|
|
3225
|
+
"repo_size": {
|
|
3226
|
+
"$ref": "#/definitions/app/definitions/repo_size"
|
|
3227
|
+
},
|
|
3228
|
+
"slug_size": {
|
|
3229
|
+
"$ref": "#/definitions/app/definitions/slug_size"
|
|
3230
|
+
},
|
|
3231
|
+
"stack": {
|
|
3232
|
+
"description": "identity of app stack",
|
|
3233
|
+
"properties": {
|
|
3234
|
+
"id": {
|
|
3235
|
+
"$ref": "#/definitions/stack/definitions/id"
|
|
3236
|
+
},
|
|
3237
|
+
"name": {
|
|
3238
|
+
"$ref": "#/definitions/stack/definitions/name"
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
"type": [
|
|
3242
|
+
"object"
|
|
3243
|
+
]
|
|
3244
|
+
},
|
|
3245
|
+
"updated_at": {
|
|
3246
|
+
"$ref": "#/definitions/app/definitions/updated_at"
|
|
3247
|
+
},
|
|
3248
|
+
"web_url": {
|
|
3249
|
+
"$ref": "#/definitions/app/definitions/web_url"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
"id": "schema/organization-app"
|
|
3253
|
+
},
|
|
3254
|
+
"organization-collaborator": {
|
|
3255
|
+
"description": "An organization collaborator represents an account that has been given access to an organization app on Heroku.",
|
|
3256
|
+
"id": "schema/org-collaborator",
|
|
3257
|
+
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
3258
|
+
"stability": "development",
|
|
3259
|
+
"title": "Heroku Platform API - Organization Collaborator",
|
|
3260
|
+
"type": [
|
|
3261
|
+
"object"
|
|
3262
|
+
],
|
|
3263
|
+
"definitions": {
|
|
3264
|
+
},
|
|
3265
|
+
"links": [
|
|
3266
|
+
{
|
|
3267
|
+
"description": "Create a new collaborator.",
|
|
3268
|
+
"href": "/organizations/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/collaborators",
|
|
3269
|
+
"method": "POST",
|
|
3270
|
+
"rel": "create",
|
|
3271
|
+
"schema": {
|
|
3272
|
+
"properties": {
|
|
3273
|
+
"silent": {
|
|
3274
|
+
"$ref": "#/definitions/collaborator/definitions/silent"
|
|
3275
|
+
},
|
|
3276
|
+
"user": {
|
|
3277
|
+
"$ref": "#/definitions/account/definitions/identity"
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
"required": [
|
|
3281
|
+
"user"
|
|
3282
|
+
]
|
|
3283
|
+
},
|
|
3284
|
+
"title": "Create"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"description": "Delete an existing collaborator.",
|
|
3288
|
+
"href": "/organizations/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/collaborators/{(%23%2Fdefinitions%2Fcollaborator%2Fdefinitions%2Fidentity)}",
|
|
3289
|
+
"method": "DELETE",
|
|
3290
|
+
"rel": "destroy",
|
|
3291
|
+
"title": "Delete"
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"description": "Info for existing collaborator.",
|
|
3295
|
+
"href": "/organizations/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/collaborators/{(%23%2Fdefinitions%2Fcollaborator%2Fdefinitions%2Fidentity)}",
|
|
3296
|
+
"method": "GET",
|
|
3297
|
+
"rel": "self",
|
|
3298
|
+
"title": "Info"
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"description": "List existing collaborators.",
|
|
3302
|
+
"href": "/organizations/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/collaborators",
|
|
3303
|
+
"method": "GET",
|
|
3304
|
+
"rel": "instances",
|
|
3305
|
+
"title": "List"
|
|
3306
|
+
}
|
|
3307
|
+
],
|
|
3308
|
+
"properties": {
|
|
3309
|
+
"created_at": {
|
|
3310
|
+
"$ref": "#/definitions/collaborator/definitions/created_at"
|
|
3311
|
+
},
|
|
3312
|
+
"id": {
|
|
3313
|
+
"$ref": "#/definitions/collaborator/definitions/id"
|
|
3314
|
+
},
|
|
3315
|
+
"role": {
|
|
3316
|
+
"$ref": "#/definitions/organization/definitions/role"
|
|
3317
|
+
},
|
|
3318
|
+
"updated_at": {
|
|
3319
|
+
"$ref": "#/definitions/collaborator/definitions/updated_at"
|
|
3320
|
+
},
|
|
3321
|
+
"user": {
|
|
3322
|
+
"description": "identity of collaborated account",
|
|
3323
|
+
"properties": {
|
|
3324
|
+
"email": {
|
|
3325
|
+
"$ref": "#/definitions/account/definitions/email"
|
|
3326
|
+
},
|
|
3327
|
+
"id": {
|
|
3328
|
+
"$ref": "#/definitions/account/definitions/id"
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
"type": [
|
|
3332
|
+
"object"
|
|
3333
|
+
]
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
"organization-member": {
|
|
3338
|
+
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
3339
|
+
"description": "An organization member is an individual with access to an organization",
|
|
3340
|
+
"title": "Heroku Platform API - Organization Member",
|
|
3341
|
+
"type": [
|
|
3342
|
+
"object"
|
|
3343
|
+
],
|
|
3344
|
+
"definitions": {
|
|
3345
|
+
"created_at": {
|
|
3346
|
+
"description": "when organization-member was created",
|
|
3347
|
+
"example": "2012-01-01T12:00:00Z",
|
|
3348
|
+
"format": "date-time",
|
|
3349
|
+
"readOnly": true,
|
|
3350
|
+
"type": [
|
|
3351
|
+
"string"
|
|
3352
|
+
]
|
|
3353
|
+
},
|
|
3354
|
+
"email": {
|
|
3355
|
+
"description": "email address of the organization member",
|
|
3356
|
+
"example": "someone@example.org",
|
|
3357
|
+
"readOnly": true,
|
|
3358
|
+
"type": [
|
|
3359
|
+
"string"
|
|
3360
|
+
]
|
|
3361
|
+
},
|
|
3362
|
+
"identity": {
|
|
3363
|
+
"$ref": "#/definitions/organization-member/definitions/email"
|
|
3364
|
+
},
|
|
3365
|
+
"updated_at": {
|
|
3366
|
+
"description": "when organization-member was updated",
|
|
3367
|
+
"example": "2012-01-01T12:00:00Z",
|
|
3368
|
+
"format": "date-time",
|
|
3369
|
+
"readOnly": true,
|
|
3370
|
+
"type": [
|
|
3371
|
+
"string"
|
|
3372
|
+
]
|
|
3373
|
+
}
|
|
3374
|
+
},
|
|
3375
|
+
"links": [
|
|
3376
|
+
{
|
|
3377
|
+
"description": "Create a new organization member, or update their role.",
|
|
3378
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/members",
|
|
3379
|
+
"method": "PUT",
|
|
3380
|
+
"rel": "create",
|
|
3381
|
+
"schema": {
|
|
3382
|
+
"properties": {
|
|
3383
|
+
"email": {
|
|
3384
|
+
"$ref": "#/definitions/organization-member/definitions/email"
|
|
3385
|
+
},
|
|
3386
|
+
"role": {
|
|
3387
|
+
"$ref": "#/definitions/organization/definitions/role"
|
|
3388
|
+
}
|
|
3389
|
+
},
|
|
3390
|
+
"type": [
|
|
3391
|
+
"object"
|
|
3392
|
+
]
|
|
3393
|
+
},
|
|
3394
|
+
"title": "Create or Update"
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"description": "Delete an existing organization-member.",
|
|
3398
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/members/{(%23%2Fdefinitions%2Forganization-member%2Fdefinitions%2Fidentity)}",
|
|
3399
|
+
"method": "DELETE",
|
|
3400
|
+
"rel": "destroy",
|
|
3401
|
+
"title": "Delete"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"description": "List existing organization-members.",
|
|
3405
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/members",
|
|
3406
|
+
"method": "GET",
|
|
3407
|
+
"rel": "instances",
|
|
3408
|
+
"title": "List"
|
|
3409
|
+
}
|
|
3410
|
+
],
|
|
3411
|
+
"properties": {
|
|
3412
|
+
"created_at": {
|
|
3413
|
+
"$ref": "#/definitions/organization-member/definitions/created_at"
|
|
3414
|
+
},
|
|
3415
|
+
"email": {
|
|
3416
|
+
"$ref": "#/definitions/organization-member/definitions/email"
|
|
3417
|
+
},
|
|
3418
|
+
"role": {
|
|
3419
|
+
"$ref": "#/definitions/organization/definitions/role"
|
|
3420
|
+
},
|
|
3421
|
+
"updated_at": {
|
|
3422
|
+
"$ref": "#/definitions/organization-member/definitions/updated_at"
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
"id": "schema/organization-member"
|
|
3426
|
+
},
|
|
3427
|
+
"organization": {
|
|
3428
|
+
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
3429
|
+
"description": "Organizations allow you to manage access to a shared group of applications across your development team.",
|
|
3430
|
+
"id": "schema/organization",
|
|
3431
|
+
"stability": "prototype",
|
|
3432
|
+
"title": "Heroku Platform API - Organization",
|
|
3433
|
+
"type": [
|
|
3434
|
+
"object"
|
|
3435
|
+
],
|
|
3436
|
+
"definitions": {
|
|
3437
|
+
"credit_card_collections": {
|
|
3438
|
+
"description": "whether charges incurred by the org are paid by credit card.",
|
|
3439
|
+
"example": "true",
|
|
3440
|
+
"readOnly": true,
|
|
3441
|
+
"type": [
|
|
3442
|
+
"boolean"
|
|
3443
|
+
]
|
|
3444
|
+
},
|
|
3445
|
+
"default": {
|
|
3446
|
+
"description": "whether to use this organization when none is specified",
|
|
3447
|
+
"example": "true",
|
|
3448
|
+
"readOnly": false,
|
|
3449
|
+
"type": [
|
|
3450
|
+
"boolean"
|
|
3451
|
+
]
|
|
3452
|
+
},
|
|
3453
|
+
"identity": {
|
|
3454
|
+
"anyOf": [
|
|
3455
|
+
{
|
|
3456
|
+
"$ref": "#/definitions/organization/definitions/name"
|
|
3457
|
+
}
|
|
3458
|
+
]
|
|
3459
|
+
},
|
|
3460
|
+
"name": {
|
|
3461
|
+
"description": "unique name of organization",
|
|
3462
|
+
"example": "example",
|
|
3463
|
+
"readOnly": true,
|
|
3464
|
+
"type": [
|
|
3465
|
+
"string"
|
|
3466
|
+
]
|
|
3467
|
+
},
|
|
3468
|
+
"provisioned_licenses": {
|
|
3469
|
+
"description": "whether the org is provisioned licenses by salesforce.",
|
|
3470
|
+
"example": "true",
|
|
3471
|
+
"readOnly": true,
|
|
3472
|
+
"type": [
|
|
3473
|
+
"boolean"
|
|
3474
|
+
]
|
|
3475
|
+
},
|
|
3476
|
+
"role": {
|
|
3477
|
+
"description": "role in the organization",
|
|
3478
|
+
"enum": [
|
|
3479
|
+
"admin",
|
|
3480
|
+
"member",
|
|
3481
|
+
"collaborator"
|
|
3482
|
+
],
|
|
3483
|
+
"example": "admin",
|
|
3484
|
+
"readOnly": true,
|
|
3485
|
+
"type": [
|
|
3486
|
+
"string"
|
|
3487
|
+
]
|
|
3488
|
+
}
|
|
3489
|
+
},
|
|
3490
|
+
"links": [
|
|
3491
|
+
{
|
|
3492
|
+
"description": "List existing organizations.",
|
|
3493
|
+
"href": "/organizations",
|
|
3494
|
+
"method": "GET",
|
|
3495
|
+
"rel": "instances",
|
|
3496
|
+
"title": "List"
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"description": "Set/Unset the organization as the default organization.",
|
|
3500
|
+
"href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}",
|
|
3501
|
+
"method": "PATCH",
|
|
3502
|
+
"rel": "update",
|
|
3503
|
+
"schema": {
|
|
3504
|
+
"properties": {
|
|
3505
|
+
"default": {
|
|
3506
|
+
"$ref": "#/definitions/organization/definitions/default"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
"type": [
|
|
3510
|
+
"object"
|
|
3511
|
+
]
|
|
3512
|
+
},
|
|
3513
|
+
"title": "Update Default"
|
|
3514
|
+
}
|
|
3515
|
+
],
|
|
3516
|
+
"properties": {
|
|
3517
|
+
"credit_card_collections": {
|
|
3518
|
+
"$ref": "#/definitions/organization/definitions/default"
|
|
3519
|
+
},
|
|
3520
|
+
"default": {
|
|
3521
|
+
"$ref": "#/definitions/organization/definitions/default"
|
|
3522
|
+
},
|
|
3523
|
+
"name": {
|
|
3524
|
+
"$ref": "#/definitions/organization/definitions/name"
|
|
3525
|
+
},
|
|
3526
|
+
"provisioned_licenses": {
|
|
3527
|
+
"$ref": "#/definitions/organization/definitions/default"
|
|
3528
|
+
},
|
|
3529
|
+
"role": {
|
|
3530
|
+
"$ref": "#/definitions/organization/definitions/role"
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
2970
3534
|
"plan": {
|
|
2971
3535
|
"description": "Plans represent different configurations of add-ons that may be added to apps.",
|
|
2972
3536
|
"id": "schema/plan",
|
|
@@ -3271,6 +3835,7 @@
|
|
|
3271
3835
|
"description": {
|
|
3272
3836
|
"description": "description of changes in this release",
|
|
3273
3837
|
"example": "Added new feature",
|
|
3838
|
+
"readOnly": true,
|
|
3274
3839
|
"type": [
|
|
3275
3840
|
"string"
|
|
3276
3841
|
]
|
|
@@ -3343,6 +3908,9 @@
|
|
|
3343
3908
|
},
|
|
3344
3909
|
"required": [
|
|
3345
3910
|
"slug"
|
|
3911
|
+
],
|
|
3912
|
+
"type": [
|
|
3913
|
+
"object"
|
|
3346
3914
|
]
|
|
3347
3915
|
},
|
|
3348
3916
|
"title": "Create"
|
|
@@ -3360,6 +3928,9 @@
|
|
|
3360
3928
|
},
|
|
3361
3929
|
"required": [
|
|
3362
3930
|
"release"
|
|
3931
|
+
],
|
|
3932
|
+
"type": [
|
|
3933
|
+
"object"
|
|
3363
3934
|
]
|
|
3364
3935
|
},
|
|
3365
3936
|
"title": "Rollback"
|
|
@@ -3483,10 +4054,21 @@
|
|
|
3483
4054
|
]
|
|
3484
4055
|
}
|
|
3485
4056
|
},
|
|
4057
|
+
"readOnly": false,
|
|
3486
4058
|
"type": [
|
|
3487
4059
|
"object"
|
|
3488
4060
|
]
|
|
3489
4061
|
},
|
|
4062
|
+
"size": {
|
|
4063
|
+
"default": null,
|
|
4064
|
+
"description": "size of slug, in bytes",
|
|
4065
|
+
"example": 2048,
|
|
4066
|
+
"readOnly": true,
|
|
4067
|
+
"type": [
|
|
4068
|
+
"integer",
|
|
4069
|
+
"null"
|
|
4070
|
+
]
|
|
4071
|
+
},
|
|
3490
4072
|
"updated_at": {
|
|
3491
4073
|
"description": "when slug was updated",
|
|
3492
4074
|
"example": "2012-01-01T12:00:00Z",
|
|
@@ -3532,6 +4114,9 @@
|
|
|
3532
4114
|
},
|
|
3533
4115
|
"required": [
|
|
3534
4116
|
"process_types"
|
|
4117
|
+
],
|
|
4118
|
+
"type": [
|
|
4119
|
+
"object"
|
|
3535
4120
|
]
|
|
3536
4121
|
},
|
|
3537
4122
|
"title": "Create"
|
|
@@ -3567,6 +4152,9 @@
|
|
|
3567
4152
|
"process_types": {
|
|
3568
4153
|
"$ref": "#/definitions/slug/definitions/process_types"
|
|
3569
4154
|
},
|
|
4155
|
+
"size": {
|
|
4156
|
+
"$ref": "#/definitions/slug/definitions/size"
|
|
4157
|
+
},
|
|
3570
4158
|
"updated_at": {
|
|
3571
4159
|
"$ref": "#/definitions/slug/definitions/updated_at"
|
|
3572
4160
|
}
|
|
@@ -3575,6 +4163,7 @@
|
|
|
3575
4163
|
"ssl-endpoint": {
|
|
3576
4164
|
"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` addon installed before it can provision an SSL Endpoint using these APIs.",
|
|
3577
4165
|
"id": "schema/ssl-endpoint",
|
|
4166
|
+
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
|
3578
4167
|
"title": "Heroku Platform API - SSL Endpoint",
|
|
3579
4168
|
"stability": "development",
|
|
3580
4169
|
"type": [
|
|
@@ -3584,6 +4173,7 @@
|
|
|
3584
4173
|
"certificate_chain": {
|
|
3585
4174
|
"description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
|
|
3586
4175
|
"example": "-----BEGIN CERTIFICATE----- ...",
|
|
4176
|
+
"readOnly": false,
|
|
3587
4177
|
"type": [
|
|
3588
4178
|
"string"
|
|
3589
4179
|
]
|
|
@@ -3591,6 +4181,7 @@
|
|
|
3591
4181
|
"cname": {
|
|
3592
4182
|
"description": "canonical name record, the address to point a domain at",
|
|
3593
4183
|
"example": "example.herokussl.com",
|
|
4184
|
+
"readOnly": false,
|
|
3594
4185
|
"type": [
|
|
3595
4186
|
"string"
|
|
3596
4187
|
]
|
|
@@ -3635,6 +4226,7 @@
|
|
|
3635
4226
|
"private_key": {
|
|
3636
4227
|
"description": "contents of the private key (eg .key file)",
|
|
3637
4228
|
"example": "-----BEGIN RSA PRIVATE KEY----- ...",
|
|
4229
|
+
"readOnly": false,
|
|
3638
4230
|
"type": [
|
|
3639
4231
|
"string"
|
|
3640
4232
|
]
|
|
@@ -3643,6 +4235,7 @@
|
|
|
3643
4235
|
"default": false,
|
|
3644
4236
|
"description": "indicates that a rollback should be performed",
|
|
3645
4237
|
"example": false,
|
|
4238
|
+
"readOnly": false,
|
|
3646
4239
|
"type": [
|
|
3647
4240
|
"boolean"
|
|
3648
4241
|
]
|
|
@@ -3675,6 +4268,9 @@
|
|
|
3675
4268
|
"required": [
|
|
3676
4269
|
"certificate_chain",
|
|
3677
4270
|
"private_key"
|
|
4271
|
+
],
|
|
4272
|
+
"type": [
|
|
4273
|
+
"object"
|
|
3678
4274
|
]
|
|
3679
4275
|
},
|
|
3680
4276
|
"title": "Create"
|
|
@@ -3716,7 +4312,10 @@
|
|
|
3716
4312
|
"rollback": {
|
|
3717
4313
|
"$ref": "#/definitions/ssl-endpoint/definitions/rollback"
|
|
3718
4314
|
}
|
|
3719
|
-
}
|
|
4315
|
+
},
|
|
4316
|
+
"type": [
|
|
4317
|
+
"object"
|
|
4318
|
+
]
|
|
3720
4319
|
},
|
|
3721
4320
|
"title": "Update"
|
|
3722
4321
|
}
|
|
@@ -3783,6 +4382,7 @@
|
|
|
3783
4382
|
"name": {
|
|
3784
4383
|
"description": "unique name of stack",
|
|
3785
4384
|
"example": "cedar",
|
|
4385
|
+
"readOnly": true,
|
|
3786
4386
|
"type": [
|
|
3787
4387
|
"string"
|
|
3788
4388
|
]
|
|
@@ -3790,6 +4390,7 @@
|
|
|
3790
4390
|
"state": {
|
|
3791
4391
|
"description": "availability of this stack: beta, deprecated or public",
|
|
3792
4392
|
"example": "public",
|
|
4393
|
+
"readOnly": true,
|
|
3793
4394
|
"type": [
|
|
3794
4395
|
"string"
|
|
3795
4396
|
]
|
|
@@ -3897,6 +4498,18 @@
|
|
|
3897
4498
|
"oauth-token": {
|
|
3898
4499
|
"$ref": "#/definitions/oauth-token"
|
|
3899
4500
|
},
|
|
4501
|
+
"organization-app": {
|
|
4502
|
+
"$ref": "#/definitions/organization-app"
|
|
4503
|
+
},
|
|
4504
|
+
"organization-collaborator": {
|
|
4505
|
+
"$ref": "#/definitions/organization-collaborator"
|
|
4506
|
+
},
|
|
4507
|
+
"organization-member": {
|
|
4508
|
+
"$ref": "#/definitions/organization-member"
|
|
4509
|
+
},
|
|
4510
|
+
"organization": {
|
|
4511
|
+
"$ref": "#/definitions/organization"
|
|
4512
|
+
},
|
|
3900
4513
|
"plan": {
|
|
3901
4514
|
"$ref": "#/definitions/plan"
|
|
3902
4515
|
},
|
data/lib/platform-api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: platform-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jkakar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -94,4 +94,3 @@ signing_key:
|
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: Ruby HTTP client for the Heroku API.
|
|
96
96
|
test_files: []
|
|
97
|
-
has_rdoc:
|