References¶
Complete API Reference¶
Method | URL | Description |
---|---|---|
GET | /alerts |
Get a list of all assets. |
GET | /alerts/{alert_id} |
Get a single asset by asset id. |
GET | /assets |
Get a list of all assets. |
Method | URL | Description |
---|---|---|
GET | /assets/{asset_id} |
Get a single asset by asset id. |
POST | /assets |
Add a new asset. |
POST | /assets |
Add multiple new assets. |
PUT | /assets |
Updates a single asset. |
PUT | /assets |
Updates multiple assets. |
DELETE | /assets |
Deletes a single asset. |
DELETE | /assets |
Deletes multiple assets. |
GET | /system/stats |
Get system stats. |
/v2¶
Method | URL | Description |
---|---|---|
POST | /v2/login |
Get API token |
GET | /v2/lxt_updates |
Get all update requests |
POST | /v2/lxt_updates |
Add update request |
PUT | /v2/lxt_udpates |
Modify update request |
DELETE | /v2/lxt_udpates |
Delete update request |
GET | /v2/users |
Get all users |
POST | /v2/users |
Add user |
PUT | /v2/users |
Modify user |
PUT | /v2/users/deactivate |
Modify user status to deactivated |
PUT | /v2/users/reactivate |
Modify user status to active |
DELETE | /v2/users |
Delete user |
Status Codes¶
All status codes are standard HTTP status codes. The table below are status codes commonly used in the API.
Status Code | Description |
---|---|
200 | OK |
201 | Created |
202 | Accepted |
400 | Bad Request by Client |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal LayerX Error |
501 | Not Implemented |
503 | Service Unavailable |