chore: add bruno endpoints
This commit is contained in:
15
bruno/api_v1/product/Get Product.yml
Normal file
15
bruno/api_v1/product/Get Product.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Product
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/product/200/1/5"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
36
bruno/api_v1/product/Products List.yml
Normal file
36
bruno/api_v1/product/Products List.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
info:
|
||||
name: Products List
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/list/list-products?p=1&elems=30&sort=product_id,asc&category_id_in=243&reference=~62"
|
||||
params:
|
||||
- name: p
|
||||
value: "1"
|
||||
type: query
|
||||
- name: elems
|
||||
value: "30"
|
||||
type: query
|
||||
- name: sort
|
||||
value: product_id,asc
|
||||
type: query
|
||||
- name: category_id_in
|
||||
value: "243"
|
||||
type: query
|
||||
- name: reference
|
||||
value: ~62
|
||||
type: query
|
||||
body:
|
||||
type: json
|
||||
data: ""
|
||||
auth:
|
||||
type: bearer
|
||||
token: "{{token}}"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
7
bruno/api_v1/product/folder.yml
Normal file
7
bruno/api_v1/product/folder.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: product
|
||||
type: folder
|
||||
seq: 7
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
Reference in New Issue
Block a user