Ticket #1695 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Relationships - improvements

Reported by: dread Owned by: dread
Priority: major Milestone:
Component: ckan Keywords:
Cc: cygri Repository: ckan
Theme: none

Description

Suggested by Richard Cyganiak in http://lists.okfn.org/pipermail/ckan-discuss/2012-January/001977.html

Change History

comment:1 Changed 2 years ago by dread

I propose spending 2h on this.

comment:2 Changed 2 years ago by dread

  • links_to/linked_from was already available (since Sept - Friedrich put them in).
  • Count property not easy so not done.
  • POST to the Relationships Register (all three) works now (and the original way via the entity still works too)
  • Schema/validation was added along with tests for error conditions.
  • Creating a new relationship documented in Model Methods
  • 'Model Formats' section in API docs restored and updated.

Committed to master aimed for release 1.6 https://github.com/okfn/ckan/commit/f16450c1c34cac09046a098273f66d2b75aa87dd

Spent 6h on this in the end - generally useful tidying in this area.

comment:3 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 2 years ago by dread

Went into CKAN release 1.6

Note: See TracTickets for help on using tickets.