You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10
+
11
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**cid** | **str** | Self-describing content-addressed identifiers for distributed systems. Check [spec](https://github.com/multiformats/cid) for more info. | [optional]
8
+
**pin** | [**Pin**](Pin.md) | | [optional]
9
+
**deals** | [**[Deal]**](Deal.md) | | [optional]
10
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
11
+
12
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/Deal.md
+1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
**chain_deal_id** | **float** | Identifier for the deal stored on chain. | [optional]
15
15
**deal_activation** | **str** | This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: YYYY-MM-DDTHH:MM:SSZ. | [optional]
16
16
**deal_expiration** | **str** | This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: YYYY-MM-DDTHH:MM:SSZ. | [optional]
17
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
17
18
18
19
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
8
9
9
10
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**value** | **[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** | Files in the directory (only if this NFT is a directory). |
9
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**name** | **str** | | [optional] if omitted the server will use the default value of "HTTP Error"
8
8
**message** | **str** | | [optional]
9
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**ok** | **bool** | | [optional] if omitted the server will use the default value of True
8
8
**value** | **NFT** | | [optional]
9
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10
11
11
12
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**ok** | **bool** | | [optional] if omitted the server will use the default value of True
8
8
**value** | [**[NFT]**](NFT.md) | | [optional]
9
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/NFT.md
+1
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
**pin** | [**Pin**](Pin.md) | | [optional]
13
13
**files** | [**Files**](Files.md) | | [optional]
14
14
**deals** | [**[Deal]**](Deal.md) | | [optional]
15
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
15
16
16
17
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
83
+
13
84
# **delete**
14
85
> DeleteResponse delete(cid)
15
86
@@ -20,6 +91,7 @@ Stop storing the content with the passed CID on nft.storage. - Unpin the item fr
20
91
### Example
21
92
22
93
* Bearer (JWT) Authentication (bearerAuth):
94
+
23
95
```python
24
96
import time
25
97
import nft_storage
@@ -82,6 +154,7 @@ Name | Type | Description | Notes
82
154
83
155
84
156
### HTTP response details
157
+
85
158
| Status code | Description | Response headers |
86
159
|-------------|-------------|------------------|
87
160
**200** | OK | - |
@@ -99,6 +172,7 @@ List all stored files
99
172
### Example
100
173
101
174
* Bearer (JWT) Authentication (bearerAuth):
175
+
102
176
```python
103
177
import time
104
178
import nft_storage
@@ -164,6 +238,7 @@ Name | Type | Description | Notes
164
238
165
239
166
240
### HTTP response details
241
+
167
242
| Status code | Description | Response headers |
168
243
|-------------|-------------|------------------|
169
244
**200** | OK | - |
@@ -183,6 +258,7 @@ Includes the IPFS pinning state and the Filecoin deal state.
183
258
### Example
184
259
185
260
* Bearer (JWT) Authentication (bearerAuth):
261
+
186
262
```python
187
263
import time
188
264
import nft_storage
@@ -245,6 +321,7 @@ Name | Type | Description | Notes
245
321
246
322
247
323
### HTTP response details
324
+
248
325
| Status code | Description | Response headers |
249
326
|-------------|-------------|------------------|
250
327
**200** | OK | - |
@@ -259,11 +336,12 @@ Name | Type | Description | Notes
259
336
260
337
Store a file
261
338
262
-
Store a file with nft.storage. - Submit a HTTP `POST` request passing the file data in the request body. - To store multiple files in a directory, submit a `multipart/form-data` HTTP `POST`request. Use the `Content-Disposition` header for each part to specify a filename.
339
+
Store a file with nft.storage. You can upload either a single file or multiple files in a directory Send the POST request with one of: - a single file as a single Blob/File Object as the body - multiple files as FormData with `Content-Disposition` headers for each part to specify filenames and the request header `Content-Type: multipart/form-data`. You can also upload a Content Addressed Archive (CAR) file, by setting the request body as a single CAR Blob/File object and providing the request header `Content-Type: application/car` Providing a CAR file allows you to pre-compute the root CID for 1 or more files, ensures that the nft.storage will store and provide your assets with the same CID.
263
340
264
341
### Example
265
342
266
343
* Bearer (JWT) Authentication (bearerAuth):
344
+
267
345
```python
268
346
import time
269
347
import nft_storage
@@ -321,14 +399,16 @@ Name | Type | Description | Notes
**created** | **datetime** | This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: YYYY-MM-DDTHH:MM:SSZ. | [optional]
11
12
**size** | **float** | | [optional]
13
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
12
14
13
15
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**value** | **str** | | must be one of ["queued", "pinning", "pinned", "failed", ]
8
+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
8
9
9
10
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments