ryancramerdesign / ServicePages

ProcessWire Pages Web Service
11 stars 5 forks source link

Output Repeater values #8

Open laustdeleuran opened 8 years ago

laustdeleuran commented 8 years ago

I'm currently building an app using ProcessWire. I'm using the ServicePages module to expose my data as a REST-like API.

I'm also using the Repeater FieldType. However, the repeater field values aren't outputted in the API. Right now I'm only getting meta data for the repeater values:

reel_captions: [
    {
        id: 1060,
        parent_id: 1059,
        template: "repeater_reel_captions",
        name: "1468607646-89-1",
        path: "/processwire/repeaters/for-field-163/for-page-1/1468607646-89-1/",
        title: null
    }
]

How do I get the actual values outputted?

Posted this on StackOverflow as well.