Method: projects.histories.create

Creates a History.

The returned History will have the id set.

May return any of the following canonical error codes:

  • PERMISSION_DENIED - if the user is not authorized to write to project
  • INVALID_ARGUMENT - if the request is malformed
  • NOT_FOUND - if the containing project does not exist

HTTP request

POST https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

A Project id.

Required.

Query parameters

Parameters
requestId

string

A unique request ID for server to detect duplicated requests. For example, a UUID.

Optional, but strongly recommended.

Request body

The request body contains an instance of History.

Response body

If successful, the response body contains a newly created instance of History.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.