List Devices Expand Misdocumentation


I was recently using the devices API and I wanted to use the expand query param defined here (Devices).

When I attempted to make a curl like this one (as defined in the documentation
curl -X GET "" -H "Authorization: SSWS xxx"
I get this repose
{"errorCode":"E0000002","errorSummary":"The request was not valid: Invalid expand operation specified: (string)","errorLink":"E0000002","errorId":"oaeRcKYr-mOTL-ykaUAKtUWhA","errorCauses":[]}%

If I set it eq to true it also fails and if I dont supply any query string it works but does not return _embedded.

What am I doing wrong?

Hey I figured it out,


You have to specify the expand value!

Might want to clarify the documentation.

1 Like

Thank you for your feedback! It does seem like we could show examples of possible values for the expand parameter in our documentation. I will pass this along to our documentation team so we can try to prevent future confusion regarding this.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.