Description Usage Arguments Details
construct an api_url
1 2 3 4 5 |
scheme |
https or http |
hostname |
hostname |
graphql |
return the graphql url, false |
The GraphQL endpoint The REST API v3 has numerous endpoints; the GraphQL API v4 has a single endpoint:
http(s)://[hostname]/api/graphql vs for v3 it is at http(s)://[hostname]/api/v3
for github.com https://api.github.com and https://api.github.com/graphql
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.