Labs/OpenWebHomePage/ToolsDirectory: Difference between revisions

Jump to navigation Jump to search
 
Line 78: Line 78:
Returns a JSON object that contains all the fields for the tool. The field names should be those listed above, convert to lower-case with underscores in place of spaces (e.g., "Download URL" => "download_url").
Returns a JSON object that contains all the fields for the tool. The field names should be those listed above, convert to lower-case with underscores in place of spaces (e.g., "Download URL" => "download_url").


2. GET tools?tags=t[,t]&text=s
2. GET tools/search/s/t


t = comma-delimited string of tags
t = comma-delimited string of tags
Line 84: Line 84:


Returns a JSON array with each object containing the id, name, short_name, tags, child_of, price, current_version_release_date, and mailing_list_activity fields of those tools that have the specified tags and whose name or description fields or tags contain the specified string.
Returns a JSON array with each object containing the id, name, short_name, tags, child_of, price, current_version_release_date, and mailing_list_activity fields of those tools that have the specified tags and whose name or description fields or tags contain the specified string.
3. GET tools/all
Returns a JSON array of arrays of all tools in the system, as per 1.


==== Questions ====
==== Questions ====
1,107

edits

Navigation menu