submissions-controller

Methods

(inner) _logSubmission(id, instanceId, deprecatedId)

Source:
Parameters:
Name Type Description
id string
instanceId string
deprecatedId string

(inner) getInstance(req, res, next)

Source:

Obtains cached instance (for editing)

Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse
next function

Express callback

(inner) maxSize(req, res, next)

Source:

Get max submission size.

Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse
next function

Express callback

(inner) submit(req, res, next)

Source:

Simply pipes well-formed request to the OpenRosa server and copies the response received.

Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse
next function

Express callback