You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Use the`.raw` media type to retrieve the contents of the file.
284
285
286
+
[Directories](#get-contents) support the following custom media type:
287
+
288
+
application/vnd.github.VERSION.object
289
+
290
+
Use the`.object` media type to retrieve the directory contents as an object rather than an array of its entries.
291
+
285
292
For markup files such as Markdown or AsciiDoc, you can retrieve the rendered HTML using the`.html` media type. Markup languages are rendered to HTML using our open-source[Markup library](https://github.com/github/markup).
286
293
287
294
You can read more about the use of media types in the API[here](/v3/media/).