/printers api endpoint does not return valid results


#1

The https://api.astroprint.com/v2/printers api endpoint does not appear to be valid as it returns an empty array even though I have valid printers.

I’ve successfully got an authorization bearer token, and I’m able to get results from other api endpoints like /v2/printers/cura3

I’ve ensured that my application has all read rights.

Why does the /v2/printers api endpoint not return any printers?



#2

There are other documented api endpoints that return the same empty dataset. For example

https://api.astroprint.com/v2/printfiles/

always returns

{ 
  "data": []
}

https://developer.astroprint.com/docs/methods#api-methods-print-files-all-print-files

Surely these api endpoints must exist since how else would the mobile app work? Could this be an api documentation issue?


#3

It appears that your token has no user permissions. The APIs that work are those that don’t require user permissions. We have tested here and it works for us.