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

Ability to post Markdown files as nodes via write API (with token) #921

Open
jywarren opened this issue Oct 25, 2016 · 1 comment
Open
Milestone

Comments

@jywarren
Copy link
Member

It's possible to use relative links in Github repository README files, and convert them into absolute links using the latest commit hash. Example:

Version-static README: https://github.com/OpenWaterProject/riffle_328/blob/84f5294/README.md#quick-start -- this could be an activity on Public Lab.

So the format is:

https://raw.githubusercontent.com/<github user>/<repository name>/<commit hash>/relative/path/to/image.jpg

I wonder if this could be set up with some kind of interface... open design question to explore later.

@jywarren
Copy link
Member Author

This could be done via the write API -- see https://github.com/publiclab/plots2/milestone/11 using a token from the commandline! We could potentially develop a javascript library for this kind of thing.

@jywarren jywarren changed the title Ability to repost github files as research notes/activities Ability to post Markdown files as nodes via write API (with token) Jan 17, 2018
@jywarren jywarren added this to the API and search improvements milestone Jan 17, 2018
@ebarry ebarry modified the milestones: Search improvements, API Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants