-
Notifications
You must be signed in to change notification settings - Fork 26
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 new endpoint to create or update a package set #205
Comments
Hi @pombredanne can you assign me this issue ? |
Hi @pombredanne I was working on this issue. I am having difficulty in understanding that you will post a list of purls ( with their metadata) something like the below json data or will the post data just contain purls and content type list and keeping everything else empty.
|
@404-geek you need to get inputs from @JonoYang and @keshav-space ... but I suggest that you start first by explaining briefly your approach and a high design for the new API endpoint in a comment here. |
I was thinking of getting a new api endpoint inside Along with that, I would be creating a On the create function, I can create a business logic for taking an array of purls along with their UUID (optional). I can just make a create query in the package table using the For my reference, I saw the function Regarding the edge case : I am still not clear on how to proceed. Also while scouring through code of Can you please tell me which packages would be binary packages. This is what I thought I should implement for this endpoint logic. Let me know your thoughts on this or if I misunderstood something. |
@404-geek this looks like a good high level plan... go for it! |
Thanks @pombredanne for the go ahead. |
Signed-off-by: 404-geek <[email protected]>
Signed-off-by: 404-geek <[email protected]>
Signed-off-by: 404-geek <[email protected]>
and changed content type to be passed as text labels nexB#205 Signed-off-by: 404-geek <[email protected]>
Add endpoint to create or update a package set #205
I would like to have an API endpoint where I can post a list of PURLs (and package content type?) with an optional Package SET UUID.
There may be some corner cases to consider like what if a package already exists in other stes.
The text was updated successfully, but these errors were encountered: