[ckan-changes] [ckan/ckan] fc7d68: [#3229] Migrate the REST API

GitHub noreply at github.com
Thu Sep 8 14:46:19 UTC 2016


  Branch: refs/heads/3229-api-blueprint
  Home:   https://github.com/ckan/ckan
  Commit: fc7d68287508b802d23b6a0e5fad50f5ea5fbb97
      https://github.com/ckan/ckan/commit/fc7d68287508b802d23b6a0e5fad50f5ea5fbb97
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M ckan/config/routing.py
    M ckan/views/api.py

  Log Message:
  -----------
  [#3229] Migrate the REST API

The view functions were straight-forward (there is a lot of code
duplication but I didn't bother trying to optimize it). The routing it's
a bit confusing as we needed to register two rules for each endpoint,
one with and one without version number at the start.




More information about the ckan-changes mailing list