anyproto / anyproto/anytype-api

PUT/POST AnyBlock instead of a markdown body

Open
#33 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
113
Forks
20
Avg merge
16m
Merged PRs (30d)
1

Description

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

Currently one submits strings containing markdown to the API. It would be nice if it supported AnyBlock structures as well.

Suggested solution

I'm not sure what's needed here to solve this, so I also can't really suggest an useful solution.

Alternative

Markdown currently as-is works fine, it's limited in the markdown features though and more involved blocks can't be created.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the API entry point that currently accepts markdown strings and the AnyBlock structure referenced in the request. The issue does not name files or tests, so first clarify the supported AnyBlock payload and acceptance criteria; done should mean the API accepts those structures while retaining current markdown support.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.