Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Endpoint to create a doc from a string. #265

Open
AntoLC opened this issue Sep 17, 2024 · 0 comments
Open

✨Endpoint to create a doc from a string. #265

AntoLC opened this issue Sep 17, 2024 · 0 comments

Comments

@AntoLC
Copy link
Collaborator

AntoLC commented Sep 17, 2024

Feature Request

We want to interconnect Meet with Docs, Meet has a string and want to create a doc with it.
Problem, to fit the system the content has to be a Y.Doc with a json formatted in a way to be readable by the frontend editor.

Possible solution

Adapt POST /api/v1.0/documents/ to convert automatically in the good format depend some param.
By example, if create_content is set during the POST we will convert to Y.doc by ourself on the backend side:

Request payload:
{
   create_content: string;
   title: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant