mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 19:01:02 +01:00
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
evaluate:
|
|
post:
|
|
operationId: evaluateReleases
|
|
summary: Evaluate releases against custom formats
|
|
description: |
|
|
Parses release titles and evaluates them against all custom formats in the specified database.
|
|
|
|
This endpoint:
|
|
- Parses each release title to extract metadata (resolution, source, languages, etc.)
|
|
- Matches regex patterns using .NET-compatible regex via the parser service
|
|
- Evaluates each release against all custom formats in the database
|
|
- Returns which custom formats match each release
|
|
|
|
Results are cached for performance - repeated requests with the same titles will be faster.
|
|
tags:
|
|
- Entity Testing
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/entity-testing.yaml#/EvaluateRequest'
|
|
responses:
|
|
'200':
|
|
description: Evaluation results
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/entity-testing.yaml#/EvaluateResponse'
|
|
'400':
|
|
description: Invalid request (missing databaseId or releases)
|
|
'500':
|
|
description: Database cache not available
|