Skip to content

Add Lists, Events, privacy request and webhook demos#7

Closed
bartes wants to merge 1 commit into
mainfrom
feat/lists-privacy-webhook-demos
Closed

Add Lists, Events, privacy request and webhook demos#7
bartes wants to merge 1 commit into
mainfrom
feat/lists-privacy-webhook-demos

Conversation

@bartes

@bartes bartes commented Jun 10, 2026

Copy link
Copy Markdown

Adds demo endpoints that exercise the Castle SDK directly and links them from the home page:

  • /lists-demo — creates a list, adds an item, queries the items, lists all lists and deletes the list.
  • /events-demo — fetches the event schema and queries events.
  • /privacy-demo?userId=... — requests the data Castle holds for a user.
  • /webhooks — verifies the X-Castle-Signature header against the raw request body and lists verified payloads.

Bumps the castle-java dependency to 2.2.0 and the app version to 1.5.0.

Add demo endpoints exercising the SDK directly: /lists-demo (Lists and list
items lifecycle), /events-demo (event schema and query), /privacy-demo
(privacy data request) and /webhooks (verifies the X-Castle-Signature header
against the raw request body). Link them from the home page.

Bump the castle-java dependency to 2.2.0 and the app version to 1.5.0.
@bartes

bartes commented Jun 12, 2026

Copy link
Copy Markdown
Author

Superseded by #8, which rebuilds the example on castle-java 3.0.0 and demonstrates the same surface (Lists, Events, Privacy and webhook signature verification) as part of the Spring Boot app.

@bartes bartes closed this Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant