@this-npm-test-org/connection-devto
v0.0.2
Published
Publish and manage articles, comments, and tags on Dev.to. Read community content and user profiles.
Readme
Dev.to Connection
Connects your agent to Dev.to (Forem API v1) for publishing and managing developer community content. Read articles, comments, tags, and user profiles. Write operations (create and update articles) require confirmation.
Authentication
API key via header.
DEVTO_API_KEY— Dev.to API key (generate at https://dev.to/settings/extensions)
Use a dedicated API key per integration for easy revocation.
Endpoints
Articles
GET /articles— List published articles with filters (tag, username, state, top)GET /articles/:id— Get article detail with full bodyGET /articles/me— List authenticated user's articlesGET /articles/me/published— List user's published articles with statsGET /articles/me/unpublished— List user's draft articlesPOST /articles— Create article (requires confirmation)PUT /articles/:id— Update article (requires confirmation)
Comments
GET /comments— List comments by article (a_id) or podcast (p_id)GET /comments/:id— Get comment detail with nested repliesGET /articles/:id/comments— Get comments for a specific article
Tags
GET /tags— List popular tags
Users
GET /users/:id— Get user profile
Rules
- Rate limit: 10 requests per 30 seconds
- Article body is Markdown (
body_markdownfield) - Maximum 4 tags per article
- Set
canonical_urlwhen cross-posting to preserve SEO - Write operations (POST, PUT) always require confirmation
