Рет қаралды 4,891
Cisco ISE TME Thomas Howard shows you how to begin using REST APIs with ISE!
00:00 Intro & Agenda
00:44 Cisco DevNet: developer.cisco.com
01:50 REST: Representational State Transfer
02:18 Serialization Data Types & Examples
03:04 GUI vs XML vs JSON vs YAML
05:42 ISE ERS (Extensible RESTful Services) to Create/Read/Update/Delete (CRUD) resources
06:47 HTTP Response Status Codes
07:54 ISE API Gateway
08:32 ISE REST URL Examples
10:05 ISE ERS REST API Queries for Paging, Filtering and Sorting
12:39 ISE API Resource Reference: cs.co/ise-api
14:42 ISE REST Role-Based Access Control (RBAC) with ERS Admin and ERS Operator
15:45 guestuser resource requires a Sponsor user to manage
16:53 curl
18:24 jq
18:49 GitHub Repository for this Webinar: github.com/1homas/20221004_IS...
19:30 Demo: Enable ISE APIs
21:15 Demo: Download ISE 3.2 ERS OpenAPIs definition file
22:10 Demo: Launch Swagger API Utility built into ISE
22:42 Demo: ISE REST API Reference cs.co/ise-api
24:30 Demo: POST FTP Repository with Swagger in ISE
27:41 Demo: POST Backup and GET Monitor Backup Task(s)
30:49 Demo: Python Environment Setup
33:00 Demo: Python Environment Variables
33:20 Demo: curl Basic Options
33:58 Demo: Use `curl --include --location --insecure` with ISE
37:30 Demo: Get a `networkdevice` and fix HTTP 401 Unauthorized
38:37 Demo: HTTP 415 Unsupported Media Type for XML and JSON
40:07 Demo: `networkdevice` details with an `id`
41:24 Demo: Pipe data into `jq` (remove `--include` and use `--silent`)
43:52 Demo: Shell Line Continuation using ` \`
45:55 Demo: Environment Variables for secrets using `export`, `env`, and `source`
50:50 Demo: REST Paging with `profilerprofiles`
52:34 Demo: Create an endpoint with POST using `--data` for JSON data or @filename
55:40 Demo: Import ISE 3.2 ERS OpenAPI file into Postman
Resources from the Webinar
- Thomas' GitHub Repository for this webinar:
github.com/1homas/20221004_IS...
- Cisco DevNet: developer.cisco.com
- Representational State Transfer (REST): www.ics.uci.edu/~fielding/pub...
- HTTP Response Status Codes: developer.mozilla.org/en-US/d...
- ISE API Reference: cs.co/ise-api
- Windows Server for Linux: aka.ms/WSLDocs
- jq stedolan.github.io/jq
- ISE Resources : cs.co/ise-resources
- ISE Community : cs.co/ise-community
- ISE Integration Guides : cs.co/ise-guides
- ISE Compatibility : cs.co/ise-compatibility
- ISE Webinars : cs.co/ise-webinars
- ISE KZbin Channel : cs.co/ise-videos
- ISE Licensing & Evaluations : cs.co/ise-licensing
- ISE in Cisco DevNet: cs.co/ise-devnet
- ISE API Reference: cs.co/ise-api
- curl: curl.se
- Postman: postman.com
- Python: python.org