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
Copy file name to clipboardExpand all lines: src/Packages/ZkEvmApi/Documentation~/MetadataApi.md
+100Lines changed: 100 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ All URIs are relative to *https://api.sandbox.immutable.com*
7
7
|[**GetMetadata**](MetadataApi.md#getmetadata)|**GET** /v1/chains/{chain_name}/collections/{contract_address}/metadata/{metadata_id} | Get metadata by ID |
8
8
|[**ListMetadata**](MetadataApi.md#listmetadata)|**GET** /v1/chains/{chain_name}/collections/{contract_address}/metadata | Get a list of metadata from the given contract |
9
9
|[**ListMetadataForChain**](MetadataApi.md#listmetadataforchain)|**GET** /v1/chains/{chain_name}/metadata | Get a list of metadata from the given chain |
10
+
|[**ListStacks**](MetadataApi.md#liststacks)|**GET** /v1/chains/{chain_name}/stacks | List NFT stack bundles by stack_id. Response will include Market, Listings & Stack Count information for each stack |
[[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)
List NFT stack bundles by stack_id. Response will include Market, Listings & Stack Count information for each stack
319
+
320
+
List NFT stack bundles by stack_id. This endpoint functions similarly to `ListMetadataByID` but extends the response to include Market, Listings & Stack Count information for each stack.
Debug.Print("Exception when calling MetadataApi.ListStacksWithHttpInfo: "+e.Message);
374
+
Debug.Print("Status Code: "+e.ErrorCode);
375
+
Debug.Print(e.StackTrace);
376
+
}
377
+
```
378
+
379
+
### Parameters
380
+
381
+
| Name | Type | Description | Notes |
382
+
|------|------|-------------|-------|
383
+
|**chainName**|**string**| The name of chain ||
384
+
|**stackId**|[**List<Guid>**](Guid.md)| List of stack_id to filter by ||
385
+
386
+
### Return type
387
+
388
+
[**List<StackBundle>**](StackBundle.md)
389
+
390
+
### Authorization
391
+
392
+
No authorization required
393
+
394
+
### HTTP request headers
395
+
396
+
-**Content-Type**: Not defined
397
+
-**Accept**: application/json
398
+
399
+
400
+
### HTTP response details
401
+
| Status code | Description | Response headers |
402
+
|-------------|-------------|------------------|
403
+
|**200**| 200 response | - |
404
+
|**400**| Bad Request (400) | - |
405
+
|**401**| Unauthorised Request (401) | - |
406
+
|**403**| Forbidden Request (403) | - |
407
+
|**404**| The specified resource was not found (404) | - |
408
+
|**429**| Too Many Requests (429) | * Retry-After - <br> |
409
+
|**500**| Internal Server Error (500) | - |
410
+
411
+
[[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)
All URIs are relative to *https://api.sandbox.immutable.com*
4
4
5
5
| Method | HTTP request | Description |
6
6
|--------|--------------|-------------|
7
-
|[**ListFilters**](StacksApi.md#listfilters)|**GET** /experimental/chains/{chain_name}/search/filters/{contract_address} | Experimental: Get list of metadata attribute filters |
8
-
|[**ListStacks**](StacksApi.md#liststacks)|**GET** /experimental/chains/{chain_name}/stacks | Experimental: List NFT stacks by stack_id |
|[**ListFilters**](MetadataSearchApi.md#listfilters)|**GET** /v1/chains/{chain_name}/search/filters/{contract_address} | Get list of metadata attribute filters |
Debug.Print("Exception when calling StacksApi.ListFiltersWithHttpInfo: "+e.Message);
70
+
Debug.Print("Exception when calling MetadataSearchApi.ListFiltersWithHttpInfo: "+e.Message);
72
71
Debug.Print("Status Code: "+e.ErrorCode);
73
72
Debug.Print(e.StackTrace);
74
73
}
@@ -95,105 +94,6 @@ No authorization required
95
94
-**Accept**: application/json
96
95
97
96
98
-
### HTTP response details
99
-
| Status code | Description | Response headers |
100
-
|-------------|-------------|------------------|
101
-
|**200**| 200 response | - |
102
-
|**400**| Bad Request (400) | - |
103
-
|**401**| Unauthorised Request (401) | - |
104
-
|**403**| Forbidden Request (403) | - |
105
-
|**404**| The specified resource was not found (404) | - |
106
-
|**429**| Too Many Requests (429) | * Retry-After - <br> |
107
-
|**500**| Internal Server Error (500) | - |
108
-
109
-
[[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)
0 commit comments