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
Creates a new topic, a new post, or a private message
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
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
{
"required": [
"raw"
],
"properties": {
"archetype": {
"type": "string",
"description": "Required for new private message."
},
"category": {
"type": "integer",
"description": "Optional if creating a new topic, and ignored if creating\na new post."
},
"created_at": {
"type": "string"
},
"embed_url": {
"type": "string",
"description": "Provide a URL from a remote system to associate a forum\ntopic with that URL, typically for using Discourse as a comments\nsystem for an external blog."
},
"external_id": {
"type": "string",
"description": "Provide an external_id from a remote system to associate\na forum topic with that id."
},
"raw": {
"type": "string"
},
"target_recipients": {
"type": "string",
"description": "Required for private message, comma separated."
},
"target_usernames": {
"type": "string",
"description": "Deprecated. Use target_recipients instead."
},
"title": {
"type": "string",
"description": "Required if creating a new topic or new private message."
},
"topic_id": {
"type": "integer",
"description": "Required if creating a new post."
}
},
"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
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
{
"required": [
"actions_summary",
"admin",
"avatar_template",
"bookmarked",
"can_delete",
"can_edit",
"can_recover",
"can_view_edit_history",
"can_wiki",
"cooked",
"created_at",
"deleted_at",
"display_username",
"draft_sequence",
"edit_reason",
"flair_bg_color",
"flair_color",
"flair_name",
"flair_url",
"hidden",
"id",
"incoming_link_count",
"moderator",
"name",
"post_number",
"post_type",
"primary_group_name",
"quote_count",
"readers_count",
"reads",
"reply_count",
"reply_to_post_number",
"reviewable_id",
"reviewable_score_count",
"reviewable_score_pending_count",
"score",
"staff",
"topic_id",
"topic_slug",
"trust_level",
"updated_at",
"user_deleted",
"user_id",
"user_title",
"username",
"version",
"wiki",
"yours"
],
"properties": {
"actions_summary": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"can_act"
],
"properties": {
"can_act": {
"type": "boolean"
},
"id": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"admin": {
"type": "boolean"
},
"avatar_template": {
"type": "string"
},
"bookmarked": {
"type": "boolean"
},
"can_delete": {
"type": "boolean"
},
"can_edit": {
"type": "boolean"
},
"can_recover": {
"type": "boolean"
},
"can_view_edit_history": {
"type": "boolean"
},
"can_wiki": {
"type": "boolean"
},
"cooked": {
"type": "string"
},
"created_at": {
"type": "string"
},
"deleted_at": {
"type": [
"string",
"null"
]
},
"display_username": {
"type": [
"string",
"null"
]
},
"draft_sequence": {
"type": "integer"
},
"edit_reason": {
"type": [
"string",
"null"
]
},
"flair_bg_color": {
"type": [
"string",
"null"
]
},
"flair_color": {
"type": [
"string",
"null"
]
},
"flair_name": {
"type": [
"string",
"null"
]
},
"flair_url": {
"type": [
"string",
"null"
]
},
"hidden": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"incoming_link_count": {
"type": "integer"
},
"mentioned_users": {
"type": "array",
"items": {
"type": "object"
}
},
"moderator": {
"type": "boolean"
},
"name": {
"type": [
"string",
"null"
]
},
"post_number": {
"type": "integer"
},
"post_type": {
"type": "integer"
},
"primary_group_name": {
"type": [
"string",
"null"
]
},
"quote_count": {
"type": "integer"
},
"raw": {
"type": "string"
},
"readers_count": {
"type": "integer"
},
"reads": {
"type": "integer"
},
"reply_count": {
"type": "integer"
},
"reply_to_post_number": {
"type": [
"string",
"null"
]
},
"reviewable_id": {
"type": [
"string",
"null"
]
},
"reviewable_score_count": {
"type": "integer"
},
"reviewable_score_pending_count": {
"type": "integer"
},
"score": {
"type": "integer"
},
"staff": {
"type": "boolean"
},
"topic_id": {
"type": "integer"
},
"topic_slug": {
"type": "string"
},
"trust_level": {
"type": "integer"
},
"updated_at": {
"type": "string"
},
"user_deleted": {
"type": "boolean"
},
"user_id": {
"type": "integer"
},
"user_title": {
"type": [
"string",
"null"
]
},
"username": {
"type": "string"
},
"version": {
"type": "integer"
},
"wiki": {
"type": "boolean"
},
"yours": {
"type": "boolean"
}
},
"additionalProperties": false
}