Skip to content

API endpoint to return consumer email #1493

Description

@rustyjux

User Story

As an API provider using API key auth,
I want to be able to retrieve consumer emails,
so that I can complete follow-up actions like notifications with that user.


Background

(see DATABC-6781 for original request)

LOC would like to be able to notify Batch Geocoder users that their batch job is complete. Current functionality has users interacting directly with the API, w/ Kong API key auth through the APS gateway, and then making a second call to retrieve the geocoder results. However, results may or may not be ready, so they want to improve their UX by notifying users. Currently, Kong returns the consumer username, but not email.


Acceptance Criteria

  • add Portal /ds/api endpoint to exchange consumer username for consumer email

    • should require auth and Access.Manage permission
    • should be limited to consumers in that gateway
  • consider also including consumer email in the exported Gateway Report 'Consumer Request' page (currently only includes requestor username from IdP)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions