Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocat Field "inregions" #329

Open
theslash opened this issue Jan 9, 2020 · 2 comments
Open

Ocat Field "inregions" #329

theslash opened this issue Jan 9, 2020 · 2 comments
Labels

Comments

@theslash
Copy link

theslash commented Jan 9, 2020

Hi, I have an interesting Problem:
When I use ocat to get data like this:
ocat --user user --device 12121212121 --last
I get the data containing the field "inregions":["Region Name"]
But when I try to just get a view fields like this:
ocat --user user --device 12121212121 --last --fields inregions
It returns [{}]
What am I doing wrong here?

@jpmens jpmens added the bug label Jan 11, 2020
@jpmens
Copy link
Member

jpmens commented Jan 11, 2020

You are likely not doing anything wrong, and I'm marking this as a bug.

The --fields query is simplistic at best, and I doubt that query works at all as inregions is something we added much later to the apps and it probably didn't occur to me that people would want to do that, sorry. :-)

@theslash
Copy link
Author

No problem, I solved my case using curl and jt so its no problem for me, thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants