Skip to content

Commit

Permalink
update internal references
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Aug 11, 2024
1 parent 4d04b89 commit 0d57dc7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions content/cloud/admin/drop-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight = 5
parent = "cloud-admin"
+++

It is possible to drop all data from your Dgraph Cloud backend, and start afresh while retaining the same endpoint. Be careful, as this operation is not reversible, and all data will be lost. It is highly recommended that you [export]({{<relref "dgraphcloud/admin/import-export">}}) your data before you drop your data.
It is possible to drop all data from your Dgraph Cloud backend, and start afresh while retaining the same endpoint. Be careful, as this operation is not reversible, and all data will be lost. It is highly recommended that you [export]({{<relref "cloud/admin/import-export">}}) your data before you drop your data.

In order to drop all data while retaining the schema, click the <kbd>Drop Data</kbd> button under the [Schema](https://cloud.dgraph.io/_/schema) tab in the sidebar.

Expand All @@ -15,7 +15,7 @@ In order to drop all data while retaining the schema, click the <kbd>Drop Data</

In order to do this, call the `dropData` mutation on `/admin/slash`. As an example, if your GraphQL endpoint is `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/graphql`, then the admin endpoint for schema will be at `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/admin/slash`.

Please note that this endpoint requires [Authentication]({{<relref "dgraphcloud/admin/authentication">}}).
Please note that this endpoint requires [Authentication]({{<relref "cloud/admin/authentication">}}).

Please see the following curl as an example.

Expand Down
2 changes: 1 addition & 1 deletion content/cloud/admin/import-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight = 4

## Exporting and Importing Data in Dgraph Cloud

You can export your data as an Administrator from one Dgraph Cloud backend, and then import this data back into another Dgraph instance or Dgraph Cloud backend. For more information about how to export data in Dgraph Cloud, see [Export data]({{< relref "howto/exportdata/export-data-cloud.md" >}}). You can also export data from Dgraph Cloud programatically using the Dgraph Cloud API. For more information, see [Cloud API documentation]({{< relref "dgraphcloud/cloud-api/backup.md" >}}).
You can export your data as an Administrator from one Dgraph Cloud backend, and then import this data back into another Dgraph instance or Dgraph Cloud backend. For more information about how to export data in Dgraph Cloud, see [Export data]({{< relref "howto/exportdata/export-data-cloud.md" >}}). You can also export data from Dgraph Cloud programatically using the Dgraph Cloud API. For more information, see [Cloud API documentation]({{< relref "cloud/cloud-api/backup.md" >}}).

To import data to Dgraph Cloud, see [live loader]({{< relref "howto/importdata/live-loader.md" >}}).

Expand Down
2 changes: 1 addition & 1 deletion content/cloud/cloud-api/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ curl "https://${DEPLOYMENT_URL}/admin/slash" \

## Import Data

Import your data back using Dgraph [Live Loader]({{< relref "dgraphcloud/admin/import-export.md#importing-data-with-live-loader" >}}) (requires Docker).
Import your data back using Dgraph [Live Loader]({{< relref "cloud/admin/import-export.md#importing-data-with-live-loader" >}}) (requires Docker).

### Shell Command

Expand Down
2 changes: 1 addition & 1 deletion content/graphql/security/anonymous-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To turn ``/graphql`` endpoint anonymous access off
2. Open the [Access](https://cloud.dgraph.io/_/schema?tab=anon-access) tab.
3. Set ``Anonymous Access`` toggle to ``On`` or ``Off``

With **Anonymous Access** turned ``off``, any client accessing the ``/graphql`` endpoint must pass a valid client or admin [API Key]({{< relref "dgraphcloud/admin/authentication.md" >}}) in ``DG-Auth`` or ``X-Auth-Token`` header.
With **Anonymous Access** turned ``off``, any client accessing the ``/graphql`` endpoint must pass a valid client or admin [API Key]({{< relref "cloud/admin/authentication.md" >}}) in ``DG-Auth`` or ``X-Auth-Token`` header.

With **Anonymous Access** turned ``on`` (Default configuration), you need to further define the permission per ``type`` defined in your GraphQL Schema.

Expand Down
2 changes: 1 addition & 1 deletion content/howto/drop-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can drop data by invoking the `dropData` mutation on `/admin/slash` endpoint

As an example, if your GraphQL endpoint is `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/graphql`, then the admin endpoint for schema will be at `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/admin/slash`.

This endpoint requires [Authentication]({{<relref "dgraphcloud/admin/authentication">}}).
This endpoint requires [Authentication]({{<relref "cloud/admin/authentication">}}).

Here is curl example.

Expand Down
4 changes: 2 additions & 2 deletions content/learn/administrator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ weight = 4
- See [Dgraph Overview]({{< relref "dgraph-overview.md" >}}) for an introduction to Dgraph database and a presentation of Dgraph cluster architecture.
- Get familiar with some terms in the [Glossary]({{< relref "dgraph-glossary.md" >}})
- **Dgraph Cloud**
- Learn from [Dgraph Cloud]({{< relref "dgraphcloud" >}}) section of our documentation.
- Refer to [Administering Tasks]({{< relref "dgraphcloud/admin" >}}).
- Learn from [Dgraph Cloud]({{< relref "cloud" >}}) section of our documentation.
- Refer to [Administering Tasks]({{< relref "cloud/admin" >}}).
- **Dgraph Community and Dgraph Enterprise** (self-managed)
- Refer to [Self-managed cluster]({{< relref "deploy" >}}) to learn how to deploy and manage Dgraph database in a variety of self-managed deployment scenarios.
- [Dgraph Administration]({{< relref "deploy/admin" >}}) describes the admin operations.
Expand Down

0 comments on commit 0d57dc7

Please sign in to comment.