643 matches
75 actions
Discourse API Documentation
75 actions
- Add group membersPUTv1.0.0
- Anonymize a userPUTv1.0.0
- Bookmark topicPUTv1.0.0
- Change passwordPUTv1.0.0
- Create a groupPOSTv1.0.0
- Create an invitePOSTv1.0.0
- Create backupPOSTv1.0.0
- Create badgePOSTv1.0.0
- Create topic timerPOSTv1.0.0
- Creates a categoryPOSTv1.0.0
- Creates a new topic, a new post, or a private messagePOSTv1.0.0
- Creates a tag groupPOSTv1.0.0
- Creates a userPOSTv1.0.0
- Delete a groupDELETEv1.0.0
- delete a single postDELETEv1.0.0
- Delete a userDELETEv1.0.0
- Delete badgeDELETEv1.0.0
- Get a groupGETv1.0.0
- Get a list of private messages for a userGETv1.0.0
- Get a list of private messages sent for a userGETv1.0.0
- Get a list of tag groupsGETv1.0.0
- Get a list of tagsGETv1.0.0
- Get a list of user actionsGETv1.0.0
- Get a list of usersGETv1.0.0
- Get a public list of usersGETv1.0.0
- Get a single tag groupGETv1.0.0
- Get a single topicGETv1.0.0
- Get a single user by usernameGETv1.0.0
- Get a specific tagGETv1.0.0
- Get a user by external_idGETv1.0.0
- Get a user by idGETv1.0.0
- Get a user by identity provider external IDGETv1.0.0
- Get email addresses belonging to a userGETv1.0.0
- Get site infoGETv1.0.0
- Get specific posts from a topicGETv1.0.0
- Get the latest topicsGETv1.0.0
- Get the notifications that belong to the current userGETv1.0.0
- Get the top topics filtered by periodGETv1.0.0
- Get topic by external_idGETv1.0.0
- Invite to topicPOSTv1.0.0
- Like a post and other actionsPOSTv1.0.0
- List backupsGETv1.0.0
- List badgesGETv1.0.0
- List badges for a userGETv1.0.0
- List group membersGETv1.0.0
- List groupsGETv1.0.0
- List latest posts across topicsGETv1.0.0
- List replies to a postGETv1.0.0
- List topicsGETv1.0.0
- Lock a post from being editedPUTv1.0.0
- Log a user outPOSTv1.0.0
- Mark notifications as readPUTv1.0.0
- Refresh gravatarPOSTv1.0.0
- Remove a topicDELETEv1.0.0
- Remove group membersDELETEv1.0.0
- Retrieve a single postGETv1.0.0
- Retrieves a list of categoriesGETv1.0.0
- Search for a termGETv1.0.0
- Send password reset emailPOSTv1.0.0
- Set notification levelPOSTv1.0.0
- Show categoryGETv1.0.0
- Silence a userPUTv1.0.0
- Suspend a userPUTv1.0.0
- Update a groupPUTv1.0.0
- Update a single postPUTv1.0.0
- Update a topicPUTv1.0.0
- Update a userPUTv1.0.0
- Update avatarPUTv1.0.0
- Update badgePUTv1.0.0
- Update emailPUTv1.0.0
- Update tag groupPUTv1.0.0
- Update the status of a topicPUTv1.0.0
- Update topic timestampPUTv1.0.0
- Update usernamePUTv1.0.0
- Updates a categoryPUTv1.0.0
Social/Discourse API Documentation
Silence a user
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"message": {
"type": "string",
"description": "Will send an email with this message when present"
},
"post_action": {
"type": "string"
},
"reason": {
"type": "string"
},
"silenced_till": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
{
"required": [
"silence"
],
"properties": {
"silence": {
"type": "object",
"required": [
"silence_reason",
"silenced",
"silenced_at",
"silenced_by",
"silenced_till"
],
"properties": {
"silence_reason": {
"type": "string"
},
"silenced": {
"type": "boolean"
},
"silenced_at": {
"type": "string"
},
"silenced_by": {
"type": "object",
"required": [
"avatar_template",
"id",
"name",
"username"
],
"properties": {
"avatar_template": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"additionalProperties": false
},
"silenced_till": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}