Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -470,13 +470,13 @@ include::cli:partial$cbcli/nav.adoc[]
***** xref:n1ql:n1ql-rest-api/exauthhttp.adoc[]
***** xref:n1ql:n1ql-rest-api/exauthrequest.adoc[]
*** xref:n1ql-rest-admin:index.adoc[]
*** xref:rest-api:rest-cluster-query-settings.adoc[Query Settings REST API]
*** xref:n1ql-rest-functions:index.adoc[Query Functions REST API]
*** xref:n1ql-rest-settings:index.adoc[]
*** xref:n1ql-rest-functions:index.adoc[]

** xref:rest-api:rest-index-service.adoc[Index Service API]
*** xref:rest-api:get-settings-indexes.adoc[Retrieve GSI Settings]
*** xref:rest-api:post-settings-indexes.adoc[Set GSI Settings]
*** xref:rest-api:rest-index-stats.adoc[Index Statistics API]
*** xref:index-rest-stats:index.adoc[Index Statistics API]
*** xref:rest-api:rest-modify-index-batch-size.adoc[Modify Index Batch Size]

** xref:rest-api:backup-rest-api.adoc[Backup Service API]
Expand Down
10 changes: 5 additions & 5 deletions modules/manage/pages/manage-settings/general-settings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ To set the directory for temporary backfill data, and establish its size-limit,

[source,shell]
----
include::rest-api:example$query-settings-post-settings.sh[tag=request]
include::n1ql-rest-settings:example$query-settings-post-settings.sh[tag=request]
----

This specifies that the directory for temporary backfill data should be `/tmp`; and that the maximum size should be 2048 megabytes.
Expand All @@ -773,7 +773,7 @@ If successful, this call returns a JSON document featuring all the current query

[source,json]
----
include::rest-api:example$query-settings-post-settings.jsonc[tags=tmpSpace;ellipsis;access]
include::n1ql-rest-settings:example$query-settings-post-settings.jsonc[tags=tmpSpace;ellipsis;access]
----

The document's values indicate that the specified values for directory and size have been established; and that the current setting for access-control restricts access to all, with no exceptions.
Expand All @@ -782,7 +782,7 @@ To specify particular URLs as allowed and disallowed, use the `/settings/querySe

[source,shell]
----
include::rest-api:example$query-settings-post-access.sh[tag=request]
include::n1ql-rest-settings:example$query-settings-post-access.sh[tag=request]
----

A JSON document is specified as the payload for the method.
Expand All @@ -792,10 +792,10 @@ If successful, the call returns a JSON document that confirms the modified setti

[source,json]
----
include::rest-api:example$query-settings-post-access.jsonc[]
include::n1ql-rest-settings:example$query-settings-post-access.jsonc[]
----

For additional information, refer to xref:rest-api:rest-cluster-query-settings.adoc[Cluster Query Settings API].
For additional information, refer to xref:n1ql-rest-settings:index.adoc[].

[#rebalance-settings-via-rest]
=== Rebalance Settings via REST
Expand Down
4 changes: 2 additions & 2 deletions modules/manage/pages/monitor/monitoring-indexes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Cross references
:manage-indexes: xref:manage:manage-indexes/manage-indexes.adoc
:index-stats: xref:manage:monitor/ui-monitoring-statistics.adoc#index_stats
:rest-index-stats: xref:rest-api:rest-index-stats.adoc
:rest-index-stats: xref:index-rest-stats:index.adoc
:couchbase-cli-server-info: xref:cli:cbcli/couchbase-cli-server-info.adoc

[abstract]
Expand Down Expand Up @@ -143,7 +143,7 @@ Note that there is no CLI support for statistics for a specific index.
== Monitor Indexes with the REST API

You can monitor all Index-Service statistics, and statistics for a specific index, using the REST API.
Refer to {rest-index-stats}[Index Statistics API].
Refer to {rest-index-stats}[].

[[related-links]]
== Related Links
Expand Down
17 changes: 0 additions & 17 deletions modules/rest-api/pages/rest-cluster-query-settings.adoc

This file was deleted.

6 changes: 0 additions & 6 deletions modules/rest-api/pages/rest-index-stats.adoc

This file was deleted.

6 changes: 3 additions & 3 deletions modules/rest-api/partials/rest-index-service-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

| `GET`
| `/api/v1/stats`
| xref:rest-api:rest-index-stats.adoc#_get_node_stats[Get Node Statistics]
| xref:index-rest-stats:index.adoc#get_node_stats[Get Node Statistics]

| `GET`
| `/api/v1/stats/{keyspace}`
| xref:rest-api:rest-index-stats.adoc#_get_keyspace_stats[Get Keyspace Statistics]
| xref:index-rest-stats:index.adoc#get_keyspace_stats[Get Keyspace Statistics]

| `GET`
| `/api/v1/stats/{keyspace}/{index}`
| xref:rest-api:rest-index-stats.adoc#_get_index_stats[Get Index Statistics]
| xref:index-rest-stats:index.adoc#get_index_stats[Get Index Statistics]

|===
8 changes: 4 additions & 4 deletions modules/rest-api/partials/rest-query-service-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,19 @@

| `GET`
| `/settings/querySettings`
| xref:rest-api:rest-cluster-query-settings.adoc#_get_settings[Retrieve Cluster-Level Query Settings]
| xref:n1ql-rest-settings:index.adoc#get_settings[Retrieve Cluster-Level Query Settings]

| `POST`
| `/settings/querySettings`
| xref:rest-api:rest-cluster-query-settings.adoc#_post_settings[Update Cluster-Level Query Settings]
| xref:n1ql-rest-settings:index.adoc#post_settings[Update Cluster-Level Query Settings]

| `GET`
| `/settings/querySettings/curlWhitelist`
| xref:rest-api:rest-cluster-query-settings.adoc#_get_access[Retrieve CURL Access List]
| xref:n1ql-rest-settings:index.adoc#get_access[Retrieve CURL Access List]

| `POST`
| `/settings/querySettings/curlWhitelist`
| xref:rest-api:rest-cluster-query-settings.adoc#_post_access[Update CURL Access List]
| xref:n1ql-rest-settings:index.adoc#post_access[Update CURL Access List]

|===
// end::query-settings[]
Expand Down