Bug 752803 - API Documentation Repositories: Unclear which fields are editable after initializing a repository
Summary: API Documentation Repositories: Unclear which fields are editable after initi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: documentation
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 30
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-10 13:12 UTC by Peter Meier
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Peter Meier 2011-11-10 13:12:55 UTC
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.

Comment 1 Jason Connor 2011-12-13 01:48:02 UTC
updated the wiki docs in code, re-ran restapi.py, and published new repositories rest api page
fix pushed in: 1d2ec8c80f27f228cabc8a017c57132356dba239

Comment 2 Jeff Ortel 2011-12-15 20:18:03 UTC
build: 0.255

Comment 4 Preethi Thomas 2012-02-24 20:17:25 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:18:27 UTC
Pulp v1.0 is released.


Note You need to log in before you can comment on or make changes to this bug.