v1

latestOpenAPI 3.0.02026-07-13433542.4 KB
Community Badges

Update badge

patch/community/{id}/badge/{badgeId}

Path parameters

idstring required

Community ID

badgeIdstring required

Request body

status'draft' | 'under_review' | 'approved' | 'rejected' | 'live'
titlestring
imagestring

The image URL of the badge. Can be an IPFS url or OpenPage File.

type'achievement' | 'attendance'
descriptionstring
chainIdstring

The chain ID of the badge.

contractstring
claimEndDatestring date-time
maxClaimsnumber

Example request

{
  "status": "live",
  "chainId": "11155111"
}