Exploring OpenShift API

Show resources as defined in API:

oc api-resources
Shows versions of the APIs:
oc api-versions
Explore what is in the API:
oc explain [--recursive] {{ resource }}
Based on the above information, OpenSHift resources can be defined in declarative way in YAML files.