OpenShift Low-Level API Access: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenShift Operations =Overview= curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaord...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[OpenShift_Operations#Operations|OpenShift Operations]]
* [[OpenShift_Operations#Operations|OpenShift Operations]]
* [[curl#Overview|curl]]


=Overview=
=Overview=


  curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaordis.io/
  curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaordis.io/
 
=Project List=
 
curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaordis.io:443/oapi/v1/projects

Latest revision as of 23:15, 27 February 2018

Internal

Overview

curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaordis.io/

Project List

curl -k -X GET -H "Authorization: Bearer $(oc whoami -t)" https://master.openshift.novaordis.io:443/oapi/v1/projects