project
v1
GET /api/v1/project/projects/project_stats/
Changed onGet project stats across all projects see related code in get_queryset() and serializer
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/lexpredict/apis/contraxsuite-api/docs/api/v1/project/projects/project_stats/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
project_idsstring
Project ids separated by commas
Response
Example response
[
{
"document_status_loaded_pcnt": 2.3021358869347655,
"clauses_total": 1,
"document_status_loaded": 5,
"document_status_awaiting_qa": 4,
"document_status_completed_pcnt": 1.0246457001441578,
"clause_status_unreviewed": 7,
"document_status_not_started": 7,
"document_status_awaiting_qa_pcnt": 7.386281948385884,
"document_status_excluded": 1,
"clause_status_accepted": 4,
"clause_status_rejected": 9,
"document_status_in_review": 3,
"document_status_not_started_pcnt": 9.301444243932576,
"clause_status_rejected_pcnt": 9.369310271410669,
"document_status_in_review_pcnt": 2.027123023002322,
"document_status_excluded_pcnt": 6.84685269835264,
"project_id": 0,
"clause_status_unreviewed_pcnt": 1.1730742509559433,
"document_status_completed": 1,
"name": "name",
"documents_total": 6,
"avg_ocr_grade": 5,
"type_title": "type_title",
"clause_status_accepted_pcnt": 5.025004791520295
}
]Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status
- breaking