elastic/elasticsearch

Add resource ID to 404 response body

Open

#82,675 opened on Jan 17, 2022

View on GitHub
 (14 comments) (0 reactions) (0 assignees)Java (25,882 forks)batch import
:Core/Infra/Core>enhancementTeam:Core/Infrahelp wanted

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (Avg merge 2d 5h) (1,000 merged PRs in 30d)

Description

It would be very useful to be able to easily extract the id of the resource thats not found from the body of a 404 request. I believe this would involve adding the ID to ResourceNotFoundException.

Contributor guide