Project

Profile

Help

Issue #318

closed

Update bindings retrieval response body example with more recent information

Added by ipanova@redhat.com over 7 years ago. Updated over 3 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"
    }
Actions #1

Updated by bmbouter over 7 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

Actions #2

Updated by ipanova@redhat.com over 7 years ago

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

Updated by bmbouter over 7 years ago

  • Triaged changed from No to Yes
  • Severity set to Medium
Actions #4

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by bmbouter over 7 years ago

  • Category deleted (1)
  • Tags Documentation added

Documentation is now a Tag not a Category.

Actions #6

Updated by bmbouter over 7 years ago

  • Severity changed from Medium to 2. Medium
Actions #7

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by dkliban@redhat.com over 7 years ago

  • Platform Release set to 2.7.0
Actions #9

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by igulina@redhat.com over 7 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

Added by ipanova@redhat.com over 7 years ago

Revision 0c4d9fbd

Updating repo and consumer names in the examples.

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

Added by ipanova@redhat.com over 7 years ago

Revision 0c4d9fbd

Updating repo and consumer names in the examples.

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

Actions #11

Updated by ipanova@redhat.com over 7 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.

Actions #12

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #13

Updated by dkliban@redhat.com about 7 years ago

  • Status changed from MODIFIED to 5
Actions #14

Updated by igulina@redhat.com about 7 years ago

  • Status changed from 5 to 6

Thanks for the update of repo and consumer names ;)

Actions #15

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #17

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF