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

Pass metadata to the zip file server #1165

Open
ddelpiano opened this issue Jul 19, 2021 · 2 comments
Open

Pass metadata to the zip file server #1165

ddelpiano opened this issue Jul 19, 2021 · 2 comments
Assignees

Comments

@ddelpiano
Copy link
Contributor

The UI will have to provide some metadata extracted from the geppetto model through the REST call to generate the zip file.

We will need:

  • a place where to provide the text in the REST call (there might be multiple texts to be included, e.g. per instance in the geppetto model).
  • an example of the json to send through the rest call.
@jrmartin
Copy link
Contributor

@ddelpiano @Robbie1977 Where are we making the REST call to generate the zip file?

@Robbie1977
Copy link
Contributor

POST:
https://zip.virtualflybrain.org/download
example body:

{
  "entries": [
    {"Url":"https://v2.virtualflybrain.org/data/VFB/i/0000/0001/VFB_00101567/thumbnail.png","ZipPath":"AlignedToJRC2018U/VFB_00000001.png"},
    {"Url":"https://v2.virtualflybrain.org/data/VFB/i/0000/0002/VFB_00101567/thumbnail.png","ZipPath":"AlignedToJRC2018U/VFB_00000002.png"}
  ]
}

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

No branches or pull requests

3 participants