Sha256: 44a02fcba915cd479265357ef780eb1ac8d285581a7bf4661ddd666de771d649

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

{
  "featured_users": [],
  "category_list": {
    "can_create_category": false,
    "can_create_topic": false,
    "draft": null,
    "draft_key": "new_topic",
    "draft_sequence": null,
    "categories": [
      {
        "id": 1,
        "name": "test1",
        "color": "0000FF",
        "text_color": "FFFFFF",
        "slug": "test1",
        "topic_count": 0,
        "description": "Test category #1.",
        "topic_url": "/t/category-definition-for-test1/1",
        "hotness": 5,
        "read_restricted": false,
        "permission": null,
        "post_count": 0,
        "topics_week": 0,
        "topics_month": 0,
        "topics_year": 0,
        "description_excerpt": "Test category #1.",
        "featured_user_id    s": [],
        "topics": []
      },
      {
        "id": 2,
        "name": "test2",
        "color": "00FF00",
        "text_color": "FFFFFF",
        "slug": "test2",
        "topic_count": 0,
        "description": "Test category #2.",
        "topic_url": "/t/category-definition-for-test2/2",
        "hotness": 5,
        "read_restricted": false,
        "permission": null,
        "post_count": 0,
        "topics_week": 0,
        "topics_month": 0,
        "topics_year": 0,
        "description_excerpt": "Test category #2.",
        "featured_user_ids": [],
        "topics": []
      },
      {
        "id": 3,
        "name": "test3",
        "color": "FF0000",
        "text_color": "FFFFFF",
        "slug": "test3",
        "topic_count": 0,
        "description": "Test category #3.",
        "topic_url": "/t/category-definition-for-test3/3",
        "hotness": 5,
        "read_restricted": false,
        "permission": null,
        "post_count": 0,
        "topics_week": 0,
        "topics_month": 0,
        "topics_year": 0,
        "description_excerpt": "Test category #3.",
        "featured_user_ids": [],
        "topics": []
      }
    ]
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discourse_api-2.0.1 spec/fixtures/categories.json
discourse_api-2.0.0 spec/fixtures/categories.json