mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
PHRAS-3153_Doc-to-Swagger
- add: finished searchraw - change : using "additionalproperties" for key->values [ci skip]
This commit is contained in:
@@ -98,14 +98,14 @@ paths:
|
||||
default: ''
|
||||
- name: search_type
|
||||
in: query
|
||||
description: 0 to search for records ; 1 to search for stories
|
||||
required: false
|
||||
schema:
|
||||
type: integer
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
enum: [0,1]
|
||||
default: 0
|
||||
description: >
|
||||
* `0` - search for records
|
||||
* `1` - search for stories
|
||||
- name: page
|
||||
in: query
|
||||
description: page number, from 1. Use along with "per_page"
|
||||
@@ -175,14 +175,14 @@ paths:
|
||||
post:
|
||||
tags:
|
||||
- searchraw
|
||||
description: |
|
||||
description: >
|
||||
Fulltext search for records or stories; Returns raw es
|
||||
|
||||
- pagination: use (offset/limit) OR (page/per_page)
|
||||
parameters:
|
||||
- name: query
|
||||
in: query
|
||||
description: 'The fulltext query (<empty> = search all)'
|
||||
description: 'Fulltext query (<empty> = search all)'
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
@@ -190,14 +190,15 @@ paths:
|
||||
default: ''
|
||||
- name: search_type
|
||||
in: query
|
||||
description: 0 to search for records ; 1 to search for stories
|
||||
required: false
|
||||
schema:
|
||||
type: integer
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
enum: [0,1]
|
||||
default: 0
|
||||
description: >
|
||||
search for records or stories
|
||||
* `0` - search for records
|
||||
* `1` - search for stories
|
||||
- name: page
|
||||
in: query
|
||||
description: page number, from 1. Use along with "per_page"
|
||||
|
Reference in New Issue
Block a user