Thodoris Greasidis

Results 268 comments of Thodoris Greasidis

Can you provide us your `import/require` statement please? You might need to do: ``` import * as BalenaSdk from 'balena-sdk'; const sdkBase = BalenaSdk.getSdk({ // ... }); ``` and/or add...

Oh @Nevter it seems that I gave you the wrong alias :disappointed: I should have said this v, which should fix the "`getSdk" is not a function` error: ```js {...

Hi @Chaosflo , The `device.getAll()` method was dropped intentionally in v17.0.0 since we found that many users where fetching all devices and then were filtering on client side, instead of...

Let me give you a pine query that does exactly what you described which you can use right away (until we extend the `device.getAllByOrganization` to accept multiple organizations in its...

Recheked this query and it seems that this way it becomes as slow as the service_environment_variables one (3+ seconds)... The mistake was that I used a release id in place...

Marking as draft for now since we shouldn't get it in given that it regresses performance. Should we reconsider https://github.com/balena-io/open-balena-api/pull/1794 ?

@JSReds we are going to do that only in the next major for v7, right?