You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
304 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Modified: The additional content requested has not been modified." }
14
+
400 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Bad Request: Bad request structure. The error can indicate an error with the request URL, path or headers." }
15
+
401 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Unauthorized: The item requested was not available using the supplied authorization, or authorization was not supplied." }
16
+
403 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Forbidden: The requested item or operation is forbidden." }
17
+
404 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Found: The requested content could not be found." }
18
+
405 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Method Not Allowed: A request was made using an invalid HTTP request type for the URL requested." }
19
+
406 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Acceptable: The requested content type is not supported by the server." }
20
+
409 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Conflict: Request resulted in an update conflict." }
21
+
412 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Precondition Failed: The request headers from the client and the capabilities of the server do not match." }
22
+
413 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Request Entity Too Large: A document exceeds the configured couchdb/max_document_size value or the entire request exceeds the httpd/max_http_request_size value." }
23
+
415 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Unsupported Media Type: The content types supported, and the content type of the information being requested or submitted indicate that the content type is not supported." }
24
+
416 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Requested Range Not Satisfiable: The range specified in the request header cannot be satisfied by the server." }
{ $this.CouchDBStausCode-ge500 } { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Internal Server Error: The request was invalid, either because the supplied JSON was invalid, or invalid information was supplied as part of the request." }
304 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Modified: The additional content requested has not been modified." }
1600
-
400 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Bad Request: Bad request structure. The error can indicate an error with the request URL, path or headers." }
1601
-
401 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Unauthorized: The item requested was not available using the supplied authorization, or authorization was not supplied." }
1602
-
403 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Forbidden: The requested item or operation is forbidden." }
1603
-
404 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Found: The requested content could not be found." }
1604
-
405 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Method Not Allowed: A request was made using an invalid HTTP request type for the URL requested." }
1605
-
406 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Not Acceptable: The requested content type is not supported by the server." }
1606
-
409 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Conflict: Request resulted in an update conflict." }
1607
-
412 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Precondition Failed: The request headers from the client and the capabilities of the server do not match." }
1608
-
413 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Request Entity Too Large: A document exceeds the configured couchdb/max_document_size value or the entire request exceeds the httpd/max_http_request_size value." }
1609
-
415 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Unsupported Media Type: The content types supported, and the content type of the information being requested or submitted indicate that the content type is not supported." }
1610
-
416 { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Requested Range Not Satisfiable: The range specified in the request header cannot be satisfied by the server." }
{ $this.CouchDBStausCode-ge500 } { $this.CouchDBMessage="[$($this.CouchDBStausCode)] Internal Server Error: The request was invalid, either because the supplied JSON was invalid, or invalid information was supplied as part of the request." }
Copy file name to clipboardExpand all lines: PSCouchDB/functions/CouchDBconfiguration.ps1
+82-15Lines changed: 82 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,20 @@ function Get-CouchDBNode () {
134
134
CouchDB API:
135
135
GET /_membership
136
136
GET /_node/{node-name}
137
+
GET /_node/{node-name}/_versions
138
+
GET /_node/{node-name}/_prometheus
137
139
.PARAMETERServer
138
140
The CouchDB server name. Default is localhost.
139
141
.PARAMETERPort
140
142
The CouchDB server port. Default is 5984.
143
+
.PARAMETERNode
144
+
Erlang node name of the server that processes the request. Default is _local.
145
+
.PARAMETERMembership
146
+
Displays the nodes that are part of the cluster as cluster_nodes.
147
+
.PARAMETERVersions
148
+
ICU driver and collator algorithm versions are returned.
149
+
.PARAMETERPrometheus
150
+
The _prometheus resource returns a text/plain response that consolidates our /_node/{node-name}/_stats, and /_node/{node-name}/_system endpoints. The format is determined by Prometheus.
141
151
.PARAMETERAuthorization
142
152
The CouchDB authorization form; user and password.
143
153
Authorization format like this: user:password
@@ -161,13 +171,25 @@ function Get-CouchDBNode () {
0 commit comments