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.
For markup files such as Markdown or AsciiDoc, you can retrievetherendered HTML using the`.html`media type. Markup languages are rendered to HTML using our open-source[Markup library](https://github.com/github/markup).
287
286
288
-
application/vnd.github.VERSION.object
287
+
[All objects](#get-contents) support the following custom media type:
289
288
290
-
Use the`.object` media type to retrieve the directory contents as an object rather than an array of its entries.
289
+
application/vnd.github.VERSION.object
291
290
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).
291
+
Use the`.object` media type to retrieve the contents in a consistent object format regardless of the content type. For example, instead of an array of objects
292
+
for a directory, the response will be an object with an`entries` attribute containing the array of objects.
293
293
294
294
You can read more about the use of media types in the API[here](/v3/media/).