Home / API Documentation / Operations center / Advanced / Triggers and executes a deep inspection task

*Triggers and executes a deep inspection task

Requests

HTTP request

PUT /testing/v1/namespaces/{namespace}/functiontests/{name}/trigger

trigger a function test.

Responses

Content-Type application/json

Status code: 200

OK

Sample response

functiontest trigger result

{
   "detail": [],
   "ok": true,
   "reason": ""
 }

Parameters

Name Type Description
detail array Detailed information about why trigger failed.
Path: detail
ok boolean If trigger successed
Path: ok
reason string Reason shows why trigger failed.
Path: reason

Other status codes

Status code: 401

Unauthorized

Status code: 409

Some function test is running, can't trigger again.