Add 'message.md'
This commit is contained in:
parent
62f8234c29
commit
101e0f20a8
39
message.md
Normal file
39
message.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
Return message details
|
||||||
|
======================
|
||||||
|
|
||||||
|
Returns all details about a message
|
||||||
|
|
||||||
|
URL
|
||||||
|
---
|
||||||
|
|
||||||
|
`/api/v1/messages/message`
|
||||||
|
|
||||||
|
Access
|
||||||
|
------
|
||||||
|
|
||||||
|
Must be authenticated as a server. If not authorised, a `AccessDenied` error will be returned.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
|
||||||
|
| Parameter | Type | Default |
|
||||||
|
| --- | --- | --- |
|
||||||
|
|`id` | Integer | null |
|
||||||
|
|
||||||
|
|_The ID of the message_| | |
|
||||||
|
|
||||||
|
|
||||||
|
Errors
|
||||||
|
------
|
||||||
|
|
||||||
|
| Error | Attributes |
|
||||||
|
| --- | --- |
|
||||||
|
|`MessageNotFound`| `id` | |
|
||||||
|
|No message found matching provided ID | The ID of the message |
|
||||||
|
|
||||||
|
Response Data
|
||||||
|
-------------
|
||||||
|
|
||||||
|
This action will return a [message structure](../../structures/message.html).
|
||||||
|
|
||||||
|
You will only receive basic data for this structure, no extended data is available. By default, you'll receive no expansions for the structure. You can add them by providing an array of new expansion names in the `_expansions` parameter on the request. You can send `true` rather than array to receive all expansions.
|
Loading…
x
Reference in New Issue
Block a user