Skip to content

File Upload Support in REST API #20

@c-st

Description

@c-st

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

I'm working on an integration for transferring handwritten notes into Anytype. The idea is to convert these notes to searchable PDFs/text and sync them to Anytype. This works well for text content using the current REST API.
However, file uploads don't appear to be supported. I cannot find an endpoint to upload images or PDFs and attach them to objects.

Suggested solution

Add file upload support to the REST API (e.g., POST /v1/spaces/{space_id}/files or multipart upload on object creation).

Alternatively, if there are architectural reasons this isn't feasible for the REST API, guidance on whether the internal gRPC APIwould be a viable approach for self-hosted instances would be helpful.

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions