Problem/Motivation

The REST log module stores the URL that was called, including parameters, but doesn't store the actual resource ID that was called.

Storing the resource ID will allow us to do more complex analysis on the logs, such as performance logs per resource ID when combined with the request method, which is already stored.

Proposed resolution

- Add the REST resource ID to the logs
- Expose the REST resource ID in the views, and allow it to be searched on

Data model changes

- Adds the new field for the rest resource id to the entity

Issue fork rest_log-3520917

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jkingsnorth created an issue. See original summary.

jkingsnorth’s picture

Title: Include REST resource name in log » Include REST resource ID in log
jkingsnorth’s picture

Assigned: jkingsnorth » Unassigned
jkingsnorth’s picture

Tests pass - ready for review.