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.

Commited001a3

Browse files
committed
Move JSON snippet
I changed my mind about5aa94d0. This location feels better after all.
1 parent322d3e1 commited001a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ 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+
###New "truncated" attribute
19+
20+
The JSON snippet below illustrates the attributes provided for each file in the Gist API response. In it, you'll notice a new**truncated** attribute included as part of the file metadata. This Boolean attribute indicates whether the`content` value is truncated for this request.
21+
1822
{
1923
files: {
2024
"my_large_file.md": {
@@ -28,10 +32,6 @@ When you need the full contents of the file, simply make a request to the URL sp
2832
}
2933
}
3034

31-
###New "truncated" attribute
32-
33-
In the example JSON excerpt above, you'll notice a new**truncated** attribute included as part of the file metadata. This Boolean attribute indicates whether the`content` value is truncated for this request.
34-
3535
If you have any questions, please[get in touch][contact].
3636

3737
[contact]:https://github.com/contact?form[subject]=Gist+API+now+tuncates+large+files

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp