clans

Create a new clan

Changed on
post/v1/clans

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/clans
  • Auth
    HTTP bearer

Request body

namestring required
descriptionstring
operationIdstring uuid

Use a new UUID for each command. Retry the same UUID and input only while the outcome is unknown. Every receipt is terminal, including rejection. An explicit new attempt after rejection needs a new UUID. Reuse with different input returns 409. Read /v1/clans/operations/{operationId} for the durable outcome.

Response

Successful response

idstring required
namestring required
descriptionstring nullable required
imageUrlstring nullable required
bannerUrlstring nullable required
chatRoomIdstring nullable required
channelNamestring nullable required
createdAtstring required
memberCountinteger required
myRole'owner' | 'admin' | 'member'

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • info

      response property bannerUrl list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property channelName list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property chatRoomId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property imageUrl list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/roiPercent list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property members/items/user/x_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property owner/anyOf[PublicUser]/x_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the new optional request property