Resolve id in log events. Rename it to log_id.
radiopapus opened this issue · 1 comments
radiopapus commented
Hey, guys.
Log event response contains log_id field but class contains id field and @JsonProperty("_id"). See response example https://auth0.com/docs/api/management/v2/#!/Logs/get_logs
public class LogEvent {
@JsonProperty("_id")
private String id;
...
}
Describe the ideal solution
Could you just add log_id instead of _id. I mean @JsonProperty("_id") -> @JsonProperty("log_id")
Additional information, if any
This is for 1.33.0 version.
Thanks.
jimmyjames commented
Thanks for raising this @ViktorZharina! You are correct that the documentation response example shows log_id
, and not _id
. However, actual responses have both. I'm going to add a new field, log_id
, to maintain the ability to use both.