Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search - add relatedLink to Search Service results #133

Open
jonquandt opened this issue Aug 18, 2023 · 0 comments
Open

Search - add relatedLink to Search Service results #133

jonquandt opened this issue Aug 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Features Items currently under consideration by the govinfo team for development.

Comments

@jonquandt
Copy link
Member

jonquandt commented Aug 18, 2023

Story

As a API user, I want to be able to see related documents for my search results so that I can grab related content easily.

example

For BILLS/BILLSTATUS/PLAW collection results

“relatedLink”:”https://api.govinfo.gov/related/BILLS-113hr1206enr"

For CFR/FR/CHRG

“relatedLink”:”https://api.govinfo.gov/related/CFR-2022-title47-vol3-sec61-46"

Acceptance Criteria

  • search service responses would include a relatedLink key for all results that have defined relationships
  • handle both related endpoints based on the packageId and granuleId, as appropriate for individual collections.
@jonquandt jonquandt added the Features Items currently under consideration by the govinfo team for development. label Aug 18, 2023
@jonquandt jonquandt self-assigned this Aug 18, 2023
@jonquandt jonquandt added the enhancement New feature or request label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Features Items currently under consideration by the govinfo team for development.
Projects
None yet
Development

No branches or pull requests

1 participant