Please follow me on Twitter to get more updates on memes, tech news, devops/developer content!
https://twitter.com/CodeDoge4
#powershell #API
Link to Project FIles :
REST API call with No Auth :
https://github.com/jc566/Youtube_Solutions/blob/master/Powershell%20Scripts/REST%20API%20intro/GET/RestAPI%20Calls%20-%20No%20Auth%20Token.ps1
REST API call with Auth & Personal Access Token :
https://github.com/jc566/Youtube_Solutions/blob/master/Powershell%20Scripts/REST%20API%20intro/GET/RestAPI%20Calls%20-%20With%20Auth%20Token.ps1
Important Time Stamps
00:00 - Intro
0:33 - Quick explanation of URL endpoints
1:17 - Setting up URL
2:36 - Creating query string
3:19 - Result of API call with GET method
3:43 - Some examples of how to digest the data retrieved
5:19 - Creating Azure Devops Authorization token
6:44 - Updating query string for API call with Personal Access Token
9:19 - Create the token pairing
10:42 - Creating the header variable
11:15 - Quick breakdown of what to expect from running API call with PAT
12:02 - Showing the usefulness of "-depth" parameter
Link to HTTP Request Methods :
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
Cat Facts API :
https://alexwohlbruck.github.io/cat-facts/docs/
Azure Devops API Documentation :
https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups/get%20variable%20groups?view=azure-devops-rest-5.1