AIsuru Docs
AIsuru API
AIsuru API
  • Introduzione
  • Engine
    • ChatLogs
    • ContextVars
    • CorrelationPairs
    • CustomDictionary
    • Dialog
    • EventLogs
    • ExpertReferences
    • Functions
    • Intents
    • LocalizationKeys
    • Media
    • Memories
    • NLP
    • People
    • Search
    • Session
    • Stats
    • Topics
    • UnansweredQuestions
    • User
    • WebHooks
    • Models
  • Backend
    • ActionLog
    • Analysis
    • Asset
    • Badge
    • CompletionConfig
    • ConsumptionLog
    • ImportExport
    • Integration
    • Invitation
    • Memori
    • MemoriList
    • Notification
    • Process
    • Tenant
    • User
    • Models
Powered by GitBook
On this page
  1. Backend

Badge

PreviousAssetNextCompletionConfig

Gets a list of Badge objects assigned to the currently logged in User.

get
Path parameters
strTokenstringRequired

The login token

Responses
200
Success
application/json
get
GET /api/v2/Badges/{strToken} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "badges": [
    {
      "badgeID": "text",
      "date": "2025-06-07T15:20:45.188Z",
      "name": "text",
      "description": "text",
      "imageURL": "text",
      "tags": [
        "text"
      ],
      "issuerName": "text",
      "issuerDescription": "text",
      "issuerEmail": "text",
      "issuerURL": "text"
    }
  ],
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:20:45.188Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets a list of Badge objects assigned to the currently logged in User.

get
Path parameters
strTokenstringRequired

The login token

strBadgeIDstringRequired

The ID of the Badge object

Responses
200
Success
application/json
get
GET /api/v2/Badge/{strToken}/{strBadgeID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "badge": {
    "badgeID": "text",
    "date": "2025-06-07T15:20:45.188Z",
    "name": "text",
    "description": "text",
    "imageURL": "text",
    "tags": [
      "text"
    ],
    "issuerName": "text",
    "issuerDescription": "text",
    "issuerEmail": "text",
    "issuerURL": "text"
  },
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:20:45.188Z",
  "resultCode": 1,
  "resultMessage": "text"
}
  • POSTProcesses the specified outcome.
  • POSTProcesses a badge assignment.
  • GETGets a list of Badge objects assigned to the currently logged in User.
  • GETGets a list of Badge objects assigned to the currently logged in User.

Processes the specified outcome.

post

For internal use only.

Path parameters
strTokenstringRequired

The login token

outcomeCodestringRequired

The outcome code

Responses
200
Success
application/json
post
POST /api/v2/Outcome/{strToken}/{outcomeCode} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:20:45.188Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Processes a badge assignment.

post

For internal use only.

Body
refIdstring · min: 1Required
outcomestring · min: 1Required
badgeUrlstring · min: 1Required
Responses
200
Success
application/json
post
POST /api/v2/BadgeAssignment HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "refId": "text",
  "outcome": "text",
  "badgeUrl": "text"
}
200

Success

{
  "requestID": 1,
  "requestDateTime": "2025-06-07T15:20:45.188Z",
  "resultCode": 1,
  "resultMessage": "text"
}