OpenShift Low-Level API Access: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
=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