Notify API Users When API Terms of Use Are Updated

Open
#140 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
18/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
api, backend

Research direction

The issue names no files, tests or entry points, so start by finding where API keys are generated and where account or ToU state is stored, if either exists. The work has three parts: an email sent when a ToU version is activated, an account flag that requires acceptance, and a block on new key generation until acceptance. Confirm the scope with the maintainers before coding, since the initial rollout and the ongoing flow are separate pieces.

Written by the indexing model from the issue text.

Description

UX

Business Value

API users need to be informed when the API Terms of Use (ToU) change so that they are aware of the terms applicable to their continued use of the APIs.

The notification mechanism will support the digital ToU acceptance process while avoiding unnecessary disruption to existing API integrations. Existing API keys will remain active, but users will be required to accept the latest ToU before generating new API keys.

Description

Implement an automated notification mechanism that sends an email to applicable API users when a new version of the API ToU is published/activated.

The notification must support two scenarios:

  1. Initial implementation

When the digital ToU capability is first deployed, send the notification to existing API users/accounts informing them of the current ToU and the new digital acceptance process.

  1. Future ToU updates

Whenever a new version of the ToU is activated:

  • identify the applicable API accounts/users;
  • send notification informing them that the ToU has changed;
  • provide access to the current ToU;
  • indicate that existing API keys will continue to operate;
  • mark the account as requiring acceptance of the latest ToU;
  • prevent generation of a new API key until the latest ToU has been accepted.

Once the current ToU is accepted, normal API key generation becomes available.

Dominant language
No language data
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bcgov/connect

All issues in bcgov/connect

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.