• Arkadiusz Hiler's avatar
    API: Add endpoint for finding patches via msg-ids · dd89ff2e
    Arkadiusz Hiler authored
    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>
    dd89ff2e
Name
Last commit
Last update
docs Loading commit data...
git-pw Loading commit data...
htdocs Loading commit data...
lib Loading commit data...
patchwork Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
manage.py Loading commit data...
tox.ini Loading commit data...