Sphere
The Sphere payload.
| Field | Type | Description | 
|---|---|---|
| id | Number | The spheres’s ID. | 
| owner_id | Number | The ID of the sphere’s owner. | 
| name? | String | The name of the sphere. | 
| slug | String | The slug of the sphere. | 
| type | SphereType | The sphere’s type. | 
| description? | String | The sphere’s description, can be between 1 and 4096 characters. | 
| icon? | Number | The sphere’s icon. This field has to be a valid file ID in the “sphere-icons” bucket. | 
| banner? | Number | The sphere’s banner. This field has to be a valid file ID in the “sphere-banners” bucket. | 
| badges | Number | The sphere’s badges as a bitfield. | 
| categories | Array of Categorys | The categories that this sphere contains. | 
| members | Array of Members | The members that are inside this sphere. | 
| emojis | Array of Emojis | The emojis that this sphere has. | 
Example
{
  "id": 4080402038786,
  "owner_id": 4080403808259,
  "slug": "spehre",
  "name": "Spehre",
  "type": "HYBRID",
  "description": "Truly the sphere of all time",
  "icon": 4080412852228,
  "badges": 0,
  "categories": [
    {
      "id":5490083823619,
      "name":"uncategorised",
      "position":0,
      "channels": [
        {
          "type":"TEXT",
          "id":5490083823620,
          "sphere_id":5490083823619,
          "name":"general",
          "position":0,
          "category_id":5490083823619
        }
      ]
    }
  ],
  "members": [
    {
      "user": {
        "id": 5490049220609,
        "username": "John-Mahjong",
        "social_credit": 0,
        "status": {
          "type": "ONLINE"
        },
        "badges": 0,
        "permissions": 0,
        "email": "john.mahjong@example.com",
        "verified": false
      },
      "sphere_id": 5490083823619
    }
  ]
}