GitBook: [#42] No subject

This commit is contained in:
Scott Jungling
2022-01-14 00:05:21 +00:00
committed by gitbook-bot
parent cad0fa7efe
commit 3ea2893817
2 changed files with 21 additions and 20 deletions

View File

@@ -1,26 +1,26 @@
# Table of contents
- [Welcome to Moderne](README.md)
* [Welcome to Moderne](README.md)
## Getting Started
- [Quick Start: Running your first recipe](getting-started/running-your-first-recipe.md)
* [Quick Start: Running your first recipe](getting-started/running-your-first-recipe.md)
## How-to Guides <a id="how-to"></a>
## How-to Guides <a href="#how-to" id="how-to"></a>
- [Creating your own recipes with Builder](how-to/creating-your-own-recipes-with-builder.md)
- [Importing projects from GitHub](how-to/importing-projects-from-github.md)
- [Integrating private code with Moderne SaaS](how-to/integrating-private-code.md)
- [Importing external recipes](how-to/importing-external-recipes.md)
- [Terraform Cloud integration](how-to/terraform-cloud-integration.md)
- [On-Premise Agent](how-to/on-premise-agent.md)
- [Accessing the Moderne API](how-to/accessing-the-moderne-api.md)
* [Creating your own recipes with Builder](how-to/creating-your-own-recipes-with-builder.md)
* [Importing projects from GitHub](how-to/importing-projects-from-github.md)
* [Integrating private code with Moderne SaaS](how-to/integrating-private-code.md)
* [Importing external recipes](how-to/importing-external-recipes.md)
* [Terraform Cloud integration](how-to/terraform-cloud-integration.md)
* [On-Premise Agent](how-to/on-premise-agent.md)
* [🚀 Accessing the Moderne API](how-to/accessing-the-moderne-api.md)
## References
- [GitHub permissions](references/github-permissions.md)
- [Token management](references/create-api-access-tokens.md)
* [GitHub permissions](references/github-permissions.md)
* [Token management](references/create-api-access-tokens.md)
## Legal
- [Terms of Service](legal/terms-of-service.md)
* [Terms of Service](legal/terms-of-service.md)

View File

@@ -1,24 +1,25 @@
# Accessing the Moderne API
# 🚀 Accessing the Moderne API
Moderne.io offers a GraphQL API [https://api.moderne.io](https://api.moderne.io) for customers to interact with through the usage of a personal access token.
Moderne.io offers a GraphQL API https://api.moderne.io for customers to interact with through the usage of a personal access token.
## Prerequisites
- Create a [Moderne Personal Access Token](../references/create-api-access-tokens.md)
* Create a [Moderne Personal Access Token](../references/create-api-access-tokens.md)
## Go to the Moderne API
- [https://api.moderne.io](https://api.moderne.io)
* [https://api.moderne.io](https://api.moderne.io)
## Configure your access token
In the `HTTP Headers` pane of GraphQL Playground, enter in your token for the `Authorization` header.
![authorization header](../.gitbook/assets/graphql-playground.png)
In the `HTTP Headers` pane of GraphQL Playground, enter in your token for the `Authorization` header.&#x20;
![](../.gitbook/assets/graphql-playground.png)
## (Optional) View the Documentation
After you have configured your personal access token, you can click the _Docs_ tab on the right-hand side of the screen to explore the various Queries and Mutations offered by the API.
![api docs](../.gitbook/assets/graphql-playground-docs.png)
![](../.gitbook/assets/graphql-playground-docs.png)
## 🚀 Start Querying!