Project

Profile

Help

Issue #3115

closed

One sample request in API doc for regenerate_applicability is wrong

Added by pmoravec@redhat.com over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.14.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Sprint 28
Quarter:

Description

In https://docs.pulpproject.org/dev-guide/integration/rest-api/consumer/applicability.html , section "Generate Content Applicability for Updated Repositories", there is Sample request:

{
 "repo_criteria": {
  "filters": {"id": {"$in": ["test-repo", "test-errata"]}},
  "parallel": true
 }
}

However "parallel" is not a part of "repo_criteria" but a parameter on the same level. That Sample request should be:

{
 "repo_criteria": {
  "filters": {"id": {"$in": ["test-repo", "test-errata"]}},
 },
"parallel": true
}

Also available in: Atom PDF