Sqabl APIs
  1. Arena
Sqabl APIs
  • APIs
    • 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
        GET
      • Update arena
        PUT
      • Join an arena
        POST
      • Leave an arena
        POST
      • Get arena members
        GET
      • Add users to arena
        POST
      • Remove members from an arena
        DELETE
      • Update an arena member
        PUT
    • 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
  1. Arena

Update arena

Prod Env
https://api.sqabl.com/v1
Prod Env
https://api.sqabl.com/v1
PUT
/arena/{id}

Request

Path Params
id
string 
required
Header Params
Authorization
string 
required
Example:
Bearer some-random-token
Body Params multipart/form-data
name
string 
optional
description
string 
optional
coverFile
file 
optional
coverSrc
string 
optional
deactivate
boolean 
optional
guidelines
string 
optional

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.sqabl.com/v1/arena/' \
--header 'Authorization: Bearer some-random-token' \
--form 'name=""' \
--form 'description=""' \
--form 'coverFile=@""' \
--form 'coverSrc=""' \
--form 'deactivate=""' \
--form 'guidelines=""'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "success": true,
    "statusCode": 200,
    "data": {
        "id": "cm1ngo6io0000qwv3am7h3ij4",
        "name": "Hiseous Umbrella",
        "dateCreated": "2024-09-29 11:51:58",
        "owner": {
            "id": "cm1n5ubk200008ov3f8907ugy",
            "displayName": "Hiseous Hiseous",
            "imageSrc": "https://lh3.googleusercontent.com/a/ACg8ocICrDCtTUBH6BWXwWnRJkBHknyk9iHBfjupK_mhZrdj13z0EQ=s96-c",
        },
        "members": [
            {
                "id": "cm1n5ubk200008ov3f8907ugy",
                "displayName": "Hiseous Hiseous",
                "imageSrc": "https://lh3.googleusercontent.com/a/ACg8ocICrDCtTUBH6BWXwWnRJkBHknyk9iHBfjupK_mhZrdj13z0EQ=s96-c",
                "dateJoined": "2024-09-29 11:51:58"
            }
        ],
        "description": "Sentiments two occasional affronting solicitude travelling and one contrasted. Fortune day out married parties. Happiness remainder joy but earnestly for off. Took sold add play may none him few. If as increasing contrasted entreaties be. Now summer who day looked our behind moment coming. Pain son rose more park way that. An stairs as be lovers uneasy.",
        "guidelines": "Compliment interested discretion estimating on stimulated apartments oh. Dear so sing when in find read of call. As distrusts behaviour abilities defective is. Never at water me might. On formed merits hunted unable merely by mr whence or. Possession the unpleasing simplicity her uncommonly.\r\n\r\nGay one the what walk then she. Demesne mention promise you justice arrived way. Or increasing to in especially inquietude companions acceptance admiration. Outweigh it families distance wandered ye an. Mr unsatiable at literature connection favourable. We neglected mr perfectly continual dependent.\r\n\r\nStyle too own civil out along. Perfectly offending attempted add arranging age gentleman concluded. Get who uncommonly our expression ten increasing considered occasional travelling. Ever read tell year give may men call its. Piqued son turned fat income played end wicket. To do noisy downs round an happy books.\r\n\r\nSavings her pleased are several started females met. Short her not among being any. Thing of judge fruit charm views do. Miles mr an forty along as he. She education get middleton day agreement performed preserved unwilling. Do however as pleased offence outward beloved by present. By outward neither he so covered amiable greater. Juvenile proposal betrayed he an informed weddings followed. Precaution day see imprudence sympathize principles. At full leaf give quit to in they up.",
        "coverImageSrc": "https://s3.eu-north-1.amazonaws.com/api.sqabl.com/arenas/cm1ngo6io0000qwv3am7h3ij4/cover/cover-image.jpg"
    }
}
Previous
Get arena
Next
Join an arena
Built with