Ticket #637 (closed Enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Core Service: getTopics(key, value, fetchComposite) is not RESTful

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.3
Component: DeepaMehta Standard Distribution Version: 4.2
Keywords: Cc: dgf, Malte
Complexity: 2 Area: Application Framework / API
Module: deepamehta-webservice

Description

Only the singular form -- getTopic(..) -- is.

Change History

comment:1 Changed 7 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Jörg Richter

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

Make Core's getTopics(key, value) RESTful (#637).

This Core Service method is RESTful:

List<Topic> getTopics(String key, SimpleValue value, boolean fetchComposite);

GET /core/topic/multi/by_value/{key}/{value}

A fetchComposite query paramter can be added. Default value is false.

The response contains a JSON array in the body.

Close #637.

Note: See TracTickets for help on using tickets.