JSON Example

From NovaOrdis Knowledge Base
Revision as of 16:28, 25 February 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * JSON =Example= <pre> { "kind": "ProjectList", "apiVersion": "v1", "metadata": { "selfLink": "/oapi/v1/projects" }, "items": [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Example

{
  "kind": "ProjectList",
  "apiVersion": "v1",
  "metadata": {
    "selfLink": "/oapi/v1/projects"
  },
  "items": [
    {
      "metadata": {
        "name": "test1",
        "selfLink": "/oapi/v1/projects/test1",
        "uid": "3f062dcd-6250-11e5-bc78-08002733d9bd",
        "resourceVersion": "109740",
        "creationTimestamp": "2015-09-24T00:07:29Z",
        "annotations": {
          "openshift.io/description": "The first test project",
          "openshift.io/display-name": "Test1 Project",
          "openshift.io/sa.scc.mcs": "s0:c6,c0",
          "openshift.io/sa.scc.uid-range": "1000030000/10000"
        }
      },
      "spec": {
        "finalizers": [
          "openshift.io/origin",
          "kubernetes"
        ]
      },
      "status": {
        "phase": "Active"
      }
    }
  ]
}