Closed notrab closed 7 months ago
@athoscouto yeah the API returns sleeping
:
{
"database": {
"Name": "myrootschema",
"DbId": "b8e89975-d722-11ee-a86f-f2e159adf5c7",
"Hostname": "myrootschema-notrab.turso.io",
"is_schema": false,
"schema": "",
"block_reads": false,
"block_writes": false,
"allow_attach": false,
"type": "logical",
"hostname": "myrootschema-notrab.turso.io",
"version": "0.22.22",
"sleeping": false
}
}
@notrab but does the group model also have a sleeping
field?
We may be talking about different endpoints, but the ones that return a group that I see come with the archived
field.
@athoscouto ah, yes. Good catch! I was adding the sleeping
field in another PR for databases, and when I came back to it I must have forgot the context 🤦🏻
@gris do we want to update the API to return sleeping
there also?
@notrab let me get that fixed 🤓
I'll close this for now, but we can reopen once we unify the API responses elsewhere.
That is not what the API is returning though, is it? @notrab