Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleClick to see the resulting JSON
Code Pro
languagejs
linenumberstrue
{
  "results": [{
    "@name": "customer-experience-agent",
    "@path": "/travel/about/careers/customer-experience-agent",
    "@id": "1f8af166-258f-4351-a543-3d0fc8bb00c0",
    "@nodeType": "mgnl:page",
    "jcr:createdBy": "admin",
    "hideInNav": "false",
    "mgnl:lastActivatedBy": "superuser",
    "mgnl:template": "travel-demo:pages/standard",
    "jcr:created": "2018-02-23T09:01:36.372+0100",
    "mgnl:lastActivated": "2018-02-23T09:01:41.958+0100",
    "mgnl:created": "2015-06-03T18:20:19.100+0200",
    "mgnl:createdBy": "superuser",
    "title": "Customer Experience Agent",
    "mgnl:lastModified": "2015-06-19T11:24:00.965+0200",
    "title_de": "Kundenerlebnisvermittler",
    "mgnl:activationStatus": "true",
    "mgnl:lastModifiedBy": "superuser",
    "@nodes": []
  }, {
    "@name": "customer-experience-supervisor",
    "@path": "/travel/about/careers/customer-experience-supervisor",
    "@id": "c8e6902a-499a-44d7-9de9-45fd93d60a6b",
    "@nodeType": "mgnl:page",
    "jcr:createdBy": "admin",
    "hideInNav": "false",
    "mgnl:template": "travel-demo:pages/standard",
    "mgnl:lastActivatedBy": "superuser",
    "mgnl:lastActivated": "2018-02-23T09:01:41.958+0100",
    "jcr:created": "2018-02-23T09:01:36.373+0100",
    "mgnl:created": "2015-06-03T18:21:41.367+0200",
    "mgnl:createdBy": "superuser",
    "title": "Customer Experience Supervisor",
    "title_de": "Kundenerlebnisteamleiter",
    "mgnl:lastModified": "2015-06-19T11:32:24.49+0200",
    "mgnl:activationStatus": "true",
    "mgnl:lastModifiedBy": "superuser",
    "@nodes": []
  }, {
    "@name": "marketing-associate",
    "@path": "/travel/about/careers/marketing-associate",
    "@id": "f19c60f2-3049-4883-a170-4bf65e3abb91",
    "@nodeType": "mgnl:page",
    "jcr:createdBy": "admin",
    "hideInNav": "false",
    "mgnl:lastActivatedBy": "superuser",
    "mgnl:template": "travel-demo:pages/standard",
    "jcr:created": "2018-02-23T09:01:36.374+0100",
    "mgnl:lastActivated": "2018-02-23T09:01:41.958+0100",
    "mgnl:created": "2015-06-03T18:22:16.687+0200",
    "mgnl:createdBy": "superuser",
    "title": "Marketing Associate",
    "mgnl:lastModified": "2015-06-19T11:33:01.681+0200",
    "title_de": "Marketingmitarbeiter/in",
    "mgnl:activationStatus": "true",
    "mgnl:lastModifiedBy": "superuser",
    "@nodes": []
  }]
}

The result is returned for the following configuration:

Code Block
languageyaml
class: info.magnolia.rest.delivery.jcr.v1.JcrDeliveryEndpointDefinition
params:
  website:
    workspace: website
    rootPath: /
    nodeTypes:
      - mgnl:page

Anchor
configuration
configuration
Configuration

...