Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit5aa94d0

Browse files
committed
Show example JSON earlier in the post
Since we're talking about the JSON response in the first section, let'sshow the example response in that section.
1 parent75377a7 commit5aa94d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎content/changes/2014-04-22-gist-api-now-truncating-large-files.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ To eliminate those timeouts, the API now limits the amount of content returned f
1515

1616
When you need the full contents of the file, simply make a request to the URL specified in the`raw_url` attribute.
1717

18-
###"truncated" attribute
19-
2018
{
2119
files: {
2220
"my_large_file.md": {
@@ -30,6 +28,9 @@ When you need the full contents of the file, simply make a request to the URL sp
3028
}
3129
}
3230

31+
###"truncated" attribute
32+
33+
3334
In this small example payload, you'll notice the new**truncated** attribute has been added to each file's payload. It is a boolean attribute indicating if the content attribute's value has been truncated for this request.
3435

3536
If you have any questions, please[get in touch][contact].

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp