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

getting resources by note #1956

Closed
foxmask opened this issue Oct 6, 2019 · 2 comments
Closed

getting resources by note #1956

foxmask opened this issue Oct 6, 2019 · 2 comments
Labels
api Joplin API enhancement Feature requests and code enhancements

Comments

@foxmask
Copy link
Contributor

foxmask commented Oct 6, 2019

Today, the API does not allow us to get the resources of a given note something like /note/:id/resources could be helpful.

The hidden reason is to use the store of the JS framework to keep the resource for the note and avoid to trigger a request for each resource :)

@foxmask foxmask added bug It's a bug api Joplin API enhancement Feature requests and code enhancements and removed bug It's a bug labels Oct 6, 2019
tessus pushed a commit that referenced this issue Oct 14, 2019
* update doc related to issue #1956

* Space line
@lock lock bot locked and limited conversation to collaborators Oct 14, 2019
@foxmask foxmask reopened this Oct 24, 2019
@foxmask
Copy link
Contributor Author

foxmask commented Oct 24, 2019

curl -XGET http://localhost:41184/notes/f5f101e5d57c4df6b1afff256da80b74/resources?token=<token>

gives

{"error":"Internal Server Error: Cannot read property 'body' of undefined"}

@laurent22
Copy link
Owner

Please open a new bug for this, otherwise it's hard to keep track of things.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api Joplin API enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

2 participants