Ticket #158 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Add 'extras' to REST API

Reported by: dread Owned by: dread
Priority: major Milestone: v0.11
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by dread) (diff)

  • Ensure you can add/change/delete extra fields from packages using the REST API.
  • Update API docs to cover this.

On Package get, ensure separation of extra attributes from other attributes.

What is the meaning of posting an incomplete dictionary (updating a package)? Option 1 - if field not present, leave field alone

  • Delete field if field value is None

Option 2 - user must supply all fields

  • Delete field if field absent

Prefer option 1. Document this.

Follows on from ticket:152

Change History

comment:1 Changed 5 years ago by dread

  • Description modified (diff)

comment:2 Changed 5 years ago by dread

  • Description modified (diff)

comment:3 Changed 5 years ago by dread

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

Done in cset:2aaaedff9d60

Note: See TracTickets for help on using tickets.