Audit log
Get audit log entry
Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including:
- previousVersion: a JSON representation of the previous version of the entity.
- currentVersion: a JSON representation of the current version of the entity.
- delta: the JSON patch body that was used in the request to update the entity. This is only included if the update was made through a JSON patch. It is null when the update was made using semantic patch. Because most flag updates are made using semantic patch, this field is rarely returned.
get/api/v2/auditlog/{id}
Path parameters
idstring string required
The ID of the audit log entry
The ID of the audit log entry
Response
Audit log entry response
Example response
{
"_id": "1234a56b7c89d012345e678f",
"_accountId": "1234a56b7c89d012345e678f",
"name": "Example feature flag",
"description": "Example, turning on the flag for testing",
"shortDescription": "Example, turning on the flag",
"comment": "This is an automated test",
"member": {
"_id": "507f1f77bcf86cd799439011",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"token": {
"name": "DevOps token",
"ending": "2345"
},
"titleVerb": "turned on the flag",
"target": {
"name": "Example flag name",
"resources": [
"proj/example-project:env/production:flag/example-flag"
]
},
"subentries": [
{
"_id": "1234a56b7c89d012345e678f",
"_accountId": "1234a56b7c89d012345e678f",
"name": "Example feature flag",
"description": "Example, turning on the flag for testing",
"shortDescription": "Example, turning on the flag",
"comment": "This is an automated test",
"member": {
"_id": "507f1f77bcf86cd799439011",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"token": {
"name": "DevOps token",
"ending": "2345"
},
"titleVerb": "turned on the flag",
"target": {
"name": "Example flag name",
"resources": [
"proj/example-project:env/production:flag/example-flag"
]
}
}
]
}