Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Created August 12, 2019 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrlesmithjr/22355cb708d2caf2285fd879f2e88d76 to your computer and use it in GitHub Desktop.
Save mrlesmithjr/22355cb708d2caf2285fd879f2e88d76 to your computer and use it in GitHub Desktop.
{
"info": {
"_postman_id": "0d319df0-e132-4187-82f7-5e42d4e5335d",
"name": "TOWER",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Get Tasks",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
""
]
}
},
"response": []
},
{
"name": "Get Job Templates",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/job_templates/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
"job_templates",
""
]
}
},
"response": []
},
{
"name": "Ping",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/ping/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
"ping",
""
]
}
},
"response": []
},
{
"name": "Config",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/config/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
"config",
""
]
}
},
"response": []
},
{
"name": "Inventory",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/inventories/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
"inventories",
""
]
}
},
"response": []
},
{
"name": "Jobs",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}/api/v2/jobs/",
"host": [
"{{url}}"
],
"path": [
"api",
"v2",
"jobs",
""
]
}
},
"response": []
}
],
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"id": "7a9b7603-00fe-486e-88ad-c40aceeec1e9",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "3b053ff7-5ec4-4906-8ab8-0036706872ad",
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment