Skip to content

Commit c312cf4

Browse files
committed
Mention the configuration endpoint more often
1 parent 05646e7 commit c312cf4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

content/reference/meta/annotations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ title: "Annotations"
3737

3838
## Limits
3939

40-
- Each object (User, Post, Channel, Message, File) is allowed at most 8192 bytes worth of annotations (in total, when serialized as JSON).
40+
- Each object (User, Post, Channel, Message, File) is allowed at most 8192 bytes worth of annotations (in total, when serialized as JSON). This value can be retrieved from the [Configuration endpoint](/reference/resources/config/).
4141
- Post and Message annotations are immutable and can only be added at creation time.
4242
- A Post or Message can have multiple annotations of the same "type".
4343
- User and Channel annotations are mutable and can be updated at any time.

content/reference/resources/message/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ A Message is very similar to a [Post](/reference/resources/post/) but 1) it does
4444
<tr>
4545
<td><code>text</code></td>
4646
<td>string</td>
47-
<td>User supplied text of the Message.</td>
47+
<td>User supplied text of the Message. All Unicode characters allowed. Maximum length 2048 characters. The maximum length can be retrieved from the <a href="/reference/resources/config/">Configuration endpoint</a>.</td>
4848
</tr>
4949
<tr>
5050
<td><code>html</code></td>

content/reference/resources/post/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A Post is the other central object utilized by the App.net Stream API. It has ri
4040
<tr>
4141
<td><code>text</code></td>
4242
<td>string</td>
43-
<td>User supplied text of the post. All Unicode characters allowed. Maximum length 256 characters.</td>
43+
<td>User supplied text of the post. All Unicode characters allowed. Maximum length 256 characters. The maximum length can be retrieved from the <a href="/reference/resources/config/">Configuration endpoint</a>.</td>
4444
</tr>
4545
<tr>
4646
<td><code>html</code></td>

lib/sample_objects.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def paginated_response(key, &block)
241241
},
242242
"message" => {
243243
"annotation_max_bytes" => 8192,
244-
"text_max_length" => 256
244+
"text_max_length" => 2048
245245
},
246246
"channel" => {
247247
"annotation_max_bytes" => 8192

0 commit comments

Comments
 (0)