Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-214

API: resource endpoint requires type to be capitalised

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When querying puppetdb most endpoints take the form of endpoint/some/query but for resources the type must be capitalised.

      This means that one must query for resources/User/root but not resources/user/root, which will return empty.

      I know there's a difference in the Puppet DSL where user{} is actually instantiating a user whereas User[] is referring to a instance it seems strange that this matters to the API.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              redmine.exporter redmine.exporter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support