GET /katello/api/sync_status
200
{
"products": [
{
"name": "Red Hat Linux",
"object": "Red Hat Linux",
"id": 1073012828,
"type": "product",
"orphaned": true,
"repos": [],
"children": [
{
"name": "7Server",
"id": "1073012828-7Server",
"type": "minor",
"children": [
{
"name": "x86_64",
"id": "1073012828-7Server-x86_64",
"type": "arch",
"children": [],
"repos": [
{
"id": 177000827,
"name": "RHEL 7 x86_64",
"type": "repo"
}
]
},
{
"name": "noarch",
"id": "1073012828-7Server-noarch",
"type": "arch",
"children": [],
"repos": [
{
"id": 721593910,
"name": "RHEL 7 no_arch",
"type": "repo"
}
]
}
],
"repos": []
},
{
"name": "6Server",
"id": "1073012828-6Server",
"type": "minor",
"children": [
{
"name": "x86_64",
"id": "1073012828-6Server-x86_64",
"type": "arch",
"children": [],
"repos": [
{
"id": 103207400,
"name": "RHEL 6 x86_64",
"type": "repo"
}
]
}
],
"repos": []
}
],
"organization": "Empty Organization"
},
{
"name": "Debian",
"object": "Debian",
"id": 867224909,
"type": "product",
"orphaned": true,
"repos": [
{
"id": 424777880,
"name": "Ragnarok",
"type": "repo"
},
{
"id": 338670399,
"name": "Debian 9 amd64",
"type": "repo"
},
{
"id": 697316289,
"name": "Debian 10 amd64",
"type": "repo"
},
{
"id": 170471148,
"name": "Debian 10 amd64 duplicate",
"type": "repo"
},
{
"id": 813024095,
"name": "Pulp3 Deb 1",
"type": "repo"
}
],
"children": [],
"organization": "Empty Organization"
},
{
"name": "Fedora",
"object": "Fedora",
"id": 785257261,
"type": "product",
"orphaned": true,
"repos": [
{
"id": 367202338,
"name": "Fedora 17 x86_64",
"type": "repo"
},
{
"id": 792129035,
"name": "Fedora 17 x86_64 duplicate",
"type": "repo"
},
{
"id": 890345092,
"name": "OSTree Integration Test",
"type": "repo"
},
{
"id": 576800708,
"name": "Python Integration Test",
"type": "repo"
},
{
"id": 242028598,
"name": "Fedora 17 no arch",
"type": "repo"
},
{
"id": 841753487,
"name": "Fedora 17 x86_64 unpublished",
"type": "repo"
},
{
"id": 860533889,
"name": "Fedora 17 x86_64 2",
"type": "repo"
},
{
"id": 752069227,
"name": "Pulp3 File 1",
"type": "repo"
},
{
"id": 269989997,
"name": "Pulp3 Ansible Collection 1",
"type": "repo"
},
{
"id": 536318648,
"name": "Pulp3 Docker 1",
"type": "repo"
},
{
"id": 16447009,
"name": "Pulp3 Python 1",
"type": "repo"
},
{
"id": 145295987,
"name": "Pulp3 OSTree 1",
"type": "repo"
}
],
"children": [],
"organization": "Empty Organization"
},
{
"name": "Oracle",
"object": "Oracle",
"id": 921304035,
"type": "product",
"orphaned": true,
"repos": [
{
"id": 1040792857,
"name": "ovm2 i386 patch",
"type": "repo"
}
],
"children": [],
"organization": "Empty Organization"
},
{
"name": "product_host_count",
"object": "product_host_count",
"id": 903632572,
"type": "product",
"orphaned": true,
"repos": [
{
"id": 128942273,
"name": "product host count repo 1",
"type": "repo"
},
{
"id": 514248965,
"name": "product host count repo 2",
"type": "repo"
}
],
"children": [],
"organization": "Empty Organization"
},
{
"name": "Puppet Product",
"object": "Puppet Product",
"id": 516337990,
"type": "product",
"orphaned": true,
"repos": [
{
"id": 84409059,
"name": "busybox",
"type": "repo"
},
{
"id": 224226076,
"name": "busybox",
"type": "repo"
}
],
"children": [],
"organization": "Empty Organization"
}
],
"repo_statuses": {
"177000827": {
"id": 177000827,
"product_id": 1073012828,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"103207400": {
"id": 103207400,
"product_id": 1073012828,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"721593910": {
"id": 721593910,
"product_id": 1073012828,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"424777880": {
"id": 424777880,
"product_id": 867224909,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"338670399": {
"id": 338670399,
"product_id": 867224909,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"697316289": {
"id": 697316289,
"product_id": 867224909,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"170471148": {
"id": 170471148,
"product_id": 867224909,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"813024095": {
"id": 813024095,
"product_id": 867224909,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"367202338": {
"id": 367202338,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"792129035": {
"id": 792129035,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"890345092": {
"id": 890345092,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"576800708": {
"id": 576800708,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"643402541": {
"id": 643402541,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"242028598": {
"id": 242028598,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"841753487": {
"id": 841753487,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"860533889": {
"id": 860533889,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"504073478": {
"id": 504073478,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"921033349": {
"id": 921033349,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"752069227": {
"id": 752069227,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"269989997": {
"id": 269989997,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"536318648": {
"id": 536318648,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"16447009": {
"id": 16447009,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"145295987": {
"id": 145295987,
"product_id": 785257261,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"1040792857": {
"id": 1040792857,
"product_id": 921304035,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"128942273": {
"id": 128942273,
"product_id": 903632572,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"514248965": {
"id": 514248965,
"product_id": 903632572,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"992333848": {
"id": 992333848,
"product_id": 516337990,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"84409059": {
"id": 84409059,
"product_id": 516337990,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"224226076": {
"id": 224226076,
"product_id": 516337990,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
},
"398587630": {
"id": 398587630,
"product_id": 516337990,
"progress": {},
"state": "Never Synced",
"raw_state": "never_synced"
}
}
}
| Param name | Description |
|---|---|
|
organization_id
optional |
ID of an organization Validations:
|
GET /katello/api/sync_status/poll
200
[
{
"id": 367202338,
"product_id": 785257261,
"progress": {},
"state": "Syncing Complete.",
"raw_state": "stopped",
"start_time": "less than a minute ago"
}
]
| Param name | Description |
|---|---|
|
repository_ids
required |
List of repository IDs to poll Validations:
|
|
organization_id
optional |
ID of an organization Validations:
|
POST /katello/api/sync_status/sync
{
"repository_ids": [
367202338
],
"organization_id": 114267492,
"sync_status": {
"repository_ids": [
367202338
],
"organization_id": 114267492
}
}
200
[
{}
]
| Param name | Description |
|---|---|
|
repository_ids
required |
List of repository IDs to sync Validations:
|
|
organization_id
optional |
ID of an organization Validations:
|
DELETE /katello/api/sync_status/367202338
{
"sync_status": {}
}
200
{
"message": "Sync canceled"
}
| Param name | Description |
|---|---|
|
id
required |
Repository ID Validations:
|