Badge

By Fediverse Developer Network

https://fedidevs.org/projects/server-apps/communecter/objects/badge/

An Badge is an activity representing a specific badge in Communecter.

Properties

PropertyData TypeDescription
type*StringThe object type (Badge)
id*String (URI)The URI that identifies the badge
attachment*Array of AttachmentsAttachments associated with the badge
attributedTo*String (URI)The URI of the entity or user who created the badge
content*StringThe content or description of the badge
name*StringThe name or title of the badge
published*StringThe date and time when the badge was published
urlString (URL)The URL of the badge’s website or landing page

Example

{
  "type": "Badge",
  "id" : "https://communecter.org/api/activitypub/object/id/652539d72a857",
  "name" : "Project Leader",
  "published" : "2024-07-02T11:47:35+0000",
  "attachment": [
    {
      "type": "Link",
      "name": "Website",
      "url": "https://example.com",
      "mediaType": "text/html"
    }
  ]
}