bcgov / bcgov/entity

MHR API - Retrieve rejection report from DRS API via MHR Api

Open
#32,296 0 comments 0 reactions 0 assignees View on GitHub
Assets
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

New MHR API wrapper call to retrieve a rejection report pdf from the DRS API.
- Use the mhr_registrations_report table new drs_id column value to retrieve the document either as binary data or a download link
- Use a SA token (with the SYSTEM role) when submitting the DRS API request GET /doc/api/v1/searches/MHR?documentServiceId={drs_id}.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the MHR API wrapper entry point and the mhr_registrations_report table or schema; start by tracing how the new drs_id value is stored and how existing DRS API calls authenticate. Verify GET /doc/api/v1/searches/MHR?documentServiceId={drs_id} with a SYSTEM-role SA token, and consider the work done when the rejection report is returned as binary data or a download link.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, postgres
Domain
api, backend, databases, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.