{ "variables": [], "info": { "name": "F5 Automation & Orchestration Intro", "_postman_id": "8e2a63de-a5d8-c554-e224-3a8cbda6fcb6", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "Lab 1.2 - API Authentication & 'example' Templates", "description": "", "item": [ { "name": "Step 1: HTTP BASIC Authentication", "request": { "url": "https://{{bigip_mgmt}}/mgmt/tm/ltm", "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"username\":\"\",\n \"password\":\"\",\n \"loginProviderName\":\"tmos\"\n}" }, "description": "" }, "response": [] }, { "name": "Step 2: Get Authentication Token", "request": { "url": "https://{{bigip_mgmt}}/mgmt/shared/authn/login", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"username\":\"\",\n \"password\":\"\",\n \"loginProviderName\":\"tmos\"\n}" }, "description": "" }, "response": [] }, { "name": "Setp 3: Verify Authentication Works", "request": { "url": "https://{{bigip_mgmt}}/mgmt/tm/ltm", "method": "GET", "header": [ { "key": "X-F5-Auth-Token", "value": "", "description": "" } ], "body": { "mode": "raw", "raw": "" }, "description": "" }, "response": [] }, { "name": "Step 4: Set Authentication Token Timeout", "request": { "url": "https://{{bigip_mgmt}}/mgmt/shared/authz/tokens/{{bigip_auth_token}}", "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" }, { "key": "X-F5-Auth-Token", "value": "{{bigip_auth_token}}", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"timeout\":\"36000\"\n}" }, "description": "" }, "response": [] }, { "name": "Step 5: Get 'example' of a Pool Resource", "request": { "url": "https://{{bigip_mgmt}}/mgmt/tm/ltm/pool/example", "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" }, { "key": "X-F5-Auth-Token", "value": "{{bigip_auth_token}}", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"baseRegKey\":\"\",\n \"addOnKeys\":[],\n \"automaticActivation\":false\n}" }, "description": "" }, "response": [] } ] } ] }