Sample - GitHub REST API
GET/octocat

Get Octocat

Returns Octocat ASCII art, optionally including custom words in its speech bubble. Use s to specify the words to display, or omit it to request the default Octocat artwork.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
sstringoptional
Words to display in Octocat's speech bubble.

1 status code
200Returns Octocat ASCII art as a string in the `application/octocat-stream` format.

Error handling

If provided, s supplies the words to show in Octocat's speech bubble; omit it when no custom speech is needed.