action contract_p_get_stp_resource { label: "Get the STP counts on documents, sections and fields in the given inbox" description: "**Permission required:** view_statistics" provider: contract_p method: GET path: "/stats/{scope}/stp" encoding: json input: { type: "object" properties: { end_date: { type: "string" format: "date-time" } filter_by: { type: "string" } start_date: { type: "string" format: "date-time" } version_name: { type: "string" } } additionalProperties: false } output: { type: "object" additionalProperties: true } }