Skip to content

feat: endpoint download datasource from s3 - #91

Merged
JyVers merged 1 commit into
mainfrom
feat/datasource-download-endpoint
Jun 11, 2026
Merged

JyVers merged 1 commit into
mainfrom
feat/datasource-download-endpoint

Conversation

@JyVers

@JyVers JyVers commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  1. just clean && just dev
  2. Get an access token :
curl -X POST localhost:3000/auth/signup -H "Content-Type: application/json" -d '{"email": "test@umontpellier.fr", "password": "Test123!"}' -vvv
  1. Upload a file:
curl -X POST localhost:3000/datasources -F "file=@./docs/example.json" -F 'metadata={"type":"json"}' -H "Authorization: Bearer <access-token>" -vvv
  1. Make the request:
curl -X GET localhost:3000/datasources/<datasource-id>/download -H "Authorization: Bearer <access-token>" -o result.json -vvv

@JyVers
JyVers merged commit 8b5361f into main Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants