I'm writing some scripts to help me manage my dev.to articles. I was wondering how to do the following things using an API (if possible):
- Post a new article (by sending a markdown file)
- Update an existing article
- Submit an image and get back a URL to that image
Top comments (2)
Check out the docs if you haven't yet...
docs.dev.to/api
The first two are currently supported, the third point is not. Since any URL submitted will be wrapped by our CDN before being used, you can use a third party API to turn a local image into a usable URL for within DEV posts.
Thanks very much, this is great! I didn't know about the api docs!