lczub / TestLink-API-Python-client

A Python client to use the TestLink API
104 stars 63 forks source link

implement new 1.9.20-fixed api - getRequirement #146

Open lczub opened 3 years ago

lczub commented 3 years ago

implement new 1.9.20-fixed api - getRequirement

related TL Mantis Task

new api


    /**
     * Get requirement
     *
     * @param struct $args
     * @param string $args["devKey"]
     * @param string $args["testprojectid"]:
     * @param int $args["requirementid"]:
     *            OPTIONAL, if not present, reqdocid must be present
     * @param string $args["requirementdocid"]:
     *            OPTIONAL, if not present, reqid must be present
     * @param string $args["version"]
     *            OPTIONAL
     * @param string $args["requirementversionid"]
     *            OPTIONAL
     * If neither version nor versionid are present, the latest version is used
     *
     * @return mixed error if someting's wrong, else a requirement version
     *
     * @access public
     */
    public function getRequirement($args) {