Uploads a test case. The content can be a previously downloaded test case. Performs the same function as testCases.create, but accepts input in a string format, which holds the complete representation of the TestCase content.
HTTP request
POST https://integrations.googleapis.com/v1/{parent=projects/*/locations/*/integrations/*/versions/*}/testCases:upload
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis API endpoint allows for uploading a test case using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, with the test case content provided in string format.\u003c/p\u003e\n"],["\u003cp\u003eThe required path parameter, \u003ccode\u003eparent\u003c/code\u003e, specifies the project, location, integration, and version where the test case will be uploaded.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be formatted in JSON, and it contains the test case's string representation in the \u003ccode\u003econtent\u003c/code\u003e field, along with its \u003ccode\u003efileFormat\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a response body in JSON format, which includes the uploaded \u003ccode\u003eTestCase\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eUploading a test case requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003eintegrations.testCases.create\u003c/code\u003e on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]