Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion content/v3/repos/contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@ This method returns the contents of a file or directory in a repository.
Files and symlinks support [a custom media type](#custom-media-types) for retrieving the raw content or rendered HTML (when supported).
Directories and submodules do _not_ support custom media types.

*Notes*:
{{#tip}}

**Note**:

- To get a repository's contents recursively, you can [recursively get the tree](/v3/git/trees/).
- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](/v3/git/trees/#get-a-tree)
- This API supports files up to 1 megabyte in size.

{{/tip}}

### Parameters

Name | Type | Description
Expand Down