Description of problem: Request for create role expects "role_id", but in response is only "id". How reproducible: always Steps to Reproduce: 1. create role Actual results: post role_id get id Expected results: post id get id Additional info: https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/role/cud.html
This is still outstanding as of 2.4.3 from server_calls.log when creating a role: 2014-11-12 01:16:19,360 - INFO - POST request to /pulp/api/v2/roles/ with parameters {"display_name": null, "description": null, "role_id": "foo-role"} 2014-11-12 01:16:19,361 - INFO - Response status : 201 2014-11-12 01:16:19,361 - INFO - Response body : { "display_name": "foo-role", "description": null, "_ns": "roles", "permissions": {}, "_id": { "$oid": "5462b4e3d7a7470368373223" }, "id": "foo-role", "_href": "/pulp/api/v2/roles/foo-role/" } Assigning this to 3.0.0 since that is our next opportunity to fix this.
Moved to https://pulp.plan.io/issues/380