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

Use underscores instead of dashes in responses

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      5
    • Sprint:
      PuppetDB 2015-01-28, PuppetDB 2015-02-11, PuppetDB 2015-02-25

      Description

      It would be good if the PuppetDB API used underscores instead of dashes. Especially for JavaScript it is cleaner if you can write stuff like node.catalog_timestamp instead of having to write node["catalog-timestamp"].

      This is mostly a issue in the response formats, and to a lesser extent in the parameter names. Not really a issue IMO in the endpoint names, but can perhaps be a value in consistency here.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  wyatt Wyatt Alt
                  Reporter:
                  dalen Erik Dalén
                  QA Contact:
                  John Duarte
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: