Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better control of unprocessed item response to batch requests #138

Merged
merged 1 commit into from
Jul 6, 2015

Conversation

rclark
Copy link
Contributor

@rclark rclark commented Jul 6, 2015

In the event that a batch request returns unprocessed items, this PR improves cardboard's error response.

If this occurs, the err.unprocessed will be:

  • a feature collection in the case of cardboard.batch.put
  • an array of ids in the case of cardboard.batch.remove

This can be used to retry the request, if appropriate.

rclark pushed a commit that referenced this pull request Jul 6, 2015
Better control of unprocessed item response to batch requests
@rclark rclark merged commit 0fb4b79 into master Jul 6, 2015
@rclark rclark deleted the failed-batch-response branch July 6, 2015 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant