Spaces:
Runtime error
Runtime error
@url = {{$dotenv COUCHDB_URL}} | |
@user = {{$dotenv COUCHDB_USER}} | |
@password = {{$dotenv COUCHDB_PASSWORD}} | |
@db = {{$dotenv COUCHDB_DB}} | |
@origin = 0 | |
@origin = 316723-g1AAAACReJzLYWBgYMpgTmHgzcvPy09JdcjLz8gvLskBCScyJNX___8_K4M5iYEpWyEXKMaekpyabGBuiK4ehwl5LECSoQFI_YcblCUMNsgsMS010dQSXVsWAD8FLCA | |
@batchSize = 10 | |
@includeDocs = true | |
@authHeader = Authorization: Basic {{user}}:{{password}} | |
### | |
# @name session | |
POST {{url}}/_session | |
Content-Type: application/json | |
{ | |
"name": "{{user}}", | |
"password": "{{password}}" | |
} | |
### | |
# @name docById | |
@id = b7fdc644-5b24-40ae-b489-37b3fc0c5541 | |
GET {{url}}/{{db}}/{{id}} | |
{{authHeader}} | |
### | |
# @name designDocs | |
GET {{url}}/{{db}}/_design_docs | |
{{authHeader}} | |
### | |
# @name design | |
GET {{url}}/{{db}}/_design/wsws/_view/by_path | |
?limit=1 | |
&key="/en/articles/2024/11/28/slci-n28.html" | |
&include_docs=true | |
{{authHeader}} | |
### | |
# @name changes | |
GET {{url}}/{{db}}/_changes | |
?limit={{batchSize}} | |
&include_docs={{includeDocs}} | |
&since={{origin}} | |
### | |
# @name changes | |
GET {{url}}/{{db}}/_changes | |
?limit={{batchSize}} | |
&include_docs={{includeDocs}} | |
&since={{changes.response.body.last_seq}} | |
### | |
# @name broken | |
GET {{url}}/{{db}}/_changes | |
?limit=10 | |
&include_docs=true | |
&since=316731-g1AAAACReJzLYWBgYMpgTmHgzcvPy09JdcjLz8gvLskBCScyJNX___8_K4M5iYEpWyEXKMaekpyabGBuiK4ehwl5LECSoQFI_YcblCUNNsgsMS010dQSXVsWAD_1LCg | |