anyproto / anyproto/anytype-api
Support setting the cover image of an object
Nobody has claimed this yet.
- 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 I don't see a field where one can set the cover image of an object.
Properties in the API do support files looking through the doc:
The format of the property used for filtering
Possible values: [text, number, select, multi_select, date, files, checkbox, url, email, phone, objects]
But I'm unsure which key to target?
Suggested solution
A small example showing which key to use to set the cover of an object, or API support if it isn't already there.
Alternative
No response
Additional context
Would like to make a tracker for books read, to read etc and setting the cover would be very much appreciated!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the API documentation and its property format, especially the listed files value. Determine whether an existing property key can set an object's cover image or whether API support is missing. Done means providing a working example with the correct key, or documenting the required API change and its expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, openapi
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100