Skip to content

Fix stale requests in PDF Services Postman collection - #18

Merged
Existency merged 1 commit into
mainfrom
fix-postman-collection-drift
Sep 25, 2026
Merged

Existency merged 1 commit into
mainfrom
fix-postman-collection-drift

Conversation

@Existency

Copy link
Copy Markdown
Contributor

Summary

  • Fixes 5 requests in the PDF Services Postman collection that had drifted from the current API contract
  • Optimize was a dead copy-paste of Compress and never actually exercised the optimize method
  • Redact and Extract Bounding Boxes for Strings sent parameter shapes the API no longer accepts
  • Get Async Job Result pointed at a URL that 404s

Details

  • Optimize: method=compress, params={"level":2} → method=optimize, params={"profile":"web"}
  • Compress: dropped stale {"level":2} — compress takes no params
  • Redact: bounding boxes converted from normalized 0-1 floats to [x,y,w,h] points; dropped stale PIIType/confidence fields
  • Extract Bounding Boxes for Strings: extract-text-bounding-boxes → text-bounding-boxes; params {"texts":[...]} → {"queries":[{"text":...}]}
  • Get Async Job Result: /jobs/{jobId}/result (404) → /jobs/{jobId} (documented, works)

Test plan

  • All 5 fixed requests re-run against https://api.gonitro.dev with a live client credential pair — all return 200
  • Verified against current public-api-docs OpenAPI spec (Nitro/public-api-docs, api-reference/platform/blocks/components.json + paths/*.json) and paths/job.json

🤖 Generated with Claude Code

Optimize was a copy-paste of Compress and never actually exercised the
optimize method. Redact and Extract Bounding Boxes for Strings sent
parameter shapes the API no longer accepts. Get Async Job Result pointed
at a URL that 404s. All five fixed requests verified against the live
API.
@Existency
Existency requested a review from brianom September 25, 2026 09:40
@Existency
Existency merged commit c5ee35b into main Sep 25, 2026
2 checks passed
@Existency
Existency deleted the fix-postman-collection-drift branch September 25, 2026 10:57
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