Skip to content

Commit e18ad2e

Browse files
committed
Document file sizes supported by Repo Contents API
1 parent 2f1d95a commit e18ad2e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

content/v3/repos/contents.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,17 @@ ref
3030

3131
## Get contents
3232

33-
This method returns the contents of any file or directory in a repository.
33+
This method returns the contents of a file or directory in a repository.
3434

3535
GET /repos/:owner/:repo/contents/:path
3636

3737
Files and symlinks support [a custom media type](#custom-media-types) for getting the raw content.
3838
Directories do _not_ support custom media types.
3939

40-
*Note*: To get a repository's contents recursively, you can [recursively get
41-
the tree](/v3/git/trees/).
40+
*Notes*:
41+
42+
- To get a repository's contents recursively, you can [recursively get the tree](/v3/git/trees/).
43+
- This API supports files up to 1 megabyte in size.
4244

4345
### Parameters
4446

0 commit comments

Comments
 (0)