discourse/spec/requests/api/schemas/json/badge_create_request.json
Blake Erickson 5c6e7e3401
DEV: Document some of the badge api endpoints (#13919)
Adding some api documentation for the badge routes.
2021-08-03 06:25:12 -06:00

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"
]
}