Hide Forgot
Description of problem: The API documentation is unclear about what kind of fields are editable, once the repository have been created. https://fedorahosted.org/pulp/wiki/UGREST-Repositories#UpdateARepository mentions that "parameters: any field of a Repo object except id " can be passed and which are editable. However, testing in reality (and reading the API code) shows that only a small subset of fields can actually be updated. To my knowledge, only arch, name, sync_schedule can be directly be updated. While the feed_url/feed_type can be updated via the feed param, feed_(cert|ca|key) via feed_cert_data dictionary and the same for consumer_(cert|ca|key) via consumer_cert_data. The API documentation should be more explicit about which fields can be updated and which special parameters can be used to update a set of fields.
updated the wiki docs in code, re-ran restapi.py, and published new repositories rest api page fix pushed in: 1d2ec8c80f27f228cabc8a017c57132356dba239
build: 0.255
verified https://fedorahosted.org/pulp/wiki/UGREST-Repositories#UpdateARepository
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.