PUT /katello/api/products/785257261 { "product": { "name": "New Name", "description": "Product Description", "label": "product_label" } } 200 { "sync_state_aggregated": "stopped", "redhat": false, "id": 785257261, "cp_id": "123123123001", "name": "Fedora", "label": "fedora_label", "description": "An open source Linux distribution.", "provider_id": 36826545, "sync_plan_id": null, "sync_summary": {}, "gpg_key_id": null, "ssl_ca_cert_id": null, "ssl_client_cert_id": null, "ssl_client_key_id": null, "sync_state": null, "last_sync": null, "last_sync_words": null, "organization_id": 114267492, "organization": { "name": "Empty Organization", "label": "Empty_Organization", "id": 114267492 }, "sync_plan": null, "repository_count": 13, "created_at": "2024-05-23 19:46:02 UTC", "updated_at": "2024-05-23 19:46:02 UTC", "product_content": [ { "enabled": false, "product_id": 785257261, "content": { "name": "Fedora", "label": "fedora", "vendor": null, "content_url": "/pub/fedora/linux/releases/$releasever/Everything/$basearch/os", "gpg_url": null, "id": "1", "type": null, "gpgUrl": null, "contentUrl": "/pub/fedora/linux/releases/$releasever/Everything/$basearch/os" } } ], "available_content": [ { "enabled": false, "product_id": 785257261, "content": { "name": "Fedora", "label": "fedora", "vendor": null, "content_url": "/pub/fedora/linux/releases/$releasever/Everything/$basearch/os", "gpg_url": null, "id": "1", "type": null, "gpgUrl": null, "contentUrl": "/pub/fedora/linux/releases/$releasever/Everything/$basearch/os" } } ], "repositories": [ { "name": "Fedora 17 x86_64", "id": 367202338 }, { "name": "Fedora 17 x86_64", "id": 841170190 }, { "name": "Fedora 17 x86_64 duplicate", "id": 792129035 }, { "name": "Feedless Fedora 17 x86_64", "id": 643402541 }, { "name": "Fedora 17 no arch", "id": 242028598 }, { "name": "Fedora 17 x86_64 unpublished", "id": 841753487 }, { "name": "Fedora 17 x86_64 2", "id": 860533889 }, { "name": "Source rpm repo", "id": 504073478 }, { "name": "My Files", "id": 921033349 }, { "name": "Pulp3 File 1", "id": 752069227 }, { "name": "Pulp3 Ansible Collection 1", "id": 269989997 }, { "name": "Pulp3 Docker 1", "id": 536318648 }, { "name": "Pulp3 Python 1", "id": 16447009 }, { "name": "Pulp3 OSTree 1", "id": 145295987 } ], "provider": { "name": "Anonymous" }, "sync_status": { "id": null, "product_id": null, "progress": null, "sync_id": null, "state": null, "raw_state": null, "start_time": null, "finish_time": null, "duration": null, "display_size": null, "size": null, "is_running": null, "error_details": null }, "permissions": { "view_products": true, "edit_products": true, "destroy_products": false, "sync_products": true }, "published_content_view_ids": [ 909058347, 405955044 ], "has_last_affected_repo_in_filter": false, "active_task_count": 0 }
Param name | Description |
---|---|
id
required |
product numeric identifier Validations:
|
description
optional |
Product description Validations:
|
gpg_key_id
optional , nil allowed |
Identifier of the GPG key Validations:
|
ssl_ca_cert_id
optional , nil allowed |
Idenifier of the SSL CA Cert Validations:
|
ssl_client_cert_id
optional , nil allowed |
Identifier of the SSL Client Cert Validations:
|
ssl_client_key_id
optional , nil allowed |
Identifier of the SSL Client Key Validations:
|
sync_plan_id
optional , nil allowed |
Plan numeric identifier Validations:
|
name
optional |
Product name Validations:
|