postman-twitter-api icon indicating copy to clipboard operation
postman-twitter-api copied to clipboard

Collection at https://t.co/twitter-api-postman lost all the variable substitutions in auth

Open fireattack opened this issue 2 years ago • 2 comments

The collection at https://t.co/twitter-api-postman (full link: https://www.postman.com/twitter/workspace/twitter-s-public-workspace/collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400?ctx=documentation) lost all the variable substitutions in various settings, mainly auth.

For example, it is supposed to have a top level auth of

	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{bearer_token}}",
				"type": "string"
			}
		]
	},

And it does in the source code.

But the version in that Workplace just have empty string:

image

You can also see this if you export the collection from there:

image

Expected behavior

The collection there should be as the same as the source code, so others can simply fork or export and use it.

Actual behavior

It is not. All the variable substitutions are lost.

fireattack avatar Oct 06 '22 08:10 fireattack

I just realized that these variables were added later (#3). Maybe the Collection at the workplace is just outdated?

fireattack avatar Oct 06 '22 08:10 fireattack

Thanks for noting the discrepancy. I’ll try to figure out the best option here…

andypiper avatar Oct 07 '22 15:10 andypiper