Page 3
Lantronix LSS2200-8P API User Guide Contents 1. Introduction ................................4 Product Description ..............................4 About This Manual ..............................4 Related Manuals ..............................4 LSS2200-8P REST API ............................4 Path Structure .................................5 Using and Testing ..............................5 To use the built-in Swagger UI client ........................5 Using Command Line Clients (curl, postman) ....................6 Troubleshooting ..............................7...
Page 4
Input/Outputs with 12V power output, and one (1) RJ-45 console port. About This Manual This manual describes how to use the LSS2200-8P REST API. Note that this manual may provide links to third party websites for which Lantronix is not responsible.
Page 5
The LSS2200-8P Web UI uses the LSS2200-8P REST API to interact with the management layers. It is also possible to interact directly with the LSS2200-8P REST API using the built-in Swagger UI (https://swagger.io/tools/swagger-ui/) or any command line HTTP web service, such as Curl (https://curl.se/) or Postman (https://www.postman.com/).
Page 6
Lantronix LSS2200-8P API User Guide Using Command Line Clients (curl, postman) Curl examples with data fields Note: Login is required, so you must set the authentication header using the "Bearer <key>" string obtained above in the Authentication section. Example: -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTYyMTQ2MjkzMywianRpIjoiNz...
Page 7
Lantronix LSS2200-8P API User Guide Troubleshooting Note: TheLSS2200-8P REST API uses a time-dependent web token. If the system time is changed, subsequent REST requests may return an unauthorized response, as shown below. If that occurs, the client must logout and log in again to continue using the REST API.
Page 8
Irvine, CA 92618, USA Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-453-3995 Technical Support Online: https://www.lantronix.com/technical-support/ Sales Offices For a current list of our domestic and international sales offices, go to the Lantronix web site at www.lantronix.com/about/contact. 33863 Rev. A https://www.lantronix.com/...
Need help?
Do you have a question about the LSS2200-8P and is the answer not in the manual?
Questions and answers