Skip to content

Commit

Permalink
docs: remove references to old search fields in api/queue-query
Browse files Browse the repository at this point in the history
  • Loading branch information
sal-uva committed Oct 15, 2024
1 parent 38418b2 commit e556c2d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions webtool/views/api_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,20 +282,14 @@ def queue_dataset():
Request parameters vary by data source. The ones mandated constitute the
minimum but more may be required.
:request-param str board: Board ID to query
:request-param str datasource: Data source ID to query
:request-param str body_match: String to match in the post body
:request-param str subject_match: String to match in the post subject
:request-param int min_date: Timestamp marking the beginning of the match
period
:request-param int max_date: Timestamp marking the end of the match period
:request-param str ?access_token: Access token; only required if not
logged in currently.
:return str: The dataset key, which may be used to later retrieve dataset
status and results.
:return-error 404: If the datasource does not exist.
"""

datasource_id = request.form.get("datasource", "")
if datasource_id not in fourcat_modules.datasources:
return error(404, message="Datasource '%s' does not exist" % datasource_id)
Expand Down

0 comments on commit e556c2d

Please sign in to comment.