Project

General

Profile

Actions

Bug #20218

closed

sync_plan['id'] missing in products#index

Added by Andrew Kofink over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Sync Plans
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

GET https://katello.example.com/katello/api/v2/products?name=Red Hat Enterprise Linux Server&organization_id=1

Current:

{
...,
"results": [ {
"id": 6,
...,
"sync_plan": {
"name": "Weekly RHEL Sync",
"description": null,
"sync_date": "2017-01-01 00:00:00 UTC",
"interval": "weekly",
"next_sync": null
},
"repository_count": 3
}
]
}

Expected:

{
...,
"results": [ {
"id": 6,
...,
"sync_plan": {
"id": 10,
"name": "Weekly RHEL Sync",
"description": null,
"sync_date": "2017-01-01 00:00:00 UTC",
"interval": "weekly",
"next_sync": null
},
"repository_count": 3
}
]
}

Actions

Also available in: Atom PDF