Namirasoft Play API V1

Namira Software Corporation Play API Version 1 (1.3.9)

Install


To use this cli, we need to first Install Nodejs, then run the following command.

npm i -g namirasoft-play-api-v1

Copied!

Commands


Healthz

Get

Returns the application health status

ns-play healthz get

Copied!

WebGame

List

Returns the web game list

ns-play webgame list {filters} {page} {size}

Copied!

Get

Returns a web game by an id

ns-play webgame get {id}

Copied!

WebGroup

List

Returns the web group list

ns-play webgroup list {filters} {page} {size}

Copied!

Schemas


WebGame

{
  "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
    }
  }
}

WebGroup

{
  "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
    }
  }
}

Enums

Namira Software Corporation

©Copyright 2010 to 2024 Namira Software Corporation. All rights reserved.