GitBook: [#139] No subject

This commit is contained in:
Kevin McCarpenter
2022-10-03 15:27:24 +00:00
committed by gitbook-bot
parent 3d2876a54c
commit afd08a41df
7 changed files with 10 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,16 +1,22 @@
# 🚀 Accessing the Moderne API
Moderne.io offers a GraphQL API https://api.moderne.io for customers to interact with through the usage of a personal access token.
Moderne.io offers a GraphQL API at https://api.public.moderne.io for customers to interact with through the usage of a personal access token.
Note: Personal access tokens do not retain roles that are granted to your user account. Actions that require roles (deploying recipes and uploading ASTs) will fail as forbidden if attempted with an access token.
{% hint style="info" %}
If you want to write and test GraphQL queries, you can use the graphql icon at the top right of the UI or go directly to [https://public.moderne.io/graphql](https://public.moderne.io/graphql).
![](../.gitbook/assets/image.png)
{% endhint %}
## Prerequisites
* 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.public.moderne.io](https://api.public.moderne.io)
## Configure your access token

View File

@@ -4,7 +4,7 @@ Maven repositories are potential sources of both Abstract Syntax Tree (AST) arti
A particular Maven repository may contain either ASTs or recipe artifacts, or a mixture of both. Several open source and commercial products exist to serve artifacts using the Maven repository format. A single instance of one of these products may contain multiple Maven repositories.
![](<../../../.gitbook/assets/image (12) (1).png>)![](<../../../.gitbook/assets/image (4) (1).png>)
![](<../../../.gitbook/assets/image (12) (1).png>)![](<../../../.gitbook/assets/image (4) (1) (1).png>)
### Comparison of two Maven integrations

View File

@@ -46,7 +46,7 @@ Think of this like a static analyzer but with auto-remediation!
3\. Create a new Task Event Hook for Moderne, pointing the URL to https://api.moderne.io/terraform-cloud.
![](<../.gitbook/assets/image (4).png>)
![](<../.gitbook/assets/image (4) (1).png>)
The `requestedRecipe` query parameter allows you to control which recipe will run. The recipe id for this query parameter can be copied from the recipe detail of any Terraform recipe on the Moderne platform.