REST Resource: projects.histories
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-24 UTC.
[null,null,["Last updated 2024-07-24 UTC."],[],[],null,["# REST Resource: projects.histories\n\n- [Resource: History](#History)\n - [JSON representation](#History.SCHEMA_REPRESENTATION)\n- [TestPlatform](#TestPlatform)\n- [Methods](#METHODS_SUMMARY)\n\nResource: History\n-----------------\n\nA History represents a sorted list of Executions ordered by the start_timestamp_millis field (descending). It can be used to group all the Executions of a continuous build.\n\nNote that the ordering only operates on one-dimension. If a repository has multiple branches, it means that multiple histories will need to be used in order to order Executions per branch.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"historyId\": string, \"name\": string, \"displayName\": string, \"testPlatform\": enum (/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories#TestPlatform) } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `historyId` | `string` A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set |\n| `name` | `string` A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set |\n| `displayName` | `string` A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional |\n| `testPlatform` | `enum (`[TestPlatform](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories#TestPlatform)`)` The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown. |\n\nTestPlatform\n------------\n\nThe platform of the test.\n\n| Enums ||\n|-------------------|---|\n| `unknownPlatform` | |\n| `android` | |\n| `ios` | |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------|--------------------------------------|\n| ### [create](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories/create) | Creates a History. |\n| ### [get](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories/get) | Gets a History. |\n| ### [list](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories/list) | Lists Histories for a given Project. |"]]