-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement POST /v1/collections #466
Comments
We could update this API to only create a new submission for now and not update an existing. We will also need an API to upload files to s3 for the dataset assets. I think it would actually be better if we had a separate endpoint for uploading datasets, and dataset assets. This ticket still needs a definition of done. |
Definition of Done
Q: Check with @tihuan about feature flagging this. |
Ooh yes, feature flag! @brianraymor for incrementally rolling out the submission feature, we were thinking about using a feature flag to control who get access to this feature, so we get to QA this in prod and share it with a few internal users to collect feedback before a full launch. Some ideas I have in mind are:
Upside: straightforward to implement + low engineering overhead
Upside: straightforward to implement + low engineering overhead
Upside: launching the feature only requires flipping a switch in Split.io's website. Anyone can do it! My recommendation is #2 for rolling out submission feature, and then once we have AuthN for DP, spend time to do #3. But would love to hear your thoughts on this! Thank you! |
Mind adding "Update High Level Architecture document with implemented API definition" as part of the list of tasks for this to be done? |
Hi @MDunitz ! Thanks so much for working on the POST endpoint 🎉🤩 A few things I think we need to sync on:
CC: @Bento007 for keeping everyone in sync! Thanks all! |
OH and also, I think FE is gonna send attestation version number to BE, what field key should I use? UPDATE: I see it's |
I've run into issues creating a functional test due to an inability to get a token from auth0.
But I'm still getting a 401. For now I'm going to push the code without the functional test |
Description: Opens a new submission with a unique UUID. If no project UUID is given, then this call will also create a new folder with the generated project UUID in the data portal S3 bucket. On success, a message will be returned with the project’s UUID.
Parameters:
name
[REQUIRED]: Name of the collection to be created.description
[REQUIRED]: A description of the collection to be created.user_id
[REQUIRED]: the OAuth id of the user creating the new collection.links
[OPTIONAL]: a mapping of link names to their link type and URL that should be associated with the collection.UPDATE (11/2/2020):
Example JSON payload from FE:
Responses:
{collection_uuid}
Behavior to implement
Definition of Done:
The text was updated successfully, but these errors were encountered: