updating Groups or adding at the point of adding a dataset #7503
Unanswered
JackBurns1984
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
apologies if this has already been asked/answered - I looked but couldnt see anything.
I am in the process of building a terminology server to house different terms relevant to my business, I currently have a working API uploader to add the terms along with its organization if the organization doesnt exist but I am looking to add a section to add each term to a group - but I cant see to work out how to add a term to a group (if the group doesnt exist I can add it with group_create then add the term to the group).
I tried adding groups as part of the data upload but its not right - is there a way to do this?
example:
data = {
term:"insurance"
description:"something we all need"
organization:"something"
}
requests.post(website,
data,
headers=authorization:token)
this uploads, but if I add:
group:my-group
to data it wont accept the upload - i even tried groups in case I was being thick,
but no matter what I try I cant get the package_create api to add in the group,
any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions