extract
v1
GET /api/v1/extract/date-duration-usage/
Date Duration Usage List
GET params:
- document_id: int
- text_unit_id: int
- duration_days_str: str/float
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
jq_filtersobject
Filter params similar to JQWidgets grid filter params: filterscount=1, filterdatafield0="a", filtervalue0="b", filtercondition0="CONTAINS", filteroperator0=1, sortdatafied="c", sortorder="asc"
Response
Example response
[
{
"amount": 0.8008281904610115,
"text_unit__document__description": "text_unit__document__description",
"text_unit__location_end": "text_unit__location_end",
"duration_type": "duration_type",
"text_unit__document__pk": "text_unit__document__pk",
"count": -1517921766,
"text_unit__unit_type": "text_unit__unit_type",
"text_unit__document__name": "text_unit__document__name",
"text_unit__document__document_type": "text_unit__document__document_type",
"duration_days": 6.027456183070403,
"text_unit__pk": "text_unit__pk",
"pk": 5,
"amount_str": "amount_str",
"text_unit__location_start": "text_unit__location_start"
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.