Returning.AI
Light Mode
create new badge
DevelopingPOST
/badgesRequest
Body Params multipart/form-data
title
string
optional
Example:
Minor
action
string
optional
Example:
Cusom
description
string
optional
Example:
One trade on a live account that makes 30%. Send account statement to #Tickmill-badge channel
quantity
string
optional
Example:
3
attachRequired
string
optional
Example:
true
awarded
string
optional
Example:
true
serverId
string
optional
Example:
{{serverId}}
image
file
optional
Example:
file:///home/dennykate/Downloads/genesiv_logo.jpeg
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
object
required
title
string
required
action
string
required
quantity
string
required
description
string
required
attachRequired
string
required
awarded
string
required
id
string
required
image
string
required
Example
{
"meta": {
"success": true,
"message": "Badge has been created successfully",
"devMessage": "Badge has been created successfully"
},
"body": {
"title": "General",
"action": "custom",
"quantity": "3",
"description": "One trade on a live account that makes 30%. Send account statement to #Tickmill-badge channel",
"attachRequired": "true",
"awarded": "true",
"id": "6accd394-d8dc-4550-91e8-9cc278a45717",
"image": "https://chartsnapshot.s3.us-east-2.amazonaws.com/apireturningai/tester/1721927206522-d763c952a89131696dd3bdf79fa0108.png"
}
}
Modified at 2 months ago