1 line
34 KiB
JSON
1 line
34 KiB
JSON
|
{"openapi":"3.0.1","info":{"title":"Spacemesh API","contact":{"name":"Spacemesh","url":"https://spacemesh.io/"},"license":{"name":"MIT License","url":"https://github.com/spacemeshos/go-spacemesh/blob/develop/LICENSE"},"version":"v2alpha1"},"servers":[{"url":"https://mainnet-api.spacemesh.network/"}],"tags":[{"name":"AccountService"},{"name":"ActivationService"},{"name":"TransactionService"},{"name":"LayerService"},{"name":"MalfeasanceService"},{"name":"NetworkService"},{"name":"NodeService"},{"name":"RewardService"}],"paths":{"/spacemesh.v2alpha1.AccountService/List":{"post":{"tags":["AccountService"],"summary":"List of accounts","description":"List is a method that takes an \"AccountRequest\" body and returns an \"AccountList\".\nThis method is used to retrieve a list of accounts based on the provided request parameters.","operationId":"AccountService_List","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1AccountRequest"}}},"required":true},"responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1AccountList"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/googlerpcStatus"}}}}},"x-codegen-request-body-name":"body"}},"/spacemesh.v2alpha1.ActivationService/ActivationsCount":{"post":{"tags":["ActivationService"],"summary":"Count of activations","description":"ActivationsCount is a method that takes an \"ActivationsCountRequest\" body and returns an \"ActivationsCountResponse\".\nThis method is used to retrieve the count of activations for a specified epoch.","operationId":"ActivationService_ActivationsCount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1ActivationsCountRequest"}}},"required":true},"responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1ActivationsCountResponse"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/googlerpcStatus"}}}}},"x-codegen-request-body-name":"body"}},"/spacemesh.v2alpha1.ActivationService/Highest":{"post":{"tags":["ActivationService"],"summary":"Highest","description":"Highest is a method that takes an \"HighestRequest\" body and returns an \"HighestResponse\".\nThis method is used to retrieve the activation with the highest tick count.","operationId":"ActivationService_Highest","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1HighestRequest"}}},"required":true},"responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1HighestResponse"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/googlerpcStatus"}}}}},"x-codegen-request-body-name":"body"}},"/spacemesh.v2alpha1.ActivationService/List":{"post":{"tags":["ActivationService"],"summary":"List of activations","description":"List is a method that takes an \"ActivationRequest\" body and returns an \"ActivationList\".\nThis method is used to retrieve a list of activations based on the provided request parameters.","operationId":"ActivationService_List","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1ActivationRequest"}}},"required":true},"responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spacemeshv2alpha1ActivationList"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/googlerpcStatus"}}}}},"x-codegen-request-body-name":"body"}},"/spacemesh.v2alpha1.LayerService/List":{"post":{"tags":["LayerService"],"summary":"List of layers","description":"List is a method that takes a
|