test bullet list
This commit is contained in:
+2
-6
@@ -232,15 +232,11 @@ The following event types may be sent with a message event:
|
||||
| Parameter | Type | Method | Description | Default | Required? |
|
||||
| --------- | ---- | ------ | ----------- | ------- | --------- |
|
||||
| query | string | GET | Search string to match against messages | N/A | NO |
|
||||
| message_type | string | GET | Limit results to message type | N/A
|
||||
|
||||
Values:
|
||||
|
||||
| message_type | string | GET | Limit results to message type | N/A<br><br>Values:<br><br>
|
||||
- `history`
|
||||
- `message`
|
||||
- `attachment`
|
||||
- `media`
|
||||
| NO |
|
||||
- `media` | NO |
|
||||
|
||||
# Members
|
||||
|
||||
|
||||
+3
-1
@@ -27,7 +27,9 @@ function cleanUp($contents) {
|
||||
}
|
||||
$empty = false;
|
||||
}
|
||||
return implode("\n", $lines);
|
||||
$contents = implode("\n", $lines);
|
||||
$contents = str_replace("`\n|", "` |", $contents);
|
||||
return $contents;
|
||||
}
|
||||
|
||||
$spec = json_decode(file_get_contents("src/_spec.json"), true);
|
||||
|
||||
+4
-7
@@ -15,13 +15,10 @@
|
||||
{foreach $call.parameters as $method => $params}
|
||||
{foreach $params as $param}
|
||||
| {param.name} | {param.type} | {method|toupper} | {param.title} | {if empty($param.default)}N/A{else}{param.default}{/if}
|
||||
{if $param.values}
|
||||
|
||||
Values:
|
||||
|
||||
{foreach $param.values as $value}- `{value}`
|
||||
{/foreach}
|
||||
{/if} | {if $param.required}YES{else}NO{/if} |
|
||||
{if $param.values}<br><br>Values:<br><br>
|
||||
{foreach $param.values as $value}
|
||||
- `{value}`
|
||||
{/foreach}{/if} | {if $param.required}YES{else}NO{/if} |
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user