Skip to content

Document Uploads: New v2 endpoint #1169

Closed

Description

@kartpop

Is your feature request related to a problem?
Document uploads currently take up to ~8 seconds on the backend, which impacts performance. There is a need for a cleaner, more efficient solution for document uploads.

Describe the solution you'd like

  • Create a v2 documents endpoint that uses presigned-URL only with clean application/json, no multipart form data.
  • Deprecate the v1 documents endpoint.
  • Encourage Glific to migrate to v2.
Original issue

Context

Document uploads currently take up to ~8 seconds on the backend. An existing issue covers presigned-URL uploads for the knowledge base; this issue is specifically about creating a clean v2 documents endpoint.

Decision

  • Create a v2 documents endpoint that is presigned-URL only — clean application/json, no multipart form data.
  • Deprecate the v1 documents endpoint.
  • Nudge Glific to migrate to v2.

Rationale

Offloads the backend where uploads currently take up to ~8 seconds.

Acceptance criteria

  • v2 endpoint accepts JSON-only, presigned-URL-based upload flow.
  • v1 is marked deprecated with a migration path documented for Glific.

Related: #1143

Activity

  1. changed the title [-]Create v2 presigned-URL-only documents upload endpoint and deprecate v1[/-] [+]Document Uploads: New v2 endpoint[/+] on Aug 28, 2026
  2. self-assigned this
    on Sep 3, 2026
  3. moved this from To Do to In Progress in Kaapi-devon Sep 3, 2026
  4. moved this from In Progress to In Review in Kaapi-devon Sep 4, 2026
  5. moved this from In Review to Closed in Kaapi-devon Sep 10, 2026
  6. github-actions commented on Sep 10, 2026

    @github-actions

    🎉 This issue has been resolved in version 1.7.0-main.1 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions