articles
Published article by path
Changed onThis endpoint allows the client to retrieve a single published article given its username and slug (the URL-friendly path identifier).
Usage Tip:
- Handy for resolving absolute Forem/DEV article URLs (e.g., https://dev.to/username/slug) into their corresponding API data models.
get/api/articles/{username}/{slug}
Request
- Base URLhttps://dev.to
- Authnone required
Path parameters
usernamestring required
The username of the article's author or organization.
slugstring required
The URL-friendly slug of the article (e.g. my-first-post-1234).
Response
An Article
object required
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- breaking
removed the media type
application/jsonfor the response with the status
- breaking