sanger / sequencescape

Web based LIMS
MIT License
83 stars 32 forks source link

Y24-220 - Create API V2 end point for tag sets #4238

Open yoldas opened 1 month ago

yoldas commented 1 month ago

User story As PSD, we would like to design an API V2 endpoint to query tag sets. A tag set can be single index or dual index. A single index tag set has an association with one tag group. A dual index tag set has associations with two tag groups.

Who are the primary contacts for this story Abdullah, Andrew, Katy, Neil

Who is the nominated tester for UAT PSD

Acceptance criteria To be considered successful the solution must allow:

Dependencies This story is blocked by the following dependencies:

References This story has a non-blocking relationship with: See links in the parent research story.

Additional context Initial aim of this story is supporting the Limber UI story for selection of i7 and i5 tag groups for Limber Tagging screen by tag set name only; instead of specifying the groups separately. There will be a Limber UI story for that. For testing the endpoint, similar/modified payloads for LCA Connect PCRXP plate in Cardinal pipeline integration suite test may be useful.


Existing tag group listing

Existing tag group API request from Limber retrieves all tag groups by an adapter filter. The same result is listed in both i7 and i5 drop-downs. The following example shows the request and response headers and Preview of a tag group that would belong to a single-index tag set and a pair of tag groups that would belong to a dual-index tag set.

Screenshot 2024-07-31 at 14 54 39 Screenshot 2024-07-31 at 14 53 48
KatyTaylor commented 1 month ago

See existing API resource files for tag groups, to see what attributes are required? e.d. adapter_type is needed to filter the list on the tagging page.

yoldas commented 1 month ago

I have updated the criteria with more details and added an adapter_type filter requirement.