Skip to content
  • 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: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
    dd89ff2e