To use this cli, we need to first Install Nodejs, then run the following command.
npm i -g namirasoft-play-api-v1
Returns the application health status
ns-play healthz get
Returns the web game list
ns-play webgame list {filters} {page} {size}
Returns a web game by an id
ns-play webgame get {id}
Returns the web group list
ns-play webgroup list {filters} {page} {size}
{  "name": "WebGame",  "type": "Object",  "required": true,  "fields": {    "id": {      "type": "Integer",      "required": true    },    "name": {      "type": "String",      "required": true,      "allowEmpty": false    },    "logo": {      "type": "String",      "required": true,      "allowEmpty": false    },    "url": {      "type": "String",      "required": true,      "allowEmpty": false    },    "is_portrait": {      "type": "Boolean",      "required": true    },    "createdAt": {      "type": "DateTime",      "required": true    },    "updatedAt": {      "type": "DateTime",      "required": true    }  }}
{  "name": "WebGroup",  "type": "Object",  "required": true,  "fields": {    "id": {      "type": "Integer",      "required": true    },    "name": {      "type": "String",      "required": true,      "allowEmpty": false    },    "logo": {      "type": "String",      "required": true,      "allowEmpty": false    },    "createdAt": {      "type": "DateTime",      "required": true    },    "updatedAt": {      "type": "DateTime",      "required": true    }  }}
©Copyright 2010 to 2024 Namira Software Corporation. All rights reserved.