Skip to content

update rules samples#1138

Draft
eschultink wants to merge 16 commits into
rc-v0.6.3from
s221-update-rules-samples
Draft

update rules samples#1138
eschultink wants to merge 16 commits into
rc-v0.6.3from
s221-update-rules-samples

Conversation

@eschultink
Copy link
Copy Markdown
Member

draft for now, as a bunch of style updates that we need to fix styling unification.

Fixes

Features

Logistics

Change implications

  • dependencies added/changed? no
  • something important to note in future release notes?
    • NOTE in CHANGELOG.md anything that will show up in terraform plan/apply that isn't
      obviously a no-op?
    • breaking changes? if in module/example that is NOT marked alpha, requires major version
      change: No breaking changes are introduced with this update. The changes are backward-compatible and aim to enhance clarity and usability of examples.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation rule samples and example API responses across multiple sources (Slack, Google Workspace, Cursor, ChatGPT Enterprise, Windsurf), primarily to standardize formatting and expand/align schema/rule coverage for additional endpoints and fields.

Changes:

  • Added/updated YAML rule definitions (endpoints, transforms, and response schemas) for Slack Discovery, Google Workspace (Calendar/Gmail/Meet/Gemini), and Cursor.
  • Added new “original” and “sanitized” example API response JSON files for the above sources.
  • Reformatted several existing sanitized JSON examples for consistent JSON style.

Reviewed changes

Copilot reviewed 36 out of 46 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
docs/sources/windsurf/example-api-responses/sanitized/UserPageAnalytics.json JSON formatting normalization for sanitized example.
docs/sources/slack/example-api-responses/sanitized/discovery-users-list.json New sanitized Slack discovery users list example.
docs/sources/slack/example-api-responses/sanitized/discovery-user-conversations.json New sanitized Slack discovery user conversations example.
docs/sources/slack/example-api-responses/sanitized/discovery-enterprise-info.json New sanitized Slack discovery enterprise info example.
docs/sources/slack/example-api-responses/sanitized/discovery-conversations-recent.json New sanitized Slack discovery recent conversations example.
docs/sources/slack/example-api-responses/sanitized/discovery-conversations-list.json New sanitized Slack discovery conversations list example.
docs/sources/slack/example-api-responses/sanitized/discovery-conversations-info.json New sanitized Slack discovery conversations info example.
docs/sources/slack/example-api-responses/sanitized/discovery-conversations-history.json New sanitized Slack discovery conversations history example.
docs/sources/slack/example-api-responses/original/discovery-users-list.json New original Slack discovery users list example.
docs/sources/slack/example-api-responses/original/discovery-user-conversations.json New original Slack discovery user conversations example.
docs/sources/slack/example-api-responses/original/discovery-enterprise-info.json New original Slack discovery enterprise info example.
docs/sources/slack/example-api-responses/original/discovery-conversations-recent.json New original Slack discovery recent conversations example.
docs/sources/slack/example-api-responses/original/discovery-conversations-list.json New original Slack discovery conversations list example.
docs/sources/slack/example-api-responses/original/discovery-conversations-info.json New original Slack discovery conversations info example.
docs/sources/slack/example-api-responses/original/discovery-conversations-history.json New original Slack discovery conversations history example.
docs/sources/slack/discovery.yaml New Slack discovery rules + schemas for multiple endpoints.
docs/sources/google-workspace/google-meet/google-meet_no-app-ids.yaml New Meet rules variant (no-app-ids) including transforms and schemas.
docs/sources/google-workspace/google-meet/google-meet.yaml New Meet rules variant including transforms, path parameter schema, and response schema.
docs/sources/google-workspace/google-meet/example-api-responses/sanitized_no-app-ids/admin_reports_v1_activity_users_all_applications_meet.json New sanitized Meet example (no-app-ids).
docs/sources/google-workspace/google-meet/example-api-responses/sanitized/admin_reports_v1_activity_users_all_applications_meet.json New sanitized Meet example (with app ids).
docs/sources/google-workspace/gmail/gmail.yaml Reordered transforms and added response schemas for Gmail endpoints.
docs/sources/google-workspace/gmail/example-api-responses/sanitized/messages.json JSON formatting normalization for sanitized messages list example.
docs/sources/google-workspace/gmail/example-api-responses/sanitized/message.json JSON formatting normalization for sanitized message example.
docs/sources/google-workspace/gemini-in-workspace-apps/gemini-in-workspace-apps_no-app-ids.yaml Schema tweak (intValue type) for Gemini rules (no-app-ids).
docs/sources/google-workspace/gemini-in-workspace-apps/gemini-in-workspace-apps.yaml Parameter schema key change + schema tweak (intValue type) for Gemini rules.
docs/sources/google-workspace/gemini-in-workspace-apps/example-api-responses/sanitized_no-app-ids/admin_reports_v1_activity_users_{userKey}_applications_gemini_in_workspace_apps.json JSON formatting normalization for sanitized Gemini example (no-app-ids).
docs/sources/google-workspace/gemini-in-workspace-apps/example-api-responses/sanitized/admin_reports_v1_activity_users_{userKey}_applications_gemini_in_workspace_apps.json JSON formatting normalization for sanitized Gemini example.
docs/sources/google-workspace/calendar/example-api-responses/sanitized/event.json JSON formatting + content adjustments for sanitized Calendar event example.
docs/sources/google-workspace/calendar/example-api-responses/sanitized/calendarList.json Simplified + reformatted sanitized Calendar list example.
docs/sources/google-workspace/calendar/example-api-responses/sanitized/calendar.json New sanitized Calendar “get calendar” example.
docs/sources/google-workspace/calendar/example-api-responses/original/calendar.json New original Calendar “get calendar” example.
docs/sources/google-workspace/calendar/calendar.yaml Major Calendar rules update: endpoints, query params, transforms, and detailed schemas.
docs/sources/cursor/example-api-responses/sanitized/team-members.json JSON formatting + additional fields in sanitized Cursor team members example.
docs/sources/cursor/example-api-responses/sanitized/filtered-usage-events.json JSON formatting + additional fields in sanitized Cursor usage events example.
docs/sources/cursor/example-api-responses/sanitized/daily-usage-data.json JSON formatting normalization for sanitized daily usage example.
docs/sources/cursor/example-api-responses/original/team-members.json Added fields to original Cursor team members example.
docs/sources/cursor/example-api-responses/original/filtered-usage-events.json Minor formatting + added fields to original Cursor usage events example.
docs/sources/cursor/cursor.yaml Cursor rules update: allowedMethods, added pseudonymization path, schema additions.
docs/sources/chatgpt-enterprise/example-api-responses/sanitized/users.json JSON formatting normalization for sanitized users example.
docs/sources/chatgpt-enterprise/example-api-responses/sanitized/projects.json JSON formatting normalization for sanitized projects example.
docs/sources/chatgpt-enterprise/example-api-responses/sanitized/conversations.json JSON formatting + structure adjustments for sanitized conversations example.
docs/sources/chatgpt-enterprise/example-api-responses/sanitized/conversation-messages.json JSON formatting normalization for sanitized conversation messages example.
docs/sources/chatgpt-enterprise/example-api-responses/sanitized/automations.json JSON formatting normalization for sanitized automations example.
docs/sources/chatgpt-enterprise/example-api-responses/original/conversations.json Adjusted original conversations example structure (removed embedded file metadata block).
Comments suppressed due to low confidence (1)

