Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
10 changes: 8 additions & 2 deletions site/content/3.11/develop/http-api/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,15 @@ paths:
properties:
sharding:
description: |
The sharding method to use for new collections in this database. Valid values
are: "", "flexible", or "single". The first two are equivalent. _(cluster only)_
The sharding method to use for new collections in this database. _(cluster only)_
Valid values are:
- `""` or `"flexible"`: Create a database where collections can have any
number of shards and the shards can reside on different DB-Servers.
- `"single"`: Create a OneShard database where all collections have a
single shard and the shards are placed on the same DB-Server.
type: string
enum: ["", flexible, single]
default: ""
replicationFactor:
description: |
Default replication factor for new collections created in this database.
Expand Down
6 changes: 6 additions & 0 deletions site/content/3.11/develop/http-api/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -499,6 +500,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down Expand Up @@ -1946,6 +1949,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -1970,6 +1974,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down
10 changes: 8 additions & 2 deletions site/content/3.12/develop/http-api/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,15 @@ paths:
properties:
sharding:
description: |
The sharding method to use for new collections in this database. Valid values
are: "", "flexible", or "single". The first two are equivalent. _(cluster only)_
The sharding method to use for new collections in this database. _(cluster only)_
Valid values are:
- `""` or `"flexible"`: Create a database where collections can have any
number of shards and the shards can reside on different DB-Servers.
- `"single"`: Create a OneShard database where all collections have a
single shard and the shards are placed on the same DB-Server.
type: string
enum: ["", flexible, single]
default: ""
replicationFactor:
description: |
Default replication factor for new collections created in this database.
Expand Down
6 changes: 6 additions & 0 deletions site/content/3.12/develop/http-api/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -489,6 +490,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down Expand Up @@ -2004,6 +2007,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -2028,6 +2032,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down
10 changes: 8 additions & 2 deletions site/content/3.13/develop/http-api/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,15 @@ paths:
properties:
sharding:
description: |
The sharding method to use for new collections in this database. Valid values
are: "", "flexible", or "single". The first two are equivalent. _(cluster only)_
The sharding method to use for new collections in this database. _(cluster only)_
Valid values are:
- `""` or `"flexible"`: Create a database where collections can have any
number of shards and the shards can reside on different DB-Servers.
- `"single"`: Create a OneShard database where all collections have a
single shard and the shards are placed on the same DB-Server.
type: string
enum: ["", flexible, single]
default: ""
replicationFactor:
description: |
Default replication factor for new collections created in this database.
Expand Down
6 changes: 6 additions & 0 deletions site/content/3.13/develop/http-api/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -489,6 +490,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down Expand Up @@ -2004,6 +2007,7 @@ paths:
therefore they can only be performed on collections sharded by `_key`.
schema:
type: boolean
default: false
- name: overwriteMode
in: query
required: false
Expand All @@ -2028,6 +2032,8 @@ paths:
not set, and the `overwrite` flag is `false` or not set either.
schema:
type: string
enum: [ignore, replace, update, conflict]
default: conflict
- name: keepNull
in: query
required: false
Expand Down