deployments

Get details for a deployment

get/deployments/{deployment-id}

Request

  • Base URL: https://api.mopinion.com
  • URL: https://api.mopinion.com/deployments/{deployment-id}
  • Auth: none declared

Path parameters

deployment_idstring required

The id for the deployment

Response

OK

codeinteger

Return code

responseboolean

Example response

{
  "code": 200,
  "response": true,
  "global": [
    {
      "service": "mopinion",
      "version": "2.0",
      "stats": true
    }
  ],
  "deployment": [
    {
      "domain": "demo.mopinion.com",
      "id": "dw3eotyrfymt2we5ny5x8t3f8lhdd39j2ru",
      "org_id": 124,
      "version": "2.2",
      "type": "sdk",
      "name": "App",
      "published": true,
      "rules": [
        {
          "then": [
            {
              "webview": true,
              "args": [
                "0cdbb7a5b69b5c84f5701a2b50e8a86840f1a44e",
                "demo.mopinion.com",
                "surveyContent"
              ],
              "service": "mopinion"
            }
          ],
          "id": "nnyzjboc0kieq6plm41tfoer78sx1hzp",
          "if": [
            {
              "session": 30,
              "clock": [
                {
                  "operator": "between",
                  "time2": "23:00",
                  "time": "12:00"
                }
              ],
              "mobile": [
                {
                  "events": [
                    "_button, _link"
                  ],
                  "target": [
                    {
                      "version": [
                        "14"
                      ],
                      "os": "ios"
                    }
                  ]
                }
              ],
              "trigger": "passive",
              "date": [
                {
                  "date": "15/10/2020",
                  "date2": "16/10/2020"
                }
              ],
              "percentage": 95
            }
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.