docs/sources/google-workspace/gemini-in-workspace-apps/gemini-in-workspace-apps.yaml:26

  • pathParameterSchemas.userKey uses or, but or is marked deprecated in com.avaulta.gateway.rules.ParameterSchema (use anyOf instead; or is slated for removal per ParameterSchemaUtils). Since this PR changes anyOf -> or, it increases future break risk; please keep/use anyOf here (and elsewhere) going forward.
    pathParameterSchemas:
      userKey:
        or:
          - type: "string"
            enum:
              - "all"
          - type: "integer"
            pattern: "^[0-9]+$"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- !<redactExceptPhrases>
jsonPaths:
- "$.items[*].summary"
- "$.items[*]summary"
Comment thread docs/sources/google-workspace/calendar/calendar.yaml Outdated
email:
type: "string"
id:
type: "integer"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot is that correct? is schema filter applied AFTER data transform from proxy?

Comment on lines +266 to +270
is_member:
type: "boolean"
is_moved:
type: "boolean"
is_mpim:
Comment thread docs/sources/google-workspace/google-meet/google-meet.yaml
Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 16, 2026

@eschultink I've opened a new pull request, #1140, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh, big changes/re-ordering of endpoints makes this a challenge to read. need to carefully review the output data.

# Conflicts:
#	docs/sources/zoom/example-api-responses/sanitized/list-user-meetings.json
#	docs/sources/zoom/example-api-responses/sanitized/list-users.json
#	docs/sources/zoom/example-api-responses/sanitized/meeting-details.json
#	docs/sources/zoom/example-api-responses/sanitized/past-meeting-participants.json
#	docs/sources/zoom/example-api-responses/sanitized/report-meeting-participants.json
#	docs/sources/zoom/example-api-responses/sanitized/report-user-meetings.json
#	docs/sources/zoom/example-api-responses/sanitized/user-settings.json
@eschultink eschultink changed the title S221 : update rules samples update rules samples Mar 25, 2026
@eschultink eschultink deleted the branch rc-v0.6.3 April 6, 2026 18:01
@eschultink eschultink closed this Apr 6, 2026
@eschultink eschultink reopened this Apr 6, 2026
@eschultink eschultink changed the base branch from rc-v0.5.19 to rc-v0.6.0 April 6, 2026 18:05
Base automatically changed from rc-v0.6.0 to main May 8, 2026 16:00
@eschultink eschultink changed the base branch from main to rc-v0.6.1 May 8, 2026 19:14
Base automatically changed from rc-v0.6.1 to main May 27, 2026 10:15
@eschultink eschultink changed the base branch from main to rc-v0.6.2 May 27, 2026 15:28
Base automatically changed from rc-v0.6.2 to main May 29, 2026 21:22
@eschultink eschultink changed the base branch from main to rc-v0.6.3 May 29, 2026 22:04
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