Create Stream API endpoint retired?

Salute Speckle,

For a project we are still testing on V1 hestia and found that we can’t create a stream anymore using the API. Is this endpoint retired recently?

headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": os.environ["SPECKLE_JWT"],
}

url = "https://{}/api/streams".format(os.environ["SERVER"])
payload = {"name": "myNewStream", "description": "bla"}
r = requests.post(url, data=json.dumps(payload), headers=headers)
# returns 401
print(r.status_code)

Cheers,
Guus

You shouldn’t be using hestia really :sweat_smile: We haven’t changed the API, so we’ll have a look what’s going on.

Thanks and sorry for still using Hestia! We are aware and are updating all our modules to V2 as we speak :upside_down_face: Until we are done with that, our users still need to use the V1…

I checked, there’s nothing that looks dramatically wrong from our end. v1 had a time bomb on tokens, so your SPECKLE_JWT might be expired… (and there’s no easy way to regenerate it :grimacing: )

:sweat_smile: can confirm, the time bomb nuked us! New account resolved it.

1 Like