Sqabl APIs
  1. alert
Sqabl APIs
  • https
    • v1
      • Auth
        • Sign Up
        • Sign In
        • Sign Out
        • Refresh Access Token
        • Get user by token
        • Change password
      • OTP
        • Verify OTP
        • Generate OTP
        • OTP Status
      • User
        • Get user
        • Get user by token
        • Update user
        • Get user's followers
        • Get user's followees
        • Get user's referred members
        • Get user's interacted items
        • Get user's bookmarks
        • Flag a user
        • Follow user
        • Unfollow user
        • Block a user
        • Unblock a user
        • Delete user's picture
        • Delete user
      • Users
        • Get users
      • Arenas
        • Get arenas
        • Create an arena
        • Invite users to arenas
      • Arena
        • Get arena
        • Update arena
        • Join an arena
        • Leave an arena
        • Get arena members
        • Add users to arena
        • Remove members from an arena
        • Update an arena member
      • Posts
        • Get posts
        • Create a post
      • Post
        • Get a post
        • Update a post
        • Delete a post
        • Flag a post
        • Flame a post
        • Unflame a post
        • Save a post
        • Unsave a post
        • Hide a post
        • Get post participants
        • Participate in a post
        • Get post comments
        • Comment on a post
      • Comment
        • Get comment
        • Delete a comment
        • Flag a comment
        • Flame a comment
        • Unflame a comment
        • Save a comment
        • Unsave a comment
      • Alerts
        • Get user's alerts
        • Mark some or all alerts read
      • Flags
        • get flags
      • Faqs
        • get faqs
      • Interests
        • get interests
      • Search
        • get popular search keywords
      • Signed Upload URL
        • get signed url for upload
    • v2
      • alerts
        • get alerts
      • arena
        • create post
        • get arena
        • get arena posts
        • get fans
        • get members
        • get moderators
        • update arena
        • get arena restricted posts
        • warn a member
        • update member
        • delete member
        • block member
      • arenas
        • get arenas
        • create arena
      • arena-categories
        • get arena categories
      • auth
        • get user by access token
        • get user by refresh token
        • sign in
        • sign up
      • comment
        • get comment
        • get replies
        • flame comment
        • unflame comment
        • save comment
        • unsave comment
        • get flaggers
        • flag comment
        • dismiss flags
        • hide comment
        • unhide comment
      • existence
        • check email
        • check username
      • marked-items
        • __read me
        • get marked-items in arenas you moderate
      • post
        • get post
        • flame post
        • unflame post
        • update post
        • participate in a post
        • get all participants
        • get opposing participants
        • get supporting participants
        • get option participants
        • save post
        • unsave post
        • get comments
        • comment on a post
        • get opposing comments
        • get supporting comments
        • get flaggers
        • flag post
        • dismiss flags
        • hide post
        • unhide post
      • posts
        • get posts
        • get trending posts
        • get your-feed posts
      • signed-urls
        • files
      • support
        • send a message
        • get messages
      • user
        • get user
        • get user's posts
        • get user's arenas
        • get arenas user belongs
        • get arenas user owns
        • get arena categories (belonged)
        • get arena categories (owned)
        • update user
        • follow user
        • unfollow user
        • block user
        • unblock user
        • get user's interactions
        • get user's bookmarks
        • get user's followees
        • get user's followers
        • get user's referrals
      • users
        • get users
  • Schemas
    • v2
      • alert
        • basic-alert
      • arena
        • arena-member-type
        • basic-arena
        • arena
        • arena-member-permissions
        • basic-arena-member
        • arena-member
      • arena-category
        • v2-arena-category
      • comment
        • basic-comment
      • file
        • compressed-file
        • upload-file
      • flag
        • flag-type
        • basic-flag
        • flag-reason
        • basic-item-flagger
        • flagged-item-type
        • basic-flagged-item
      • marked-item
        • basic-marked-item
      • post
        • post-link-req-body
        • post-status
        • post-type
        • basic-post
        • debate-argument-type
      • server-response
        • get-response-pagination
        • get-response-data-array
        • 200-basic-response
      • time
        • iso-date-time
      • user
        • basic-user
        • user-role
        • linked-account-props
        • user
        • user-account
  1. alert

