{
  "info": {
    "_postman_id": "5b58fcd4-0610-4c27-b078-c4cd0a82237a",
    "name": "dappros-deepx",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "16245087"
  },
  "item": [
    {
      "name": "client login",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(pm.response.text());\r",
              "pm.environment.set(\"user_token\", jsonData.token);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/users/client",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "users",
            "client"
          ]
        }
      },
      "response": []
    },
    {
      "name": "users create batch",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"bypassEmailConfirmation\": true,\r\n    \"usersList\": [\r\n        {\r\n            \"email\": \"mock5@i.us\",\r\n            \"firstName\": \"mock5\",\r\n            \"lastName\": \"mock5\",\r\n            \"uuid\": \"mock5\"\r\n        }\r\n    ]\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/users/batch",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "users",
            "batch"
          ]
        }
      },
      "response": []
    },
    {
      "name": "users delete batch",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(pm.response.text());\r",
              "pm.environment.set(\"user_token\", jsonData.token);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"usersIdList\": [\"mock1\"]}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/users/batch",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "users",
            "batch"
          ]
        }
      },
      "response": []
    },
    {
      "name": "chat delete",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"uuid\": \"6706be22bee3c388e173ef1d\"}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/chat",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "chat"
          ]
        }
      },
      "response": []
    },
    {
      "name": "chat create",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"title\": \"title12\", \"uuid\": \"chat1234\"}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/chat",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "chat"
          ]
        }
      },
      "response": []
    },
    {
      "name": "chat add user",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"userId\": \"mock5\", \"roomId\": \"chat1234\"}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/chat/users-access",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "chat",
            "users-access"
          ]
        }
      },
      "response": []
    },
    {
      "name": "chat remove user",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "{{app_token_ethora}}",
            "type": "text",
            "disabled": true
          },
          {
            "key": "x-custom-token",
            "value": "{{YOUR_TOKEN}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"userId\": \"mock3\", \"roomId\": \"6706bee5ef856b5335d1b2f3\"}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.ethoradev.com/v1/chat/users-access",
          "protocol": "https",
          "host": [
            "api",
            "ethoradev",
            "com"
          ],
          "path": [
            "v1",
            "chat",
            "users-access"
          ]
        }
      },
      "response": []
    }
  ]
}