discourse/spec/requests/api/schemas/json/badge_create_request.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
352 B
JSON
Raw Normal View History

{
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The name for the new badge."
},
"badge_type_id": {
"type": "integer",
"description": "The ID for the badge type. 1 for Gold, 2 for Silver, 3 for Bronze."
}
},
"required": [
"name",
"badge_type_id"
]
}