Skip to content

Instantly share code, notes, and snippets.

@mbuczko
Created June 28, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbuczko/1f91bc3ed8ef88324e7f5723e8153a9d to your computer and use it in GitHub Desktop.
Save mbuczko/1f91bc3ed8ef88324e7f5723e8153a9d to your computer and use it in GitHub Desktop.
emacs / restclient + org-mode

rest

github api

:query-repos := <<
(graphql-query
 ((viewer
   (repositories
    :arguments
    ((first . 3)
     (orderBy . ((direction . DESC)
                 (field     . UPDATED_AT))))
    (nodes
     name
     pushedAt)))))
#
POST https://api.github.com/graphql
Authorization: Bearer :github-token
User-Agent: Emacs
{ "query": ":query-repos"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment