Commit dd89ff2e authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

API: Add endpoint for finding patches via msg-ids

the endpoint is: /api/1.0/msgids/$MSG_ID/
msg-id works both with and without <>

output:
[{'patch_id': 112223,
  'project_id': 9,
  'series_id': 12938,
  'revisions': [1,2]},
 {'patch_id': 112224,
  'project_id': 18,
  'series_id': 12937,
  'revisions': [1]}]

The implementation is not using django-rest-framework because the
generated routes disallow dots in the identifiers and requires adding
much more boilerplate to have it working.
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 8d49649c
Pipeline #11464 passed with stage
in 11 minutes and 24 seconds