kobotoolbox / enketo-express

We've moved! Please use the new repository 🠊 https://github.com/enketo/enketo-express
Apache License 2.0
102 stars 90 forks source link

OC Only: add ecid, PID, parentWindowOrigin parameter to all API calls #1023

Closed MartijnR closed 6 years ago

MartijnR commented 6 years ago

Do all views (sometimes) use the ecid query parameter?

Should ecid be a required parameter in all API calls?

MartijnR commented 6 years ago
MartijnR commented 6 years ago
MartijnR commented 6 years ago

less than 12 hours

MartijnR commented 6 years ago
MartijnR commented 6 years ago
MartijnR commented 6 years ago

Hi @yogi-oc,

The latest Enketo Express master now has the updated API as discussed a few weeks ago. There should be no more need to manipulate webform URLs on the OC side. Yay. The only exception is the authentication token (let me know if I should add that to API and anything I may have forgotten).

See updated API Documentation: https://github.com/OpenClinica/enketo-express-oc/blob/master/doc/oc-api.md

Some of the new API parameters are required (ecid, pid), so this means OC integration is now broken until the API calls are changed on the OC side.

MartijnR commented 6 years ago

all is good

pbowen-oc commented 6 years ago

This is addressed further in #1085