Sha256: 00052f1456fb221d55b5a0b6e3d570b6202b510b914169ff44140e9a7e9470d7

Contents?: true

Size: 1.85 KB

Versions: 8

Compression:

Stored size: 1.85 KB

Contents

{
  "post_stream":{
    "posts":[
      {
        "id":123456,
        "name":"Someones Name",
        "username":"Some-username",
        "avatar_template":"https://avatars.discourse.org/v4/letter/w/abcd123/{size}.png",
        "created_at":"2020-01-27T11:32:03.646Z",
        "cooked":"<p>Some text.</p>",
        "post_number":2,
        "post_type":1,
        "updated_at":"2020-01-27T11:32:03.646Z",
        "reply_count":0,
        "reply_to_post_number":null,
        "quote_count":0,
        "incoming_link_count":0,
        "reads":2,
        "readers_count":1,
        "score":45.2,
        "yours":false,
        "topic_id":57,
        "topic_slug":"some-topic-slug",
        "display_username":"Someones Name",
        "primary_group_name":null,
        "primary_group_flair_url":null,
        "primary_group_flair_bg_color":null,
        "primary_group_flair_color":null,
        "version":1,
        "can_edit":true,
        "can_delete":true,
        "can_recover":false,
        "can_wiki":true,
        "read":true,
        "user_title":null,
        "actions_summary":[{"id":2,"count":3,"can_act":true}],
        "raw": [{"type":"paragraph","children":[{"text":"This is a raw post  I've got white   space!... and emojis 😈😈😈😈😈😈"}]}],
        "moderator":false,
        "admin":false,
        "staff":false,
        "user_id":123,
        "hidden":false,
        "trust_level":3,
        "deleted_at":null,
        "user_deleted":false,
        "edit_reason":null,
        "can_view_edit_history":true,
        "wiki":false,
        "reviewable_id":0,
        "reviewable_score_count":0,
        "reviewable_score_pending_count":0,
        "user_created_at":"2018-01-10T21:29:15.554Z",
        "user_date_of_birth":null,
        "can_accept_answer":false,
        "can_unaccept_answer":false,
        "accepted_answer":false
      }
    ]
  },
  "id":57
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
discourse_api-2.0.1 spec/fixtures/topic_posts.json
discourse_api-2.0.0 spec/fixtures/topic_posts.json
discourse_api-1.1.0 spec/fixtures/topic_posts.json
discourse_api-1.0.0 spec/fixtures/topic_posts.json
discourse_api-0.48.1 spec/fixtures/topic_posts.json
discourse_api-0.48.0 spec/fixtures/topic_posts.json
discourse_api-0.47.0 spec/fixtures/topic_posts.json
discourse_api-0.46.0 spec/fixtures/topic_posts.json