Briefcase submission url

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use the
same submission URL as aggregate?

Thanks,

Matt

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

··· On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use the
same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch!

··· On Wed, Mar 21, 2012 at 1:51 PM, Mitch S wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use the
same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Mitch

I have few queries about the BriefcaseAggregateApi in context of formhub.

So we have a tool called formhub-uploader that uploads a zip file of the
odk directory from phone via post. In the formhub side, we are reading the
zip, doing the needed checks for duplication, reading the sqlite file to
read the state of the instance.

Correct me if I am wrong, aggregate has a servlet that does a GET request
on the briefcase. So the connection has to be synchronous till all the
nodes get uploaded. It does have the method of checking the last updates.

So if we need to read from briefcase, then we need to implement a url that
does something similar to the servlet or can you suggest any other
alternative, like one similar to what we already have.

regards
Arindam

··· On Wed, Mar 21, 2012 at 1:51 PM, Mitch S wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use the
same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

The wiki document is complete.

Mitch

··· On Wed, Mar 21, 2012 at 10:56 AM, Matt Berg wrote:

Thanks Mitch!

On Wed, Mar 21, 2012 at 1:51 PM, Mitch S mitchellsundt@gmail.com wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use
the same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I don't understand your question.

What part of the BriefcaseAggregateAPI are you asking about?

··· ==== Neither Briefcase nor Aggregate examine the SQLite database for instance state (completed, incomplete).

If you're using Briefcase, you need to manually delete or complete any
incomplete forms first.

The interaction between Briefcase and Aggregate is entirely directed by
Briefcase.

Briefcase issues POST requests to upload forms, and issues POST requests to
upload submissions as described in the Form Submission/Overwrite API.

Briefcase issues GET requests to obtain lists of forms, submissions against
those forms, the submissions themselves, and all the media files for those
submissions.

Briefcase handles intermediate-states failures during this process. There
is not synchronous channel opened by Aggregate at any point in this
interaction.

Mitch

On Wed, Mar 21, 2012 at 3:13 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Mitch

I have few queries about the BriefcaseAggregateApi in context of formhub.

So we have a tool called formhub-uploader that uploads a zip file of the
odk directory from phone via post. In the formhub side, we are reading the
zip, doing the needed checks for duplication, reading the sqlite file to
read the state of the instance.

Correct me if I am wrong, aggregate has a servlet that does a GET request
on the briefcase. So the connection has to be synchronous till all the
nodes get uploaded. It does have the method of checking the last updates.

So if we need to read from briefcase, then we need to implement a url that
does something similar to the servlet or can you suggest any other
alternative, like one similar to what we already have.

regards
Arindam

On Wed, Mar 21, 2012 at 1:51 PM, Mitch S mitchellsundt@gmail.com wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use
the same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch

··· On Wed, Mar 21, 2012 at 3:45 PM, Mitch S wrote:

The wiki document is complete.

Mitch

On Wed, Mar 21, 2012 at 10:56 AM, Matt Berg mlberg@gmail.com wrote:

Thanks Mitch!

On Wed, Mar 21, 2012 at 1:51 PM, Mitch S mitchellsundt@gmail.com wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use
the same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

The reference to formhub-Uploader(similar to briefcase) is a tool we are
currently using to upload to formhub via POST request. This tool unlike
briefcase is rather dumb. SQLite database reference was with the
formhub-Uploader.

I got confused by the reference to FormUploadServlet in ODK Aggregate, but
now I understand.

··· On Wed, Mar 21, 2012 at 6:27 PM, Mitch S wrote:

I don't understand your question.

What part of the BriefcaseAggregateAPI are you asking about?

====
Neither Briefcase nor Aggregate examine the SQLite database for instance
state (completed, incomplete).

If you're using Briefcase, you need to manually delete or complete any
incomplete forms first.

The interaction between Briefcase and Aggregate is entirely directed by
Briefcase.

Briefcase issues POST requests to upload forms, and issues POST requests
to upload submissions as described in the Form Submission/Overwrite API.

Briefcase issues GET requests to obtain lists of forms, submissions
against those forms, the submissions themselves, and all the media files
for those submissions.

Briefcase handles intermediate-states failures during this process. There
is not synchronous channel opened by Aggregate at any point in this
interaction.

Mitch

On Wed, Mar 21, 2012 at 3:13 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Mitch

I have few queries about the BriefcaseAggregateApi in context of formhub.

So we have a tool called formhub-uploader that uploads a zip file of the
odk directory from phone via post. In the formhub side, we are reading the
zip, doing the needed checks for duplication, reading the sqlite file to
read the state of the instance.

Correct me if I am wrong, aggregate has a servlet that does a GET request
on the briefcase. So the connection has to be synchronous till all the
nodes get uploaded. It does have the method of checking the last updates.

So if we need to read from briefcase, then we need to implement a url
that does something similar to the servlet or can you suggest any other
alternative, like one similar to what we already have.

regards
Arindam

On Wed, Mar 21, 2012 at 1:51 PM, Mitch S mitchellsundt@gmail.com wrote:

It's complicated.
I'll put this into a wiki
http://code.google.com/p/opendatakit/wiki/BriefcaseAggregateAPI

Mitch

On Tue, Mar 20, 2012 at 3:38 PM, Matt Berg mlberg@gmail.com wrote:

Hi all,

We're hoping to add odk briefcase support to formhub.

Could someone point me towards the API reference I need? Does it use
the same submission URL as aggregate?

Thanks,

Matt

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha