Skip to content

Commit

Permalink
docs(postman): create postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabb-c committed Jul 7, 2024
1 parent b74341a commit 7efb9f1
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .postman/api
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
apis[] = {"apiId":"ce467827-909f-418d-9ecc-512aed80b5f8"}
configVersion = 1.0.0
type = api
18 changes: 18 additions & 0 deletions .postman/api_ce467827-909f-418d-9ecc-512aed80b5f8
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
configVersion = 1.1.0
type = apiEntityData

[config]
id = ce467827-909f-418d-9ecc-512aed80b5f8

[config.relations]

[config.relations.collections]
rootDirectory = postman/collections
files[] = {"id":"11862234-61ccb207-5024-47f2-a54f-b53a1b6bf494","path":"PokéAPI.json","metaData":{}}

[config.relations.collections.metaData]

[config.relations.apiDefinition]

[config.relations.apiDefinition.metaData]
70 changes: 70 additions & 0 deletions postman/collections/PokéAPI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"info": {
"_postman_id": "61ccb207-5024-47f2-a54f-b53a1b6bf494",
"name": "PokéAPI",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_uid": "11862234-61ccb207-5024-47f2-a54f-b53a1b6bf494"
},
"item": [
{
"name": "Pokémon",
"item": [
{
"name": "Pokémon",
"id": "8e46b503-50d3-4e15-a9dd-95dc1393701d",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{BASE_URL}}/pokemon/1",
"host": [
"{{BASE_URL}}"
],
"path": [
"pokemon",
"1"
]
}
},
"response": []
}
],
"id": "2d9f6ff6-5287-4d24-8c36-f870d0855098"
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "51f42acb-d20d-488e-bfa1-9dbeb99e1472",
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "424730a1-cda1-44b2-89c7-c26ddaa1f276",
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
}
],
"variable": [
{
"id": "1be9faee-74fc-4ea5-8bc5-0de3223cbfc7",
"key": "BASE_URL",
"value": "https://pokeapi.co/api/v2",
"type": "string"
}
]
}

0 comments on commit 7efb9f1

Please sign in to comment.