5df… is stream id
9f1… is object id (which I got from clicking on my object and copying the id?)
I’ve got a token with all the scope I can give it, but I am getting a 401 from postman… I am assuming it is a basic mistake with the way I am constructing my request. Please help!
I did think that before - I was unfamiliar with this notion - /:xxxxx but when I do I get a 404 Not Found, so I figured it is better to be unauthorised than lost.
PS: Mind you, the GET objects/stream/id endpoint will give you ALL the object’s subobjects (ie, the complete tree) - we’re using it in the https://npmjs.com/package/@speckle/objectloader js side to download things in the viewer, or iterate through objects as they come in in an ETL fashion, discarding what’s not needed on the way.
Thanks @chuonmep, I imported your requests and added my token as a global called ‘token’ and I still can’t get it to work. As @dimitrie suggested I can get it to work without auth (ie ‘link sharing’ set to true in stream settings), but otherwise I get 401 regardless of whether I use token, Bearer token or Bear token.
I’ll continue on with public data for now, and hand over to someone more competent from my team when I’ve figured the data structure out a bit more, thanks again for all your help