test: update Bruno API collection with new test data values
Update test environment and request files to use different test data: - Update job_id variable to new test job UUID - Change search test queries from Foundation/Asimov to 1984/Orwell - Change series search from Foundation to Haley - Add force parameter to scanner test These updates provide fresh test data for API testing and demonstrate search functionality with different media items.
This commit is contained in:
@@ -15,7 +15,7 @@ variables:
|
||||
- name: library_id
|
||||
value: d2932c11-cd39-4c4a-b940-124b75964099
|
||||
- name: job_id
|
||||
value: c5766af2-44a5-4537-abb0-e3fa42fc93f9
|
||||
value: 5174b357-83a3-456b-ba0f-4a7a9b8e63c2
|
||||
- name: rating
|
||||
value: "5"
|
||||
- name: is_visible
|
||||
|
||||
@@ -5,13 +5,13 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: '{{base_url}}/api/media-items/search?library_id={{library_id}}&q="Foundation and Empire"'
|
||||
url: '{{base_url}}/api/media-items/search?library_id={{library_id}}&q="1984"'
|
||||
params:
|
||||
- name: library_id
|
||||
value: "{{library_id}}"
|
||||
type: query
|
||||
- name: q
|
||||
value: '"Foundation and Empire"'
|
||||
value: '"1984"'
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
|
||||
@@ -5,13 +5,13 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author=asimov&limit=50"
|
||||
url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author=orwell&limit=50"
|
||||
params:
|
||||
- name: library_id
|
||||
value: "{{library_id}}"
|
||||
type: query
|
||||
- name: author
|
||||
value: asimov
|
||||
value: orwell
|
||||
type: query
|
||||
- name: limit
|
||||
value: "50"
|
||||
|
||||
@@ -5,13 +5,13 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&series=foundation&limit=50"
|
||||
url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&series=haley&limit=50"
|
||||
params:
|
||||
- name: library_id
|
||||
value: "{{library_id}}"
|
||||
type: query
|
||||
- name: series
|
||||
value: foundation
|
||||
value: haley
|
||||
type: query
|
||||
- name: limit
|
||||
value: "50"
|
||||
|
||||
@@ -17,7 +17,8 @@ http:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"library_id": "{{library_id}}"
|
||||
"library_id": "{{library_id}}",
|
||||
"force": true
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user