[ckan-changes] [okfn/ckan] 4e79f7: Add API URLs for getting dataset and group activit...

GitHub noreply at github.com
Mon Jan 16 17:22:44 UTC 2012


  Branch: refs/heads/feature-1515-activity-streams
  Home:   https://github.com/okfn/ckan
  Commit: 4e79f7522eb9c5f77b166885696c8189aa098954
      https://github.com/okfn/ckan/commit/4e79f7522eb9c5f77b166885696c8189aa098954
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-16 (Mon, 16 Jan 2012)

  Changed paths:
    M ckan/controllers/api.py
  M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Add API URLs for getting dataset and group activity streams in JSON

Hook up the API URLs to the already existing logic functions, and add
API calls into the tests.

Also removed some unnecessary comments while I was at it.

The URLs are:

/api/[1|2]/rest/[dataset|package]/{ID}/activity
/api/[1|2]/rest/group/{ID}/activity


  Commit: 09220712faa14d3ad0053ea8ba5e4ebf787d099e
      https://github.com/okfn/ckan/commit/09220712faa14d3ad0053ea8ba5e4ebf787d099e
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-16 (Mon, 16 Jan 2012)

  Changed paths:
    M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Change to API v2 calls in activity streams tests


Compare: https://github.com/okfn/ckan/compare/7c5ad44...0922071


More information about the ckan-changes mailing list