mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 01:43:44 +08:00
5c6e7e3401
Adding some api documentation for the badge routes.
18 lines
352 B
JSON
18 lines
352 B
JSON
{
|
|
"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"
|
|
]
|
|
}
|