Test
Function
Test
Test runs a function’s test suite in a sandboxed environment and returns the results.
POST
Test
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The function ID to test.
Body
application/json
FunctionsServiceTestRequest runs tests for a function at a specific commit.
The commit ID to test. If empty, the published commit is used.
Response
200 - application/json
FunctionsServiceTestResponse contains test execution results.