|
89 | 89 | $ref: '#/components/responses/trait_resource_listing_head_200' |
90 | 90 | get: |
91 | 91 | summary: Service Information |
92 | | - description: Provide information about the service, including the media store in use. |
| 92 | + description: Provide information about the service. |
93 | 93 | operationId: GET_service |
94 | 94 | tags: |
95 | 95 | - Service |
@@ -121,6 +121,31 @@ paths: |
121 | 121 | description: Success. The service info has been updated. |
122 | 122 | "400": |
123 | 123 | description: Bad request. Invalid service JSON. |
| 124 | + /service/storage_backends: |
| 125 | + head: |
| 126 | + summary: Storage Backend Information |
| 127 | + description: Return storage backends path headers |
| 128 | + operationId: HEAD_storage_backends |
| 129 | + tags: |
| 130 | + - Service |
| 131 | + responses: |
| 132 | + "200": |
| 133 | + $ref: '#/components/responses/trait_resource_listing_head_200' |
| 134 | + get: |
| 135 | + summary: Storage Backend Information |
| 136 | + description: Provide information about the storage backends available on this service instance. These are populated on deployment of the service instance. |
| 137 | + operationId: GET_storage_backends |
| 138 | + tags: |
| 139 | + - Service |
| 140 | + responses: |
| 141 | + "200": |
| 142 | + description: "" |
| 143 | + content: |
| 144 | + application/json: |
| 145 | + schema: |
| 146 | + $ref: schemas/storage-backends-list.json |
| 147 | + example: |
| 148 | + $ref: examples/storage-backends-get-200.json |
124 | 149 | /service/webhooks: |
125 | 150 | head: |
126 | 151 | summary: List Webhook URLs |
@@ -1522,6 +1547,14 @@ paths: |
1522 | 1547 | schema: |
1523 | 1548 | default: false |
1524 | 1549 | type: boolean |
| 1550 | + - name: verbose_storage |
| 1551 | + in: query |
| 1552 | + description: | |
| 1553 | + Include storage metadata in `get_urls`. |
| 1554 | + When `verbose_storage` is `false` only `url`, `presigned`, and `label` will be included in `get_urls`. |
| 1555 | + schema: |
| 1556 | + default: false |
| 1557 | + type: boolean |
1525 | 1558 | - name: accept_get_urls |
1526 | 1559 | in: query |
1527 | 1560 | description: | |
@@ -1624,6 +1657,14 @@ paths: |
1624 | 1657 | schema: |
1625 | 1658 | default: false |
1626 | 1659 | type: boolean |
| 1660 | + - name: verbose_storage |
| 1661 | + in: query |
| 1662 | + description: | |
| 1663 | + Include storage metadata in `get_urls`. |
| 1664 | + When `verbose_storage` is `false` only `url`, `presigned`, and `label` will be included in `get_urls`. |
| 1665 | + schema: |
| 1666 | + default: false |
| 1667 | + type: boolean |
1627 | 1668 | - name: accept_get_urls |
1628 | 1669 | in: query |
1629 | 1670 | description: | |
@@ -1748,10 +1789,10 @@ paths: |
1748 | 1789 | $ref: examples/flow-segment-post.json |
1749 | 1790 | schema: |
1750 | 1791 | oneOf: |
1751 | | - - $ref: schemas/flow-segment.json |
| 1792 | + - $ref: schemas/flow-segment-post.json |
1752 | 1793 | - type: array |
1753 | 1794 | items: |
1754 | | - $ref: schemas/flow-segment.json |
| 1795 | + $ref: schemas/flow-segment-post.json |
1755 | 1796 | required: true |
1756 | 1797 | responses: |
1757 | 1798 | "200": |
|
0 commit comments