This commit is contained in:
2025-10-14 23:27:54 +02:00
parent 94b69bb041
commit 6961caa2af
6 changed files with 65 additions and 11 deletions

View File

@@ -1,5 +1,20 @@
@couchDB = http://{{$dotenv COUCHDB_USER}}:{{$dotenv COUCHDB_PASSWORD}}@couchdb.localhost
###
POST {{couchDB}}/_cluster_setup
Content-Type: application/json
{
"action": "enable_single_node",
"username": "{{$dotenv COUCHDB_USER}}",
"password": "{{$dotenv COUCHDB_PASSWORD}}",
"bind_address": "0.0.0.0",
"port": 5984
}
###
GET {{couchDB}}/_all_dbs
### Creates a new database.
@@ -20,7 +35,7 @@ Content-Type: application/json
GET {{couchDB}}/db/_all_docs
###
GET {{couchDB}}/db/74913d6d85b8af1d174baf3fe5000507
GET {{couchDB}}/db/df9679762e2630b609a69ecf9c000d67
###
POST {{couchDB}}/db/_find