Project

General

Profile

Actions

Bug #7328

closed

API routes for sync plan are inconsistent with products.

Added by Christine Fouant over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1132817
Description of problem:
API routes for sync plan are inconsistent with products.

Products have API calls to list all products and per org:

GET /katello/api/v2/products
List products
GET /katello/api/v2/organizations/:organization_id/products
List of products in an organization

Sync-plan has not the list all plans, only the per org
GET /katello/api/v2/organizations/:organization_id/sync_plans
List synchronization plans

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Consistent routes, either only per Organization routes only or add also the route for sync_plans without the organizations part in the URL

Additional info:

Actions

Also available in: Atom PDF