Actions
Issue #318
closedUpdate bindings retrieval response body example with more recent information
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:
Description
As an example:
- curl
H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X GET -k -u admin:admin "https://localhost/pulp/api/v2/consumers/c1/bindings/zoo/yum_distributor/"|python -m json.tool:--:-- --:--:-- --:--:-- 982
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 610 100 610 0 0 982 0 -
{
"_href": "/pulp/api/v2/consumers/c1/bindings/zoo/yum_distributor/",
"_id": {
"$oid": "54e4a51ca629d331857c5c77"
},
"_ns": "consumer_bindings",
"binding_config": {},
"consumer_actions": [],
"consumer_id": "c1",
"deleted": false,
"details": {
"ca_cert": null,
"client_cert": null,
"gpg_keys": [],
"protocols": [
"https"
],
"relative_path": "/pulp/repos/repos/pulp/pulp/demo_repos/zoo/",
"repo_name": "zoo",
"server_name": "ec2-54-246-34-239.eu-west-1.compute.amazonaws.com"
},
"distributor_id": "yum_distributor",
"id": "54e4a51ca629d331857c5c77",
"notify_agent": true,
"repo_id": "zoo",
"type_id": "yum_distributor"
}
Actions
Updating repo and consumer names in the examples.
closes #318 https://pulp.plan.io/issues/318