Get enterprise logs
| Properties | Values |
|---|---|
| HTTP methods | GET |
| Interface path | /nd/api/enterprise/enterprise_logs |
| Category | Enterprise API |
Interface description
Interface path: /nd/api/enterprise/enterprise_logs
HTTP method: GET
HTTP method: GET
URL parameters
| Parameter | Type | Description (source requirements, defaults and scope) |
|---|---|---|
department_id |
string |
department id() |
pagesize |
number |
page size , default value 1000 |
start_index |
number |
message starting position, |
keyword |
string |
log keyword |
startTime |
number |
start date: seconds |
endTime |
number |
expiration date seconds |
Scroll horizontally to view all columns
Return field description
{"logs":[],"total":0,"code":0,"success":true}
total returns all those that meet the conditions (regardless of paging pageSize)
Call instructions
- Before calling, you need to complete Get token or the corresponding login-free authentication, and carry
Authorization: Bearer <access_token>in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Enterprise API.