Skip to content

[api] add delete conversation & back-office task endpoints#31

Merged
gmtuca merged 6 commits into
mainfrom
api-client-sync/2026-07-17
Jul 20, 2026
Merged

[api] add delete conversation & back-office task endpoints#31
gmtuca merged 6 commits into
mainfrom
api-client-sync/2026-07-17

Conversation

@gmtuca

@gmtuca gmtuca commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds two new DELETE endpoints to the Java client, mirroring the existing deleteArticle plumbing:

  • client.deleteConversation(String conversationId)DELETE /conversations/{id}
  • client.deleteBackOfficeTask(String taskId)DELETE /back-office-tasks/{id}

Both require a Management API key, perform deletion asynchronously, and a successful call is acknowledged with a 202 Accepted response.

Version bump

Separate commit bumps the project version from 1.0.0-SNAPSHOT to 1.0.1-SNAPSHOT (minor, dev bump — -SNAPSHOT retained). Updated the parent pom.xml and the two child modules (gradient-labs-client, gradient-labs-spring-boot-starter) that reference the parent version explicitly.

Verification

  • mvn verify — BUILD SUCCESS
  • New GradientLabsClientTest covering both endpoints passes (2 tests), full client suite green (5 tests, 0 failures)

🤖 Generated with Claude Code

gmtuca and others added 2 commits July 17, 2026 15:33
Add deleteConversation (DELETE /conversations/{id}) and deleteBackOfficeTask
(DELETE /back-office-tasks/{id}), mirroring the existing deleteArticle plumbing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gmtuca
gmtuca force-pushed the api-client-sync/2026-07-17 branch from ca2cd8f to 1c4e6a3 Compare July 17, 2026 14:59

gmtuca commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Jul 20, 1:07 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 20, 1:07 PM UTC: @gmtuca merged this pull request with Graphite.

@gmtuca
gmtuca merged commit 620107a into main Jul 20, 2026
1 check failed
@gmtuca
gmtuca deleted the api-client-sync/2026-07-17 branch July 20, 2026 13:07
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.

2 participants