Changes between Version 75 and Version 76 of UniformClearinghouseAPI


Ignore:
Timestamp:
10/11/13 15:57:36 (6 years ago)
Author:
mbrinn@bbn.com
Comment:

Clarify that a filter with an empty list of field names returns empty fields dictionaries

Legend:

Unmodified
Added
Removed
Modified
  • UniformClearinghouseAPI

    v75 v76  
    201201The value in the dictionary of a ‘match’ option can be a list of scalars, indicating an “OR”. For example, a list of URNs provided to the SLICE_URN key would match any slice with any of the listed URNs.
    202202
    203 The options argument may include an additional dictionary keyed “filter” which is a list of fields associated with that object type (again, as specified in the get_version entry for that object). No “filter” provided means all fields are to be returned.
     203The options argument may include an additional dictionary keyed “filter” which is a list of fields associated with that object type (again, as specified in the get_version entry for that object). No “filter” provided means all fields are to be returned; a 'filter' provided with an empty list returns an empty set of fields (i.e. a dictionary of URN's pointing to empty dictionaries).
    204204
    205205The return of the call will be a dictionary of dictionaries, one per matching object indexed by URN, of fields matching the filter criteria. If the query found no matches, an empty dictionary is returned (i.e. no error is reported, assuming no other error was encountered in processing).