mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update API docs with product filters
This commit is contained in:
parent
df8bd671d9
commit
93c3d007f3
@ -11670,6 +11670,13 @@ paths:
|
||||
- $ref: "#/components/parameters/X-API-TOKEN"
|
||||
- $ref: "#/components/parameters/X-Requested-With"
|
||||
- $ref: "#/components/parameters/include"
|
||||
- name: filter
|
||||
in: query
|
||||
description: Filter by product name
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: bob
|
||||
responses:
|
||||
200:
|
||||
description: "A list of products"
|
||||
|
@ -12,6 +12,27 @@
|
||||
- $ref: "#/components/parameters/X-API-TOKEN"
|
||||
- $ref: "#/components/parameters/X-Requested-With"
|
||||
- $ref: "#/components/parameters/include"
|
||||
- name: filter
|
||||
in: query
|
||||
description: Filter by product name
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: bob
|
||||
- name: product_key
|
||||
in: query
|
||||
description: Filter by product key
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: bob
|
||||
- name: sort
|
||||
in: query
|
||||
description: Returns the list sorted by column in ascending or descending order.
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: id|desc product_key|desc
|
||||
responses:
|
||||
200:
|
||||
description: "A list of products"
|
||||
|
Loading…
x
Reference in New Issue
Block a user