Skip to content

33788-show-uploaded-continuation-out-docs-to-clients#4552

Merged
mruff-aeq merged 1 commit into
bcgov:mainfrom
mruff-aeq:33788-show-uploaded-continuation-out-docs-to-clients
Jul 6, 2026
Merged

33788-show-uploaded-continuation-out-docs-to-clients#4552
mruff-aeq merged 1 commit into
bcgov:mainfrom
mruff-aeq:33788-show-uploaded-continuation-out-docs-to-clients

Conversation

@mruff-aeq

@mruff-aeq mruff-aeq commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#33788

Description of changes:
Show uploaded continuation out documents to clients in the filing history ledger.

Testing:

1. Call the filing's documents endpoint (continuationOut filing, non-staff token):
curl -sS "http://127.0.0.1:5000/api/v2/businesses/BC0888001/filings/233929/documents" \
  -H "Authorization: Bearer $TOKEN" \
  -H "account-id: 3040" \
  -H "Accept: application/json" \
  -w "\nHTTP %{http_code}\n"

2. Response payload — staticDocuments now returned to non-staff:
{
  "documents": {
    "receipt": "/api/v2/businesses/BC0888001/filings/233929/documents/receipt",
    "staticDocuments": [
      {
        "name": "Test upload.pdf",
        "url": "/api/v2/businesses/BC0888001/filings/233929/documents/static/aaaaaaaa-1111-2222-3333-444444444444"
      }
    ]
  }
}
HTTP 200

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
36.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@mruff-aeq mruff-aeq merged commit 67c2859 into bcgov:main Jul 6, 2026
6 of 8 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.

3 participants