Add include parameter for GET specifications endpoint

Description

Requirements:

Add include query parameter to the GET /speciifications endpoint with possible values:

  • none - will return only specification record fields

  • fields.required - will return specification record fields and fields that have required=true

  • all - will return specification record fields and all related fields (with subfields, indicators, indicators codes) and rules. No metadata returns in this case.

Environment

None

Potential Workaround

None

Attachments

5

Checklist

hide

Activity

Show:

Valery_PilkoJuly 12, 2024 at 2:56 PM

Re-tested on Snapshot-2:
Issue 1 is fixed, see attached screenshot:

Ready for PO review

Valery_PilkoJuly 9, 2024 at 3:58 PM


Tested on Snapshot-2 environment, see results below:
”include”=none - works as expected


”include”=all - works as expected


”include”=fields.required - works as expected




Following issue is found:
Issue 1 - Indicator codes are returned in response of GET “/specification-storage/fields/<MARC field id>/indicators”
See attached screenshot:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 4, 2024 at 10:37 AM
Updated July 19, 2024 at 1:42 PM
Resolved July 19, 2024 at 1:42 PM
TestRail: Cases
TestRail: Runs