Closed vishalvinayak closed 7 years ago
Hi @vishalvinayak, That doesn't look quite right - the group name isn't pre-appended to the domain name.
See the docs here: http://h5serv.readthedocs.io/en/latest/GroupOps/POST_Group.html.
And there are some examples in h5serv/test/integ/grouptest.py.
Also, if you want the domain names to end with <my.website>, you'll need to change the h5serv/server/config.py "domain" setting.
By itself POST /groups just create an anonymous group (i.e. not connected with any other objects in the domain). To link it at the same provide a body with the request which includes the name of the link and the id that it should be linked from. See the "Sample Request with Link" example request and response.
You can spy on the data directory and run tools like "h5dump" to verify this all went according to plan.
If you are not familiar with Python, it maybe a little hard to follow the logic in the test cases, but shouldn't be too bad.
@jreadey : i think the test scripts in the test folder are very helpful. We're going to reference those going forward, appreciate the help!!
Out of curiosity - what language are you using?
all python, we're trying to use hdf5 instead of postgresql. We really like the h5serv concept for the kind of stuff we're doing.
Great - let me know how it goes.
BTW - We've been working on a AWS S3-backed version of HDF Server - you can read about it here: https://s3.amazonaws.com/hdfgroup/docs/HDF+Scalable+Data+Service.pdf. It's not open source yet though.
Closing the issue.
Hi,
Just getting into h5serv. Trying to figure out what's the best way to create a group. I'm using postman and trying with the following URI:
http:///groups?host=...home.
and I have basic auth set up.
I get a "tornado.web.HTTPError: HTTP 404: Not Found" error which means it's not able to find the file. I tried with the following too: http:///groups
and the following in the params: host=...home.
still get the same error.
Can anyone explain with an example what's the correct way to create a group? Thanks in advance.