Skip to content

fix(crons): Correct interval schedule value type from string to integer#17872

Open
ericapisani wants to merge 1 commit into
masterfrom
ep/correct-docs-for-interval-cron-monitor
Open

fix(crons): Correct interval schedule value type from string to integer#17872
ericapisani wants to merge 1 commit into
masterfrom
ep/correct-docs-for-interval-cron-monitor

Conversation

@ericapisani
Copy link
Copy Markdown
Member

@ericapisani ericapisani commented May 25, 2026

Correct interval schedule value type from string to integer

The docs showed the interval schedule value field as a quoted string ("2") in the JSON examples, but the API expects a numeric integer (2). This fixes the example in three places:

  • docs/platforms/javascript/common/crons/index.mdx
  • docs/product/monitors-and-alerts/monitors/crons/getting-started/http/index.mdx
  • includes/javascript-crons-upsert.mdx

Was initially raised in the Python SDK here

The interval schedule example used a quoted string value ("2") instead
of a numeric integer (2), which does not match the actual API schema.

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

vercel Bot commented May 25, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 25, 2026 6:06pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored May 25, 2026 6:06pm

Request Review

@ericapisani ericapisani marked this pull request as ready for review May 25, 2026 18:12
@ericapisani ericapisani requested a review from a team May 25, 2026 18:12
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.

1 participant