cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13361
Views
7
Helpful
1
Replies

How to get platform information (Serial numbers, interface status, etc) into my app?

Levi Iiams
Level 1
Level 1

Like - is there an API call I can make against the CAF to get things like 829 SERIALNUMBER?

For example:

ioxclient platform info

How could I get the same output into my IOX application?

I can't seem to find solid CAF api documentation.  I know it must be possible, ioxclient can pull it.

1 Reply 1

Levi Iiams
Level 1
Level 1

Still didn't locate solid docs on this, but I did work it out.

1. Base64 encode the localmanager username:password
2. POST https://<GOSIP>:<GOSPORT>/iox/api/v2/hosting/tokenservice using encoded auth as a bearer token header, to retrive a token.
3. Use retrieved token to create a new header = 'X-Token-Id'
Using new header:

4. GET https://<GOSIP>:<GOSPORT>/iox/api/v2/hosting/platform/sysinfo


BAM!  I'm happy Now to see what else I can do with it!