basic-alert

{
    "id": "string",
    "type": "new-arena-invite",
    "dateCreated": "string",
    "read": true,
    "arena": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "cover": {
            "sm": {
                "mimeType": "string",
                "url": "string"
            },
            "org": {
                "mimeType": "string",
                "url": "string"
            }
        },
        "description": "string",
        "guidelines": "string",
        "deactivated": true,
        "totalModerators": 0,
        "totalUnreadModeratorAlerts": 0,
        "totalFlaggedItems": 0,
        "totalHiddenItems": 0
    },
    "invitedAsModerator": true,
    "post": {
        "id": "string",
        "type": "chat",
        "totalFlames": 0,
        "totalComments": 0,
        "totalFlaggers": 0,
        "webLink": "string",
        "deleted": true,
        "flagged": true,
        "hidden": true,
        "link": {
            "href": "string",
            "title": "string",
            "description": "string",
            "imageUrls": [
                "string"
            ],
            "fallback": {
                "imageUrl": "string",
                "title": "string",
                "description": "string"
            }
        },
        "owner": {
            "id": "string",
            "displayName": "string",
            "picture": {
                "sm": {
                    "mimeType": "string",
                    "url": "string"
                },
                "org": {
                    "mimeType": "string",
                    "url": "string"
                }
            },
            "description": "string",
            "role": "admin",
            "username": "string",
            "deleted": true,
            "verified": true,
            "dateJoined": "string",
            "viewer": {
                "isBlocked": true,
                "blockedUser": true,
                "isFollowing": true
            }
        },
        "arena": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "cover": {
                "sm": {
                    "mimeType": "string",
                    "url": "string"
                },
                "org": {
                    "mimeType": "string",
                    "url": "string"
                }
            },
            "description": "string",
            "guidelines": "string",
            "deactivated": true,
            "totalModerators": 0,
            "totalUnreadModeratorAlerts": 0,
            "totalFlaggedItems": 0,
            "totalHiddenItems": 0
        },
        "title": "string",
        "description": "string",
        "duration": 0,
        "fileDirPath": "string",
        "files": [
            {
                "sm": {
                    "mimeType": "string",
                    "url": "string"
                },
                "org": {
                    "mimeType": "string",
                    "url": "string"
                }
            }
        ],
        "scheduled": true,
        "closed": true,
        "closingDate": "string",
        "openingDate": "string",
        "options": [
            {
                "text": "string",
                "totalVoters": 0
            }
        ],
        "totalParticipants": 0,
        "totalOpposers": 0,
        "totalSupporters": 0,
        "totalOpposingArgs": 0,
        "totalSupportingArgs": 0,
        "lastDateOpposed": "string",
        "lastDateSupported": "string",
        "dateCreated": "string",
        "dateUpdated": "string",
        "viewer": {
            "flamedPost": true,
            "savedPost": true,
            "participated": true,
            "interacted": true,
            "selectedOptionIndexes": [
                0
            ],
            "argumentType": "support"
        }
    },
    "comment": {
        "id": "string",
        "dateCommented": "string",
        "totalFlames": 0,
        "totalReplies": 0,
        "totalFlaggers": 0,
        "argumentType": "support",
        "deleted": true,
        "flagged": true,
        "hidden": true,
        "commenter": {
            "id": "string",
            "displayName": "string",
            "picture": {
                "sm": {
                    "mimeType": "string",
                    "url": "string"
                },
                "org": {
                    "mimeType": "string",
                    "url": "string"
                }
            },
            "description": "string",
            "role": "admin",
            "username": "string",
            "deleted": true,
            "verified": true,
            "dateJoined": "string",
            "viewer": {
                "isBlocked": true,
                "blockedUser": true,
                "isFollowing": true
            }
        },
        "ancestorIds": [
            "string"
        ],
        "parent": {
            "id": "string"
        },
        "post": {
            "id": "string",
            "type": "chat",
            "totalFlames": 0,
            "totalComments": 0,
            "totalFlaggers": 0,
            "webLink": "string",
            "deleted": true,
            "flagged": true,
            "hidden": true,
            "link": {
                "href": "string",
                "title": "string",
                "description": "string",
                "imageUrls": [
                    "string"
                ],
                "fallback": {
                    "imageUrl": "string",
                    "title": "string",
                    "description": "string"
                }
            },
            "owner": {
                "id": "string",
                "displayName": "string",
                "picture": {
                    "sm": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "org": {
                        "mimeType": "string",
                        "url": "string"
                    }
                },
                "description": "string",
                "role": "admin",
                "username": "string",
                "deleted": true,
                "verified": true,
                "dateJoined": "string",
                "viewer": {
                    "isBlocked": true,
                    "blockedUser": true,
                    "isFollowing": true
                }
            },
            "arena": {
                "id": "string",
                "name": "string",
                "slug": "string",
                "cover": {
                    "sm": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "org": {
                        "mimeType": "string",
                        "url": "string"
                    }
                },
                "description": "string",
                "guidelines": "string",
                "deactivated": true,
                "totalModerators": 0,
                "totalUnreadModeratorAlerts": 0,
                "totalFlaggedItems": 0,
                "totalHiddenItems": 0
            },
            "title": "string",
            "description": "string",
            "duration": 0,
            "fileDirPath": "string",
            "files": [
                {
                    "sm": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "org": {
                        "mimeType": "string",
                        "url": "string"
                    }
                }
            ],
            "scheduled": true,
            "closed": true,
            "closingDate": "string",
            "openingDate": "string",
            "options": [
                {
                    "text": "string",
                    "totalVoters": 0
                }
            ],
            "totalParticipants": 0,
            "totalOpposers": 0,
            "totalSupporters": 0,
            "totalOpposingArgs": 0,
            "totalSupportingArgs": 0,
            "lastDateOpposed": "string",
            "lastDateSupported": "string",
            "dateCreated": "string",
            "dateUpdated": "string",
            "viewer": {
                "flamedPost": true,
                "savedPost": true,
                "participated": true,
                "interacted": true,
                "selectedOptionIndexes": [
                    0
                ],
                "argumentType": "support"
            }
        },
        "text": "string",
        "mentionedUsers": {
            "<user-id>": {
                "id": "string",
                "displayName": "string",
                "picture": {
                    "sm": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "org": {
                        "mimeType": "string",
                        "url": "string"
                    }
                },
                "description": "string",
                "username": "string"
            }
        },
        "mentionedArenas": {
            "<arena-id>": {
                "id": "string",
                "name": "string",
                "slug": "string",
                "cover": {
                    "sm": {
                        "mimeType": "string",
                        "url": "string"
                    },
                    "org": {
                        "mimeType": "string",
                        "url": "string"
                    }
                },
                "description": "string",
                "guidelines": "string",
                "deactivated": true,
                "totalModerators": 0,
                "totalUnreadModeratorAlerts": 0,
                "totalFlaggedItems": 0,
                "totalHiddenItems": 0
            }
        },
        "viewer": {
            "flamedComment": "string",
            "savedComment": "string"
        }
    },
    "user": {
        "id": "string",
        "displayName": "string",
        "picture": {
            "sm": {
                "mimeType": "string",
                "url": "string"
            },
            "org": {
                "mimeType": "string",
                "url": "string"
            }
        },
        "description": "string",
        "role": "admin",
        "username": "string",
        "deleted": true,
        "verified": true,
        "dateJoined": "string",
        "viewer": {
            "isBlocked": true,
            "blockedUser": true,
            "isFollowing": true
        }
    },
    "warning": {
        "message": "string",
        "objectType": "comment"
    }
}
Built with