Skip to content

Latest commit

 

History

History
53 lines (50 loc) · 1.23 KB

gmail.md

File metadata and controls

53 lines (50 loc) · 1.23 KB

Gmail

  • Type = gmails

Data

Adding gmail to scenario. There is just one sub type yet.

  • Data request to create:

    {
        "parentId": null,
        "name": "mygmail",
        "type": "gmails",
        "subType": "sendEmail",
        "position": {
            "x": 100,
            "y": 100
        },
        "data": {
                "body":"hello",
                "subject":"test",
                "to":["mansourikhahreza@gmail.com"],
                "email":"rezamansourikhah@gmail.com",
                "password":"XXXXXXXXXXXXXXXX"
        }
    }
  • Data response

    {
        "message": "node is created successfully.",
        "node": {
            "id": 116,
            "parentId": null,
            "name": "mygithub",
            "type": "gmails",
            "subType": "sendEmail",
            "position": {
                "x": 100,
                "y": 100
            },
            "data": {
                "body": "hello",
                "email": "rezamansourikhah@gmail.com",
                "password": "XXXXXXXXXXXXXXXX",
                "subject": "test",
                "to": [
                    "mansourikhahreza@gmail.com"
                ]
            }
        }
    }