Ticket #30 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

List functions to add to web service

Reported by: AlexanderPico Owned by: AlexanderPico
Milestone: milestone_1.0 Component: REST Webservice
Version: Severity: feature
Keywords: Cc:

Description (last modified by martijn) (diff)

Here are the functions we're missing:

  • no equivalent of AttributeMapper?.getAttributeSet
  • no equivalent of AttributeMapper?.getAttributes (Xref) or getAttributes(Set<Xref>)
  • no equivalent of mapID (Set<Xref>) (using POST)
  • no equivalent of isFreeSearchSupported
  • distinguish srcDataSources and tgtDataSources
  • no equivalent of isMappingSupported
  • backPageText is obsolete, may be removed

While we're changing this, I have another proposal: The ordering of arguments seems weird / inconsistent to me. I think we can go for a "action/params" pattern instead of "(model|search)/params/action". Or I don't understand really where Isaac was going with this, maybe you can ask him? But I think this might be clearer:

/xrefs/{SYSTEM}/{ID} (with POST version for multiple results)
/attributes/{SYSTEM}/{ID} (with POST version for multiple results)
/search/{QUERY}[&limit={LIMIT}]
/attributeSearch/{QUERY}[&limit={LIMIT}][&attrName={ATTRNAME}]
/properties
/isFreeSearchSupported
/targetDataSources
/sourceDataSources
/isMappingSupported/{SRC-SYSTEM}/{DEST-SYSTEM}
/attributeSet

Change History

Changed 2 years ago by martijn

  • description modified (diff)

Changed 2 years ago by martijn

  • description modified (diff)

Changed 2 years ago by AlexanderPico

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.