Skip to content

Add missing Web.Contents options (RelativePath, ManualStatusHandling, etc.)#62

Merged
kyleamueller merged 2 commits into
mainfrom
feature/web-contents-options
Apr 7, 2026
Merged

Add missing Web.Contents options (RelativePath, ManualStatusHandling, etc.)#62
kyleamueller merged 2 commits into
mainfrom
feature/web-contents-options

Conversation

@kyleamueller
Copy link
Copy Markdown
Owner

Summary

  • Adds RelativePath, ManualStatusHandling, Timeout, IsRetry, ExcludedFromCacheKey, ManualCredentials, and ApiKeyName to the options table on both the api-authentication pattern and Web.Contents function page
  • New dedicated sections for RelativePath (with auto-/ gotcha) and ManualStatusHandling (with Value.Metadata example) on the pattern page
  • Updates the OAuth example to use RelativePath and Uri.BuildQueryString instead of manual string concatenation
  • Adds POST→GET refresh limitation and link to Štěpán Rešl's APIs as Power BI Datasources article
  • Fixes renderRemarks to support ### headings and fenced code blocks in function page Remarks sections (previously rendered as literal text)

Closes #61

Test plan

  • npm run typecheck passes
  • npm test — 45/45 tests pass
  • Verify ### headings render correctly on function pages (e.g. /functions/web-contents)
  • Verify code blocks in Remarks render correctly
  • Spot-check the pattern page at /patterns/api-authentication

🤖 Generated with Claude Code

…options

Addresses #61 — adds missing Web.Contents parameters (RelativePath,
ManualStatusHandling, Timeout, IsRetry, ExcludedFromCacheKey,
ManualCredentials, ApiKeyName) to both the api-authentication pattern
and Web.Contents function page. Updates the OAuth example to use
RelativePath and Uri.BuildQueryString. Fixes renderRemarks to support
### headings and code blocks in function page Remarks sections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pqm-guide Ready Ready Preview, Comment Apr 7, 2026 11:58pm

Three examples covering the most common patterns: basic GET + JSON
parse, RelativePath for PBI Service refresh, and ManualStatusHandling
for graceful 404 handling. All use live pqm.guide/api/tables endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kyleamueller kyleamueller merged commit 207fbd7 into main Apr 7, 2026
6 checks passed
@kyleamueller kyleamueller deleted the feature/web-contents-options branch April 8, 2026 00:20
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.

Web.Contents parameters: RelativePath, ManualStatusHandling

1 participant