Project

Profile

Help

Issue #318

Update bindings retrieval response body example with more recent information

Added by ipanova@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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

http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/consumer/bind.html#retrieve-a-single-binding

As an example:

  1. 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
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 610 100 610 0 0 982 0 -
    :--:-- --:--:-- --:--:-- 982
    {
    "_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"
    }

Associated revisions

Revision 0c4d9fbd View on GitHub
Added by ipanova@redhat.com over 6 years ago

Updating repo and consumer names in the examples.

closes #318 https://pulp.plan.io/issues/318

Revision 0c4d9fbd View on GitHub
Added by ipanova@redhat.com over 6 years ago

Updating repo and consumer names in the examples.

closes #318 https://pulp.plan.io/issues/318

History

#1 Updated by bmbouter over 6 years ago

Redmine thinks you want part of your example rendered with strikethrough. The redmine text formatting is a little strange, but it does say how to escape things that you want redmine to ignore. Check it out. http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting

#2 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#3 Updated by bmbouter over 6 years ago

  • Triaged changed from No to Yes
  • Severity set to Medium

#4 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by bmbouter over 6 years ago

  • Category deleted (1)
  • Tags Documentation added

Documentation is now a Tag not a Category.

#6 Updated by bmbouter over 6 years ago

  • Severity changed from Medium to 2. Medium

#7 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#8 Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.7.0

#9 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#10 Updated by igulina@redhat.com over 6 years ago

  • Status changed from 5 to ASSIGNED

Docs should stay consistent. Please update repo and consumer names for something more meaningful, like zoo, foo, test-repo, demo-repo, test-consumer as in other docs[1] and not xxx or c2.

[1] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/consumer/bind.html#retrieve-a-single-binding

#11 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

https://github.com/pulp/pulp/pull/1950

FYI, We do not have any standards established for docs examples. Please, next time file a separate valid bug where you would request 'docs consistency' in pulp docs examples.

#12 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#13 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#14 Updated by igulina@redhat.com over 6 years ago

  • Status changed from 5 to 6

Thanks for the update of repo and consumer names ;)

#15 Updated by amacdona@redhat.com almost 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#17 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF