move path to params

This commit is contained in:
Daniel Goc
2026-04-02 13:52:50 +02:00
parent 9c7eb5ee4e
commit 7d4242abb1
37 changed files with 104 additions and 70 deletions

View File

@@ -0,0 +1,15 @@
info:
name: create-index
type: http
seq: 1
http:
method: GET
url: http://localhost:3000/api/v1/restricted/search/create-index
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,7 @@
info:
name: search
type: folder
seq: 6
request:
auth: inherit

View File

@@ -0,0 +1,17 @@
info:
name: get-indexes
type: http
seq: 1
http:
method: GET
url: http://localhost:7700/indexes
auth:
type: bearer
token: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,17 @@
info:
name: remove-index
type: http
seq: 1
http:
method: DELETE
url: http://localhost:7700/indexes/meili_products_shop1_lang1
auth:
type: bearer
token: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,31 @@
info:
name: search
type: http
seq: 1
http:
method: GET
url: http://localhost:3000/api/v1/restricted/search/search?query=w&limit=4&id_category=0&price_lower_bound=60.0&price_upper_bound=70.0
params:
- name: query
value: w
type: query
- name: limit
value: "4"
type: query
- name: id_category
value: "0"
type: query
- name: price_lower_bound
value: "60.0"
type: query
- name: price_upper_bound
value: "70.0"
type: query
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,15 @@
info:
name: test
type: http
seq: 1
http:
method: GET
url: http://localhost:3000/api/v1/restricted/search/test
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5