Skip to content

Commit ca2cfcd

Browse files
authored
Generate Postman collections in repo (#250)
* Generate Postman collections in the repo * Split repo and workspace postman generation * Remove incorrect users directory * Handle unstable version
1 parent 9535b18 commit ca2cfcd

30 files changed

+20842
-2458
lines changed

package-lock.json

Lines changed: 4384 additions & 2409 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
"@actions/core": "^1.10.0",
1717
"@actions/github": "^5.1.1",
1818
"@stoplight/json-ref-resolver": "^3.0.1",
19-
"api": "^4.5.2",
19+
"api": "^6.1.1",
2020
"axios": "^1.7.4",
2121
"deepmerge": "^4.3.0",
2222
"dotenv": "^16.0.3",
2323
"flatted": "^3.2.7",
2424
"jsonpath-plus": "^10.0.7",
2525
"lodash": "^4.17.21",
26-
"openapi-to-postmanv2": "^4.9.0",
26+
"openapi-to-postmanv2": "^4.12.0",
2727
"remove-markdown": "^0.3.0",
2828
"standard": "^16.0.1",
2929
"uuid": "^8.0.0",

postman/2.10/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Intercom API 2.10 Postman Collection
2+
3+
This directory contains the Postman collection for Intercom API version 2.10.
4+
5+
## Files
6+
- `intercom-api.postman_collection.json`: The main Postman collection
7+
- `environment.json`: Environment variables for this version
8+
9+
## Usage
10+
1. Import the collection into Postman
11+
2. Import the environment file
12+
3. Set your access token in the environment variables
13+
4. Start making API calls!
14+
15+
Last updated: 2025-04-15T14:40:02.395Z

postman/2.10/environment.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"id": "intercom-api-2.10-environment",
3+
"name": "Intercom API 2.10 Environment",
4+
"values": [
5+
{
6+
"key": "baseUrl",
7+
"value": "https://api.intercom.io",
8+
"type": "default",
9+
"enabled": true
10+
},
11+
{
12+
"key": "token",
13+
"value": "YOUR_ACCESS_TOKEN",
14+
"type": "secret",
15+
"enabled": true
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)