Skip to main content

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​

NameTypeDescriptionRequired
appNamestringApplication nameYes
appDescriptionstringApplication descriptionYes
appURLstringApplication URLYes
categorystringApplication categoryYes
platformsstringSupported platformsYes
appReleasestringApplication release versionYes
repositorystringSource code repository linkYes
filefileApplication binary or package fileYes
secretPhrasestringSender's secret passphraseYes

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"