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

Add import/export-dataset features #456

Closed
tcompa opened this issue Apr 17, 2024 · 3 comments · Fixed by #467
Closed

Add import/export-dataset features #456

tcompa opened this issue Apr 17, 2024 · 3 comments · Fixed by #467

Comments

@tcompa
Copy link
Collaborator

tcompa commented Apr 17, 2024

Export

Endpoint:

GET /api/v2/project/{project_id}/dataset/{dataset_id}/export/

Response-body model:
image

Import

Endpoint:

POST /api/v2/project/{project_id}/dataset/import/

Request-body model:
image

Response-body model: same as the standard POST/GET dataset endpoints.

@tcompa tcompa changed the title LOW-PRIORITY: Add import/export-dataset LOW-PRIORITY: Add import/export-dataset features Apr 17, 2024
@tcompa
Copy link
Collaborator Author

tcompa commented Apr 17, 2024

@tcompa tcompa changed the title LOW-PRIORITY: Add import/export-dataset features Add import/export-dataset features Apr 23, 2024
@zonia3000
Copy link
Collaborator

Create dataset modal changes depending on a switch.

Using "Create new":

image

Using "Import from file":

image

The name field in this case is optional and it overrides the name during the import.

On the dataset page the export dataset button is located on the top right, as the last button. It uses the same icon of the export workflow button.

image

@jluethi
Copy link
Collaborator

jluethi commented Apr 24, 2024

This looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants