GET api/Logs/{id}
Returns a log entry.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the log entry to return. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
LogEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the log entry. |
globally unique identifier |
Required |
| Category |
The category of the log entry. Where: 9 is "ImportContentKeys"; 10 is "ExportContentKeys"; 11 is "AddContentKey"; 12 is "UpdateContentKey"; 13 is "DeleteContentKey"; 14 is "ImportKeySeeds"; 15 is "ExportKeySeeds"; 16 is "AddKeySeed"; 17 is "UpdateKeySeed"; 18 is "DeleteKeySeed". |
byte |
Required |
| Timestamp |
The date when the log entry was added (in the ISO 8601 format). |
date |
Required |
| ManagementKeyId |
The ID of the management key that produced this log entry. |
globally unique identifier |
None. |
| RequestUrl |
The URL of the request that produced this log entry. |
string |
None. |
| RequestBody |
The body of the request that produced this log entry. |
string |
None. |
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - The log entry is found and returned.
- BadRequest (400) - The ID of a log entry is invalid.
- NotFound (404) - The log entry with the specified ID is not found.
Response Formats
application/json, text/json
{
"Id": "d90343a7-1b55-4d65-affb-f382bd766383",
"Category": 64,
"Timestamp": "2025-11-29T20:52:02.6678455+00:00",
"ManagementKeyId": "e0fca0c3-c5d4-4187-8c7f-f1acc9ec800f",
"RequestUrl": "sample string 4",
"RequestBody": "sample string 5"
}