@@ -1279,8 +1279,8 @@ def manifest_route(*, fetch: bool, initiate: bool):
1279
1279
# want to complicate the API with this detail
1280
1280
('/fetch' if fetch else '' )
1281
1281
+ ('/manifest/files' if initiate else '/manifest/files/{token}' ),
1282
- # The initial PUT request is idempotent.
1283
- methods = ['PUT' if initiate else 'GET' ],
1282
+ # The initial request is idempotent.
1283
+ methods = ['POST' , ' PUT'] if initiate else [ 'GET' ],
1284
1284
interactive = fetch ,
1285
1285
cors = True ,
1286
1286
path_spec = None if initiate else {
@@ -1308,9 +1308,9 @@ def manifest_route(*, fetch: bool, initiate: bool):
1308
1308
- a 302 redirect to the URL of an already prepared manifest.
1309
1309
1310
1310
This endpoint is not suitable for interactive use via the
1311
- Swagger UI. Please use [PUT /fetch/manifest/files][1] instead.
1311
+ Swagger UI. Please use [POST /fetch/manifest/files][1] instead.
1312
1312
1313
- [1]: #operations-Manifests-put_fetch_manifest_files
1313
+ [1]: #operations-Manifests-post_fetch_manifest_files
1314
1314
''' ) + parameter_hoisting_note if initiate and not fetch else fd ('''
1315
1315
Check on the status of an ongoing manifest preparation job,
1316
1316
returning either
@@ -1328,12 +1328,12 @@ def manifest_route(*, fetch: bool, initiate: bool):
1328
1328
''' ) if not initiate and not fetch else fd ('''
1329
1329
Create a manifest preparation job, returning a 200 status
1330
1330
response whose JSON body emulates the HTTP headers that would be
1331
- found in a response to an equivalent request to the [PUT
1331
+ found in a response to an equivalent request to the [POST
1332
1332
/manifest/files][1] endpoint.
1333
1333
1334
1334
Whenever client-side JavaScript code is used in a web
1335
1335
application to request the preparation of a manifest from Azul,
1336
- this endpoint should be used instead of [PUT
1336
+ this endpoint should be used instead of [POST
1337
1337
/manifest/files][1]. This way, the client can use XHR to make
1338
1338
the request, retaining full control over the handling of
1339
1339
redirects and enabling the client to bypass certain limitations
@@ -1343,7 +1343,7 @@ def manifest_route(*, fetch: bool, initiate: bool):
1343
1343
upper limit on the number of consecutive redirects, before the
1344
1344
manifest generation job is done.
1345
1345
1346
- [1]: #operations-Manifests-put_manifest_files
1346
+ [1]: #operations-Manifests-post_manifest_files
1347
1347
''' ) + parameter_hoisting_note if initiate and fetch else fd ('''
1348
1348
Check on the status of an ongoing manifest preparation job,
1349
1349
returning a 200 status response whose JSON body emulates the
@@ -1465,7 +1465,7 @@ def manifest_route(*, fetch: bool, initiate: bool):
1465
1465
'410' : {
1466
1466
'description' : fd ('''
1467
1467
The manifest preparation job has expired. Request a
1468
- new preparation using the `PUT /manifest/files`
1468
+ new preparation using the `POST /manifest/files`
1469
1469
endpoint.
1470
1470
''' )
1471
1471
}
@@ -1481,9 +1481,9 @@ def manifest_route(*, fetch: bool, initiate: bool):
1481
1481
For a detailed description of these properties see the
1482
1482
documentation for the respective response headers
1483
1483
documented under ''' ) + (fd ('''
1484
- [PUT /manifest/files][1].
1484
+ [POST /manifest/files][1].
1485
1485
1486
- [1]: #operations-Manifests-put_manifest_files
1486
+ [1]: #operations-Manifests-post_manifest_files
1487
1487
''' ) if initiate else fd ('''
1488
1488
[GET /manifest/files/{token}][1].
1489
1489
0 commit comments