Skip to content

Commit 1cd7a33

Browse files
committed
v1.11.1
1 parent 64cd409 commit 1cd7a33

9 files changed

+152
-204
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ Class | Method | HTTP request | Description
116116
*NamespaceAPI* | [**GetNamespaceBase64**](docs/NamespaceAPI.md#getnamespacebase64) | **Get** /namespace_by_hash/{hash} | Get namespace info by base64
117117
*NamespaceAPI* | [**GetNamespaceBlobs**](docs/NamespaceAPI.md#getnamespaceblobs) | **Get** /namespace_by_hash/{hash}/{height} | Get namespace blobs on height
118118
*NamespaceAPI* | [**GetNamespaceByVersionAndId**](docs/NamespaceAPI.md#getnamespacebyversionandid) | **Get** /namespace/{id}/{version} | Get namespace info by id and version
119-
*NamespaceAPI* | [**GetNamespaceCount**](docs/NamespaceAPI.md#getnamespacecount) | **Get** /namespace/count | Get count of namespaces in network
120119
*NamespaceAPI* | [**GetNamespaceMessages**](docs/NamespaceAPI.md#getnamespacemessages) | **Get** /namespace/{id}/{version}/messages | Get namespace messages by id and version
121120
*NamespaceAPI* | [**GetNamespaceRollups**](docs/NamespaceAPI.md#getnamespacerollups) | **Get** /namespace/{id}/{version}/rollups | List rollups using the namespace
122121
*NamespaceAPI* | [**ListNamespace**](docs/NamespaceAPI.md#listnamespace) | **Get** /namespace | List namespace info

api/openapi.yaml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,26 +1846,6 @@ paths:
18461846
summary: List namespace info
18471847
tags:
18481848
- namespace
1849-
/namespace/count:
1850-
get:
1851-
description: Get count of namespaces in network
1852-
operationId: get-namespace-count
1853-
responses:
1854-
"200":
1855-
content:
1856-
application/json:
1857-
schema:
1858-
type: integer
1859-
description: OK
1860-
"500":
1861-
content:
1862-
application/json:
1863-
schema:
1864-
$ref: '#/components/schemas/handler.Error'
1865-
description: Internal Server Error
1866-
summary: Get count of namespaces in network
1867-
tags:
1868-
- namespace
18691849
/namespace/{id}:
18701850
get:
18711851
description: Returns array of namespace versions
@@ -4554,6 +4534,7 @@ components:
45544534
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
45554535
name: name
45564536
primary: true
4537+
status: VERIFIED
45574538
id: 321
45584539
first_height: 100
45594540
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
@@ -4645,11 +4626,13 @@ components:
46454626
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
46464627
name: name
46474628
primary: true
4629+
status: VERIFIED
46484630
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
46494631
- celestials:
46504632
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
46514633
name: name
46524634
primary: true
4635+
status: VERIFIED
46534636
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
46544637
codespace: sdk
46554638
events_count: 2
@@ -4707,6 +4690,7 @@ components:
47074690
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
47084691
name: name
47094692
primary: true
4693+
status: VERIFIED
47104694
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
47114695
properties:
47124696
commitment:
@@ -4910,6 +4894,7 @@ components:
49104894
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
49114895
name: name
49124896
primary: true
4897+
status: VERIFIED
49134898
properties:
49144899
image_url:
49154900
example: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
@@ -4920,6 +4905,9 @@ components:
49204905
primary:
49214906
example: true
49224907
type: boolean
4908+
status:
4909+
example: VERIFIED
4910+
type: string
49234911
type: object
49244912
responses.Change24hBlockStats:
49254913
example:
@@ -5000,6 +4988,7 @@ components:
50004988
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
50014989
name: name
50024990
primary: true
4991+
status: VERIFIED
50034992
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
50044993
validator:
50054994
cons_address: E641C7A2C964833E556AEF934FBF166B712874B6
@@ -5071,6 +5060,9 @@ components:
50715060
rollup_type:
50725061
- rollup_type
50735062
- rollup_type
5063+
celestials_statuses:
5064+
- celestials_statuses
5065+
- celestials_statuses
50745066
message_type:
50755067
- message_type
50765068
- message_type
@@ -5088,6 +5080,10 @@ components:
50885080
items:
50895081
type: string
50905082
type: array
5083+
celestials_statuses:
5084+
items:
5085+
type: string
5086+
type: array
50915087
event_type:
50925088
items:
50935089
type: string
@@ -5177,6 +5173,7 @@ components:
51775173
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
51785174
name: name
51795175
primary: true
5176+
status: VERIFIED
51805177
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
51815178
expiration: 2023-07-04T03:10:57+00:00
51825179
revoke_height: 123123
@@ -5189,6 +5186,7 @@ components:
51895186
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
51905187
name: name
51915188
primary: true
5189+
status: VERIFIED
51925190
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
51935191
height: 123123
51945192
properties:
@@ -5274,6 +5272,7 @@ components:
52745272
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
52755273
name: name
52765274
primary: true
5275+
status: VERIFIED
52775276
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
52785277
properties:
52795278
commitment:
@@ -5514,11 +5513,13 @@ components:
55145513
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
55155514
name: name
55165515
primary: true
5516+
status: VERIFIED
55175517
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
55185518
- celestials:
55195519
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
55205520
name: name
55215521
primary: true
5522+
status: VERIFIED
55225523
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
55235524
codespace: sdk
55245525
events_count: 2
@@ -5701,6 +5702,7 @@ components:
57015702
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
57025703
name: name
57035704
primary: true
5705+
status: VERIFIED
57045706
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
57055707
destination:
57065708
cons_address: E641C7A2C964833E556AEF934FBF166B712874B6
@@ -6293,6 +6295,7 @@ components:
62936295
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
62946296
name: name
62956297
primary: true
6298+
status: VERIFIED
62966299
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
62976300
properties:
62986301
celestials:
@@ -6489,11 +6492,13 @@ components:
64896492
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
64906493
name: name
64916494
primary: true
6495+
status: VERIFIED
64926496
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
64936497
- celestials:
64946498
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
64956499
name: name
64966500
primary: true
6501+
status: VERIFIED
64976502
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
64986503
codespace: sdk
64996504
events_count: 2
@@ -6647,6 +6652,7 @@ components:
66476652
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
66486653
name: name
66496654
primary: true
6655+
status: VERIFIED
66506656
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
66516657
validator:
66526658
cons_address: E641C7A2C964833E556AEF934FBF166B712874B6
@@ -6680,12 +6686,14 @@ components:
66806686
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
66816687
name: name
66826688
primary: true
6689+
status: VERIFIED
66836690
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
66846691
delegator:
66856692
celestials:
66866693
image_url: https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
66876694
name: name
66886695
primary: true
6696+
status: VERIFIED
66896697
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
66906698
max_rate: "0.1"
66916699
moniker: Easy 2 Stake

api_namespace.go

Lines changed: 0 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/NamespaceAPI.md

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Method | HTTP request | Description
1313
[**GetNamespaceBase64**](NamespaceAPI.md#GetNamespaceBase64) | **Get** /namespace_by_hash/{hash} | Get namespace info by base64
1414
[**GetNamespaceBlobs**](NamespaceAPI.md#GetNamespaceBlobs) | **Get** /namespace_by_hash/{hash}/{height} | Get namespace blobs on height
1515
[**GetNamespaceByVersionAndId**](NamespaceAPI.md#GetNamespaceByVersionAndId) | **Get** /namespace/{id}/{version} | Get namespace info by id and version
16-
[**GetNamespaceCount**](NamespaceAPI.md#GetNamespaceCount) | **Get** /namespace/count | Get count of namespaces in network
1716
[**GetNamespaceMessages**](NamespaceAPI.md#GetNamespaceMessages) | **Get** /namespace/{id}/{version}/messages | Get namespace messages by id and version
1817
[**GetNamespaceRollups**](NamespaceAPI.md#GetNamespaceRollups) | **Get** /namespace/{id}/{version}/rollups | List rollups using the namespace
1918
[**ListNamespace**](NamespaceAPI.md#ListNamespace) | **Get** /namespace | List namespace info
@@ -681,67 +680,6 @@ No authorization required
681680
[[Back to README]](../README.md)
682681

683682

684-
## GetNamespaceCount
685-
686-
> int32 GetNamespaceCount(ctx).Execute()
687-
688-
Get count of namespaces in network
689-
690-
691-
692-
### Example
693-
694-
```go
695-
package main
696-
697-
import (
698-
"context"
699-
"fmt"
700-
"os"
701-
openapiclient "github.com/celenium-io/celenium-api-go"
702-
)
703-
704-
func main() {
705-
706-
configuration := openapiclient.NewConfiguration()
707-
apiClient := openapiclient.NewAPIClient(configuration)
708-
resp, r, err := apiClient.NamespaceAPI.GetNamespaceCount(context.Background()).Execute()
709-
if err != nil {
710-
fmt.Fprintf(os.Stderr, "Error when calling `NamespaceAPI.GetNamespaceCount``: %v\n", err)
711-
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
712-
}
713-
// response from `GetNamespaceCount`: int32
714-
fmt.Fprintf(os.Stdout, "Response from `NamespaceAPI.GetNamespaceCount`: %v\n", resp)
715-
}
716-
```
717-
718-
### Path Parameters
719-
720-
This endpoint does not need any parameter.
721-
722-
### Other Parameters
723-
724-
Other parameters are passed through a pointer to a apiGetNamespaceCountRequest struct via the builder pattern
725-
726-
727-
### Return type
728-
729-
**int32**
730-
731-
### Authorization
732-
733-
No authorization required
734-
735-
### HTTP request headers
736-
737-
- **Content-Type**: Not defined
738-
- **Accept**: application/json
739-
740-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
741-
[[Back to Model list]](../README.md#documentation-for-models)
742-
[[Back to README]](../README.md)
743-
744-
745683
## GetNamespaceMessages
746684

747685
> []ResponsesNamespaceMessage GetNamespaceMessages(ctx, id, version).Limit(limit).Offset(offset).Execute()

0 commit comments

Comments
 (0)