DEV Community · Example Payload

Createarticle Response 201

Developer CommunityArticlesBloggingSocialContentOpen Source

Createarticle Response 201 is an example object payload from DEV Community, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathstatusresponse

Example Payload

Raw ↑
{
  "operationId": "createArticle",
  "method": "POST",
  "path": "/api/articles",
  "status": "201",
  "response": {
    "type_of": "article",
    "id": 2233,
    "title": "New article",
    "description": "New post example",
    "readable_publish_date": "May 28",
    "slug": "new-article-2gaj",
    "path": "/username8/new-article-2gaj",
    "url": "http://forem.test/username8/new-article-2gaj",
    "comments_count": 0,
    "public_reactions_count": 0,
    "collection_id": 13,
    "published_timestamp": "2026-05-28T18:45:16Z",
    "language": "en",
    "subforem_id": null,
    "positive_reactions_count": 0,
    "cover_image": "https://thepracticaldev.s3.amazonaws.com/i/5wfo25724gzgk5e5j50g.jpg",
    "social_image": "https://thepracticaldev.s3.amazonaws.com/i/5wfo25724gzgk5e5j50g.jpg",
    "canonical_url": "https://dev.to/fdocr/headless-chrome-dual-mode-tests-for-ruby-on-rails-4p6g",
    "created_at": "2026-05-28T18:45:16Z",
    "edited_at": null,
    "crossposted_at": null,
    "published_at": "2026-05-28T18:45:16Z",
    "last_comment_at": "2026-05-28T18:45:16Z",
    "reading_time_minutes": 1,
    "tag_list": "",
    "tags": [],
    "body_html": "<p><strong>New</strong> body for the article</p>\n\n",
    "body_markdown": "**New** body for the article",
    "user": {
      "name": "Delorse \"Duncan\" \\:/ Kerluke",
      "username": "username8",
      "twitter_username": "twitter8",
      "github_username": "github8",
      "user_id": 4056,
      "website_url": null,
      "profile_image": "/uploads/user/profile_image/4056/149b80c3-1a8e-4e1f-ac70-9da821c6eb8a.jpeg",
      "profile_image_90": "/uploads/user/profile_image/4056/149b80c3-1a8e-4e1f-ac70-9da821c6eb8a.jpeg"
    }
  }
}