Environment JSON File Creation without populating values in "INITIAL VALUE"

krishna
Tue, 10 Mar 2020 05:00:51 +0000
Help Hub

Our team has an app that automatically generates environment JSON file. This file follows the example structure given below

{
  "name": "testEnv",
  "values": [
    {
      "enabled": true,
      "key": "path",
      "value": "post",
      "type": "text"
    },
    {
      "enabled": true,
      "key": "foo",
      "value": "bar",
      "type": "text"
    }
  ],
}

When our developers import this file, the values are automatically getting populated in “INITIAL VALUE” field, thus syncing whatever the variables are to postman servers.

Trying to see if it’s possible to generate the JSON file in such a way that the postman client will only populate values in “CURRENT FIELD” and there by not syncing the variables to postman servers. Any help is much appreciated.

4 posts - 2 participants