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

feature: import model endpoint #255

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

feekosta
Copy link
Collaborator

@feekosta feekosta commented Nov 16, 2021

Description

This PR adds the necessary structure to import model.

Resolves

Resolves #76

How Has This Been Tested?

  • call export endpoint and save file
curl --location --request GET 'localhost:3001/models/MODEL_ID/export' \
--header 'x-user-id: USER_ID'
  • call import endpoint with file
curl --location --request POST 'localhost:3001/models/import' \
--header 'x-user-id: USER_ID' \
--form 'model=@"/path/to/file"'
  • should return the imported model

@feekosta feekosta self-assigned this Nov 16, 2021
This was referenced Dec 11, 2021
This commit adds the necessary structure to import model

Resolves #76
@feekosta feekosta force-pushed the feature/76_import_model_endpoint branch from 78ecff0 to f7a0dbe Compare December 17, 2021 14:26
@feekosta feekosta marked this pull request as ready for review December 17, 2021 14:26
@idmarjr idmarjr added the API label Dec 18, 2021
@feekosta feekosta merged commit 32a8ed3 into development Dec 21, 2021
@feekosta feekosta deleted the feature/76_import_model_endpoint branch December 21, 2021 12:31
@idmarjr idmarjr mentioned this pull request Dec 21, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import model
3 participants