Skip to content

feat: SDK update for version 30.7.0 - #89

Open
lohanidamodar wants to merge 2 commits into
mainfrom
release-30.7.0
Open

lohanidamodar wants to merge 2 commits into
mainfrom
release-30.7.0

Conversation

@lohanidamodar

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 30.7.0.

What's Changed

  • Added: analytics service to create, list, get, update and delete analytics properties
  • Added: analytics.createEvent to send events from a server, with userId, ip and userAgent overrides for API keys with the analytics.write scope
  • Added: analytics.listMetrics to query visitors, sessions, views and events over time or broken down by a dimension
  • Added: analytics.listAnnotations, createAnnotation, getAnnotation, updateAnnotation and deleteAnnotation
  • Added: AnalyticsProperty, AnalyticsAnnotation and AnalyticsMetric models, their list models, and the AnalyticsDimension, AnalyticsInterval and AnalyticsPropertyType enums

@appwrite

appwrite Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
87e7d6e Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The previously reported authentication mismatch is fixed, and no issues remain in the reviewed changes.

Adds the Analytics service with property CRUD, event ingestion, metric queries, and annotation CRUD, along with their response models and enums. Updates the SDK and gem metadata to version 30.7.0 and adds Ruby examples for the new endpoints.

Latest changes: The latest commit changes the create-event example from session authentication to an API key, matching the authentication requirement for the identity overrides shown there.

Walkthrough (6)
File Change
CHANGELOG.md, appwrite.gemspec, lib/appwrite/client.rb Documents version 30.7.0 and updates the gem and request version metadata.
lib/appwrite.rb Loads the new Analytics models, enums, and service.
lib/appwrite/services/analytics.rb Adds property, event, metric, and annotation API operations.
lib/appwrite/models/analytics_annotation.rb, lib/appwrite/models/analytics_annotation_list.rb, lib/appwrite/models/analytics_metric.rb, lib/appwrite/models/analytics_metric_list.rb, lib/appwrite/models/analytics_property.rb, lib/appwrite/models/analytics_property_list.rb Adds the Analytics response models and list models.
lib/appwrite/enums/analytics_dimension.rb, lib/appwrite/enums/analytics_interval.rb, lib/appwrite/enums/analytics_property_type.rb Adds Analytics dimension, interval, and property type enums.
docs/examples/analytics/*.md Adds Ruby examples for Analytics properties, events, metrics, and annotations; the event example uses API-key authentication for identity overrides.
Fixed since the last review (1)
  • The event example uses session auth for API-key-only overrides · docs/examples/analytics/create-event.md:9

Reviewed the commits since ac8ed2a

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Tier A · Looks good to merge. Summary

Comment thread docs/examples/analytics/create-event.md Resolved

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

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