Project

General

Profile

Actions

Bug #20218

closed

sync_plan['id'] missing in products#index

Added by Andrew Kofink almost 7 years ago. Updated almost 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 #1

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6851 added
Actions #2

Updated by Andrew Kofink almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 250
  • Difficulty set to easy
Actions

Also available in: Atom PDF