Skip to content

[ENG-12721] Feature/redirect attrs - #1103

Merged
futa-ikeda merged 3 commits into
CenterForOpenScience:feature/redirect-linksfrom
futa-ikeda:feature/redirect-attrs
Nov 18, 2026
Merged

futa-ikeda merged 3 commits into
CenterForOpenScience:feature/redirect-linksfrom
futa-ikeda:feature/redirect-attrs

Conversation

@futa-ikeda

@futa-ikeda futa-ikeda commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

  • Add new redirect-related link attr and automatic redirect flag to guids and provider models

Summary of Changes

  • Add new redirect_automatically attr and redirect_url URL field to API response of guid, registration, preprint, file, and node
    • Currently, only mapping the properties onto the guid model, as that should be the only model needed to implement the route guard that will be checking the guid's redirect URL
  • Add new redirect_automatically attr and redirect_url URL field to API response of all provider types
    • Mapped to all provider types to be used after provider is fetched in their respective landing/discover pages

Screenshot(s)

  • NA

Side Effects

QA Notes

@futa-ikeda
futa-ikeda merged commit 67f9ad0 into CenterForOpenScience:feature/redirect-links Nov 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants