Skip to content

Downloading and uploading datasets through files #33

Description

@bglamadrid

Inserting new data, such as products, one-by-one can be a daunting and tedious task. Automating it, for example through a prepared file, can save a lot of time and work.

Suggested resources

  • GET /files/{context} would download a file with the same contents that GET /data/{context} would return as JSON.
  • POST /files/{context} would insert new data that is parsed from the input file and does not collide with existences.
  • PUT /files/{context} would update internal data that is matched to existences from the input file.

Additional considerations

  • Should support three file formats; two for automation and a third one for usage of most end-users
    • csv files
    • txt files with length-delimited fields
    • xlsx (2007-365 Excel) files
  • Should support the same query parameters as GET,POST,PUT /data/* counterparts; pagination, filtering, etcetera

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureTo include new functionalitystubDon't work on this until tasks are decided

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions