Repository navigation
feat: add create_import and get_import to APIClient - #160
Open
sydneycollins-cio wants to merge 1 commit into
Open
sydneycollins-cio wants to merge 1 commit into
sydneycollins-cio wants to merge 1 commit into
Conversation
Adds CreateImportRequest and two App API calls so a CSV import can be started and its result read. The request checks only that data_file_url and type are present; the API validates the values. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds two App API calls to
Customerio::APIClientso a CSV import can be started and its result read.create_import(req)posts a newCreateImportRequestto/v1/imports.get_import(import_id)reads one import from/v1/imports/{id}.Tested with
bundle exec rake: 181 examples, 0 failures, RuboCop clean.🤖 Generated with Claude Code