ListApplication
Registers a new application on the Shamwari Network. The application owner becomes the developer.
Request
POST /nxt?requestType=listApplication
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
appName | string | Application name | Yes |
appDescription | string | Application description | Yes |
appURL | string | Application URL | Yes |
category | string | Application category | Yes |
platforms | string | Supported platforms | Yes |
appRelease | string | Application release version | Yes |
repository | string | Source code repository link | Yes |
file | file | Application binary or package file | Yes |
secretPhrase | string | Sender's secret passphrase | Yes |
Response
{
"transaction": "1234567890123456789",
"fullHash": "abc123def456...",
"application": "9876543210123456789",
"errorCode": 0,
"errorDescription": ""
}
Example
curl -X POST "http://localhost:22024/nxt?requestType=listApplication" \
-d "appName=MyApp" \
-d "appDescription=A great application" \
-d "appURL=https://myapp.example.com" \
-d "category=Utility" \
-d "platforms=Web,Mobile" \
-d "appRelease=1.0.0" \
-d "repository=https://github.com/myapp" \
-d "file=@myapp.zip" \
-d "secretPhrase=your_secret_passphrase"