-
-
Notifications
You must be signed in to change notification settings - Fork 232
Case API v.2: Upsert on external_id
#37118
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ec8bb03
Add upsert on external_id to _get_bulk_updates()
kaapstorm 34a70e7
Tests
kaapstorm c7e8be2
Documentation
kaapstorm 77c8fec
Move upsert logic into `_get_individual_update()`
kaapstorm b5c6837
Update tests
kaapstorm 3413aa6
Pythonic asserts
kaapstorm 92ed620
Add tests for `get_bulk()`
kaapstorm ac5532e
Add GET endpoint for external_id
kaapstorm 0397732
Implement PUT for external_id
kaapstorm 08a8cff
Move UPSERT logic back to `_get_bulk_updates()`
kaapstorm f3f38b8
Add and update tests
kaapstorm 0ba43b9
isort
kaapstorm a1616f4
JsonCaseUpsert
kaapstorm 7ed69d5
Add tests
kaapstorm e66b190
Pythonic asserts
kaapstorm 7f4f7d3
Raise error if is_new_case not initialized
kaapstorm 1bb8a1c
Check required properties late
kaapstorm eb0c4b5
Use path converter for `external_id`
kaapstorm b5e6323
Show behavior with repeated results
kaapstorm f6c8792
Simplify URL patterns
kaapstorm 9f3f2ce
Simplify function params
kaapstorm 3fb3360
Drop redundant checks
kaapstorm b717b1c
Simplify tests
kaapstorm 2c5bc91
Consolidate tests
kaapstorm 2ecb6b5
Pythonic asserts
kaapstorm 61b7de6
Separate out single-case GET operations
kaapstorm 5147d7c
Merge branch 'master' into nh/case_api_upsert
kaapstorm 62653ee
Lint
kaapstorm 6b715d1
Support optional trailing slash
kaapstorm 9e66f86
Check PUT payload is a dict
kaapstorm 80adcbe
Add tests
kaapstorm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as outdated.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.