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

impt device list -u doesn't work for collaborator devices #64

Open
deldrid1 opened this issue May 2, 2019 · 6 comments
Open

impt device list -u doesn't work for collaborator devices #64

deldrid1 opened this issue May 2, 2019 · 6 comments

Comments

@deldrid1
Copy link

deldrid1 commented May 2, 2019

I am trying to get a list of unassigned devices on an account that I have Administrator collaborator access to. If I run impt device list -u I get no devices.

Likewise, if I run impt device list -u -o {{OWNER_GUID}} I get no devices.

On the collaborating account, impt device list -u works as expected.

@betzrhodes
Copy link

Thanks for finding this. I'll look into it.

@alexey-nbl
Copy link
Contributor

Currently it is not possible because impCentral REST API (list devices: GET /devices request - with and without owner filter) does not return unassigned devices for collaborator accounts.
@betzrhodes could you pls check with Andrew/Kevin if this intentional or not.

@deldrid1
Copy link
Author

deldrid1 commented May 2, 2019

They show up on the impCentral GUI so they are in there somewhere...

@alexey-nbl
Copy link
Contributor

Maybe there is a non-public request/parameters... as happens for UI sometimes.
@betzrhodes could you pls clarify.

@betzrhodes
Copy link

betzrhodes commented May 2, 2019

I have just confirmed that the impCentral API request that filters on collaborator account only returns assigned devices. Talking with CTS team here and they are looking into a fix for this.

I have found a slightly modified impCentral API request that will combine filters and return only unassigned devices for a collaborators devices. This is how the UI is working, but I have confirmed this is different to how impt is working.

@alexey-nbl
Copy link
Contributor

This will be a usage of a non-official / non-documented REST API specifics. Do we really want to use it?
Also, need to decide to use it for this request only or for all filters (not only device filters).

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

No branches or pull requests

3 participants