diff --git a/backend/.gitignore b/backend/.gitignore index 9e85ec00b..6d6bf396e 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -189,3 +189,7 @@ volume_data/*.yaml tests_submissions tests_submissions_backup !tests_submissions/submissions.zip + +# generated files +schema.yaml +schema.yml diff --git a/backend/schema.yml b/backend/schema.yml deleted file mode 100644 index a28abf497..000000000 --- a/backend/schema.yml +++ /dev/null @@ -1,4541 +0,0 @@ -openapi: 3.0.3 -info: - title: KernelCI Dashboard API - version: 0.9.0 - description: API for the KernelCI dashboard -paths: - /api/build/{build_id}: - get: - operationId: build_retrieve - parameters: - - in: path - name: build_id - schema: - type: string - description: ID of the build - required: true - tags: - - build - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/BuildDetailsResponse' - description: '' - /api/build/{build_id}/issues: - get: - operationId: build_issues_retrieve - parameters: - - in: path - name: build_id - schema: - type: string - description: ID of the build - required: true - tags: - - build - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DetailsIssuesResponse' - description: '' - /api/build/{build_id}/tests: - get: - operationId: build_tests_retrieve - parameters: - - in: path - name: build_id - schema: - type: string - description: ID of the build - required: true - tags: - - build - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/BuildTestsResponse' - description: '' - /api/hardware/: - get: - operationId: hardware_retrieve - parameters: - - in: query - name: commitsList - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Commitslist - description: 'Optional comma-separated git commit identifiers: full SHA(s) - and/or tag strings that appear in checkout.git_commit_tags.' - - in: query - name: endTimestampInSeconds - schema: - title: Endtimestampinseconds - type: string - description: Interval end timestamp in seconds for the results - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the hardware - - in: query - name: startTimestampInSeconds - schema: - title: Starttimestampinseconds - type: string - description: Interval start timestamp in seconds for the results - required: true - tags: - - hardware - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareListingResponse' - description: '' - /api/hardware-by-revision/: - get: - operationId: hardware_by_revision_retrieve - parameters: - - in: query - name: git_commit_hash - schema: - title: Git Commit Hash - type: string - description: Commit hash of the tree - required: true - - in: query - name: git_repository_branch - schema: - title: Git Repository Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_repository_url - schema: - title: Git Repository Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the hardware - - in: query - name: tree_name - schema: - title: Tree Name - type: string - description: Name of the tree - required: true - tags: - - hardware-by-revision - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareListingByRevisionResponse' - description: '' - /api/hardware/{hardware_id}: - post: - operationId: hardware_create - parameters: - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsFullResponse' - description: '' - /api/hardware/{hardware_id}/boots: - post: - operationId: hardware_boots_create - parameters: - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsBootsResponse' - description: '' - /api/hardware/{hardware_id}/builds: - post: - operationId: hardware_builds_create - parameters: - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsBuildsResponse' - description: '' - /api/hardware/{hardware_id}/commit-history: - post: - operationId: hardware_commit_history_create - parameters: - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CommitHistoryPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/CommitHistoryPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/CommitHistoryPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareCommitHistoryResponse' - description: '' - /api/hardware/{hardware_id}/summary: - post: - operationId: hardware_summary_create - parameters: - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsSummaryResponse' - description: '' - /api/hardware/{hardware_id}/tests: - post: - operationId: hardware_tests_create - parameters: - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: path - name: hardware_id - schema: - type: string - description: ID of the hardware, as the name of the platform/compatible - required: true - tags: - - hardware - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - multipart/form-data: - schema: - $ref: '#/components/schemas/HardwareDetailsPostBody' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareDetailsTestsResponse' - description: '' - /api/hardware/selectors/: - get: - operationId: hardware_selectors_retrieve - parameters: - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the hardware - tags: - - hardware - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/HardwareSelectorsResponse' - description: '' - /api/issue/: - get: - operationId: issue_retrieve - parameters: - - in: query - name: endTimestampInSeconds - schema: - anyOf: - - type: string - - type: integer - - type: 'null' - default: null - title: Endtimestampinseconds - description: Interval end timestamp in seconds for the results - - in: query - name: filter - schema: - additionalProperties: - type: string - default: null - title: Filter - type: object - description: Optional filter dictionary for additional query parameters - - in: query - name: interval_in_days - schema: - default: 7 - exclusiveMinimum: 0 - title: Interval In Days - type: integer - description: Interval in days for the listing - - in: query - name: startTimestampInSeconds - schema: - anyOf: - - type: string - - type: integer - - type: 'null' - default: null - title: Starttimestampinseconds - description: Interval start timestamp in seconds for the results - tags: - - issue - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/IssueListingResponse' - description: '' - /api/issue/{issue_id}: - get: - operationId: issue_retrieve_2 - parameters: - - in: path - name: issue_id - schema: - type: string - description: ID of the issue - required: true - - in: query - name: version - schema: - anyOf: - - type: integer - - type: 'null' - default: null - title: Version - description: Issue version - tags: - - issue - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/IssueDetailsResponse' - description: '' - /api/issue/{issue_id}/builds: - get: - operationId: issue_builds_retrieve - parameters: - - in: path - name: issue_id - schema: - type: string - description: ID of the issue - required: true - - in: query - name: version - schema: - anyOf: - - type: integer - - type: 'null' - default: null - title: Version - description: Issue version - tags: - - issue - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/IssueBuildsResponse' - description: '' - /api/issue/{issue_id}/tests: - get: - operationId: issue_tests_retrieve - parameters: - - in: path - name: issue_id - schema: - type: string - description: ID of the issue - required: true - - in: query - name: version - schema: - anyOf: - - type: integer - - type: 'null' - default: null - title: Version - description: Issue version - tags: - - issue - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/IssueTestsResponse' - description: '' - /api/issue/extras/: - post: - operationId: issue_extras_create - description: |- - Returns the information about the first incident and the trees where a list of issues appeared. - Some tags are also added in case the issue appeared on specific trees. - - If an issue id exists and has incidents, the first incident will be returned - considering the issues' first version - - If an issue id doesn't exist or had no incidents, it won't be present in the returned list. - - If an issue id exists and has incidents but the search version doesn't exist, - then the version of that issue will be marked as `null`. - If the version exists but had no incidents, it will simply have an empty list of trees. - tags: - - issue - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IssueExtraDetailsRequest' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/IssueExtraDetailsRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/IssueExtraDetailsRequest' - required: true - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/IssueExtraDetailsResponse' - description: '' - /api/log-downloader/: - get: - operationId: log_downloader_retrieve - parameters: - - in: query - name: log_download_url - schema: - title: Log Download Url - type: string - description: URL of the log to be downloaded - required: true - tags: - - log-downloader - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/LogDownloaderResponse' - description: '' - /api/metrics/: - get: - operationId: metrics_retrieve - parameters: - - in: query - name: end_days_ago - schema: - default: 0 - minimum: 0 - title: End Days Ago - type: integer - description: Number of days ago that marks the end of the metrics interval - - in: query - name: start_days_ago - schema: - default: 7 - minimum: 0 - title: Start Days Ago - type: integer - description: Number of days ago that marks the start of the metrics interval - tags: - - metrics - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/MetricsResponse' - description: '' - '400': - content: - application/json: - schema: - type: object - additionalProperties: - type: string - description: '' - /api/origins/: - get: - operationId: origins_retrieve - parameters: - - in: query - name: interval_in_days - schema: - default: 30 - exclusiveMinimum: 0 - title: Interval In Days - type: integer - description: Interval in days for the listing - tags: - - origins - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/OriginsResponse' - description: '' - '400': - content: - application/json: - schema: - type: object - additionalProperties: - type: string - description: '' - /api/proxy/: - get: - operationId: proxy_retrieve - description: Proxy endpoint to fetch from external sources and handle CORS issues - parameters: - - in: query - name: url - schema: - type: string - description: URL to the proxy - required: true - tags: - - proxy - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - type: string - format: binary - description: '' - /api/schema/: - get: - operationId: schema_retrieve - description: |- - OpenApi3 schema for this API. Format can be selected via content negotiation. - - - YAML: application/vnd.oai.openapi - - JSON: application/vnd.oai.openapi+json - parameters: - - in: query - name: format - schema: - type: string - enum: - - json - - yaml - - in: query - name: lang - schema: - type: string - enum: - - af - - ar - - ar-dz - - ast - - az - - be - - bg - - bn - - br - - bs - - ca - - ckb - - cs - - cy - - da - - de - - dsb - - el - - en - - en-au - - en-gb - - eo - - es - - es-ar - - es-co - - es-mx - - es-ni - - es-ve - - et - - eu - - fa - - fi - - fr - - fy - - ga - - gd - - gl - - he - - hi - - hr - - hsb - - hu - - hy - - ia - - id - - ig - - io - - is - - it - - ja - - ka - - kab - - kk - - km - - kn - - ko - - ky - - lb - - lt - - lv - - mk - - ml - - mn - - mr - - ms - - my - - nb - - ne - - nl - - nn - - os - - pa - - pl - - pt - - pt-br - - ro - - ru - - sk - - sl - - sq - - sr - - sr-latn - - sv - - sw - - ta - - te - - tg - - th - - tk - - tr - - tt - - udm - - ug - - uk - - ur - - uz - - vi - - zh-hans - - zh-hant - tags: - - schema - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/vnd.oai.openapi: - schema: - type: object - additionalProperties: {} - application/yaml: - schema: - type: object - additionalProperties: {} - application/vnd.oai.openapi+json: - schema: - type: object - additionalProperties: {} - application/json: - schema: - type: object - additionalProperties: {} - description: '' - /api/test/{test_id}: - get: - operationId: test_retrieve - parameters: - - in: path - name: test_id - schema: - type: string - description: ID of the test - required: true - tags: - - test - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TestDetailsResponse' - description: '' - /api/test/{test_id}/issues: - get: - operationId: test_issues_retrieve - parameters: - - in: path - name: test_id - schema: - type: string - description: ID of the test - required: true - tags: - - test - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DetailsIssuesResponse' - description: '' - /api/test/status-history: - get: - operationId: test_status_history_retrieve - parameters: - - in: query - name: config_name - schema: - title: Config Name - type: string - description: Config name filter to retrieve tests - required: true - - in: query - name: current_test_start_time - schema: - $ref: '#/components/schemas/Test__StartTime' - default: null - description: Test start time filter to retrieve tests prior to it. This field - has priority over the test's timestamp. - - in: query - name: field_timestamp - schema: - $ref: '#/components/schemas/Timestamp' - default: null - description: Test timestamp filter to retrieve tests prior to it - - in: query - name: git_repository_branch - schema: - title: Git Repository Branch - type: string - description: Git branch name to retrieve tests - required: true - - in: query - name: git_repository_url - schema: - title: Git Repository Url - type: string - description: Git repository URL to retrieve tests - required: true - - in: query - name: group_size - schema: - default: 10 - exclusiveMinimum: 0 - title: Group Size - type: integer - description: The maximum amount of tests retrieved for the status history. - This affects the group's classification. - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin filter to retrieve tests - - in: query - name: path - schema: - title: Path - type: string - description: Test path filter - required: true - - in: query - name: platform - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Platform - description: Platform filter to retrieve tests - tags: - - test - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TestStatusHistoryResponse' - description: '' - /api/tree/: - get: - operationId: tree_retrieve - parameters: - - in: query - name: interval_in_days - schema: - default: 7 - exclusiveMinimum: 0 - title: Interval In Days - type: integer - description: Interval in days for the listing - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin filter - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeListingResponse' - description: '' - /api/tree-report/: - get: - operationId: tree_report_retrieve - parameters: - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: group_size - schema: - default: 3 - exclusiveMinimum: 1 - title: Group Size - type: integer - description: Maximum number of entries to be retrieved in a test history. - A group size of at least two is required in order for tests to be classified. - - in: query - name: max_age_in_hours - schema: - default: 24 - exclusiveMinimum: 0 - maximum: 720 - title: Max Age In Hours - type: integer - description: Maximum age for the queried checkout and related tests in hours - - in: query - name: min_age_in_hours - schema: - default: 0 - gte: 0 - title: Min Age In Hours - type: integer - description: Minimum age of the queried checkout in hours - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: query - name: path - schema: - default: - - '%' - items: - type: string - title: Path - type: array - description: A list of test paths to query for. SQL Wildcard can be used. - tags: - - tree-report - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeReportResponse' - description: '' - /api/tree/{commit_hash}/boots: - get: - operationId: tree_boots_retrieve - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CommonDetailsBootsResponse' - description: '' - /api/tree/{commit_hash}/builds: - get: - operationId: tree_builds_retrieve - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeDetailsBuildsResponse' - description: '' - /api/tree/{commit_hash}/commits: - get: - operationId: tree_commits_retrieve - parameters: - - in: query - name: builds_related_to_filtered_tests_only - schema: - default: false - title: Builds Related To Filtered Tests Only - type: boolean - description: When true, and requesting only builds, count only builds related - to tests/boots that pass the current filters. - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: end_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: End Timestamp In Seconds - description: End time filter in seconds for tree commits - - in: query - name: git_branch - schema: - anyOf: - - type: string - - type: 'null' - title: Git Branch - description: Git branch name to retrieve the tree commits - required: true - - in: query - name: git_url - schema: - anyOf: - - type: string - - type: 'null' - title: Git Url - description: Git repository URL to retrieve the tree commits - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin to retrieve the tree commits - - in: query - name: start_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Start Timestamp In Seconds - description: Start time filter in seconds for tree commits - - in: query - name: types - schema: - anyOf: - - items: - $ref: '#/components/schemas/TreeEntityTypes' - type: array - - type: 'null' - default: null - title: Types - description: List of types to include (builds, boots, tests) - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeCommitsResponse' - description: '' - /api/tree/{commit_hash}/full: - get: - operationId: tree_full_retrieve - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeDetailsFullResponse' - description: '' - /api/tree/{commit_hash}/summary: - get: - operationId: tree_summary_retrieve - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/SummaryResponse' - description: '' - /api/tree/{commit_hash}/tests: - get: - operationId: tree_tests_retrieve - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: query - name: git_branch - schema: - title: Git Branch - type: string - description: Git branch name of the tree - required: true - - in: query - name: git_url - schema: - title: Git Url - type: string - description: Git repository URL of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CommonDetailsTestsResponse' - description: '' - /api/tree/{tree_name}/{git_branch}: - get: - operationId: tree_retrieve_2 - parameters: - - in: query - name: commit_hash - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Commit Hash - description: Commit hash to retrieve tree information - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin filter to retrieve tree information - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeLatestResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/boots: - get: - operationId: tree_boots_retrieve_2 - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CommonDetailsBootsResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/builds: - get: - operationId: tree_builds_retrieve_2 - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeDetailsBuildsResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/commits: - get: - operationId: tree_commits_retrieve_3 - parameters: - - in: query - name: builds_related_to_filtered_tests_only - schema: - default: false - title: Builds Related To Filtered Tests Only - type: boolean - description: When true, and requesting only builds, count only builds related - to tests/boots that pass the current filters. - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: end_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: End Timestamp In Seconds - description: End time filter in seconds for tree commits - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin to retrieve the tree commits - - in: query - name: start_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Start Timestamp In Seconds - description: Start time filter in seconds for tree commits - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - - in: query - name: types - schema: - anyOf: - - items: - $ref: '#/components/schemas/TreeEntityTypes' - type: array - - type: 'null' - default: null - title: Types - description: List of types to include (builds, boots, tests) - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeCommitsResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/full: - get: - operationId: tree_full_retrieve_2 - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeDetailsFullResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/summary: - get: - operationId: tree_summary_retrieve_2 - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/SummaryResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/{commit_hash}/tests: - get: - operationId: tree_tests_retrieve_2 - parameters: - - in: path - name: commit_hash - schema: - type: string - description: Commit hash of the tree - required: true - - in: query - name: full_environment_misc - schema: - default: false - title: Full Environment Misc - type: boolean - description: When true, returns all fields from environment_misc instead of - only platform - - in: path - name: git_branch - schema: - type: string - description: Git branch name of the tree - required: true - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin of the tree - - in: path - name: tree_name - schema: - type: string - description: Name of the tree - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CommonDetailsTestsResponse' - description: '' - /api/tree/{tree_name}/{git_branch}/commits: - get: - operationId: tree_commits_retrieve_2 - parameters: - - in: path - name: git_branch - schema: - type: string - required: true - - in: query - name: git_url - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Git Url - description: Git repository URL to retrieve the tree commits - - in: query - name: origin - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Origin - description: Origin to retrieve the tree commits - - in: path - name: tree_name - schema: - type: string - required: true - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeCommitsListResponse' - description: '' - /api/tree/commits-history: - get: - operationId: tree_commits_history_retrieve - parameters: - - in: query - name: builds_related_to_filtered_tests_only - schema: - default: false - title: Builds Related To Filtered Tests Only - type: boolean - description: When true, and requesting only builds, count only builds related - to tests/boots that pass the current filters. - - in: query - name: commit_hashes - schema: - default: null - items: - type: string - title: Commit Hashes - type: array - description: Comma-separated list of commit hashes to get history for - - in: query - name: end_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: End Timestamp In Seconds - description: End time filter in seconds for tree commits - - in: query - name: git_branch - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Git Branch - description: Git branch name to retrieve the tree commits - - in: query - name: git_url - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Git Url - description: Git repository URL to retrieve the tree commits - - in: query - name: origin - schema: - default: maestro - title: Origin - type: string - description: Origin to retrieve the tree commits - - in: query - name: start_timestamp_in_seconds - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Start Timestamp In Seconds - description: Start time filter in seconds for tree commits - - in: query - name: tree_name - schema: - anyOf: - - type: string - - type: 'null' - default: null - title: Tree Name - description: Name of the tree - - in: query - name: types - schema: - anyOf: - - items: - $ref: '#/components/schemas/TreeEntityTypes' - type: array - - type: 'null' - default: null - title: Types - description: List of types to include (builds, boots, tests) - tags: - - tree - security: - - cookieAuth: [] - - basicAuth: [] - - {} - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/TreeCommitsResponse' - description: '' -components: - schemas: - BuildArchitectures: - properties: - PASS: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Pass - ERROR: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Error - FAIL: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Fail - SKIP: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Skip - MISS: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Miss - DONE: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Done - 'NULL': - anyOf: - - type: integer - - type: 'null' - default: 0 - title: 'Null' - compilers: - anyOf: - - items: - type: string - type: array - - type: 'null' - default: [] - title: Compilers - title: BuildArchitectures - type: object - BuildDetailsResponse: - properties: - id: - $ref: '#/components/schemas/Build__Id' - origin: - anyOf: - - $ref: '#/components/schemas/Origin' - - type: 'null' - architecture: - $ref: '#/components/schemas/Build__Architecture' - config_name: - $ref: '#/components/schemas/Build__ConfigName' - misc: - $ref: '#/components/schemas/Build__Misc' - config_url: - $ref: '#/components/schemas/Build__ConfigUrl' - compiler: - $ref: '#/components/schemas/Build__Compiler' - status: - $ref: '#/components/schemas/Build__Status' - duration: - $ref: '#/components/schemas/Build__Duration' - log_url: - $ref: '#/components/schemas/Build__LogUrl' - start_time: - $ref: '#/components/schemas/Build__StartTime' - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - checkout_id: - $ref: '#/components/schemas/Checkout__Id' - command: - $ref: '#/components/schemas/Build__Command' - comment: - $ref: '#/components/schemas/Build__Comment' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - git_commit_name: - $ref: '#/components/schemas/Checkout__GitCommitName' - git_commit_tags: - $ref: '#/components/schemas/Checkout__GitCommitTags' - log_excerpt: - $ref: '#/components/schemas/Build__LogExcerpt' - input_files: - $ref: '#/components/schemas/Build__InputFiles' - output_files: - $ref: '#/components/schemas/Build__OutputFiles' - build_origin: - $ref: '#/components/schemas/Origin' - required: - - id - - origin - - architecture - - config_name - - misc - - config_url - - compiler - - status - - duration - - log_url - - start_time - - git_repository_url - - git_repository_branch - - checkout_id - - command - - comment - - tree_name - - git_commit_hash - - git_commit_name - - git_commit_tags - - log_excerpt - - input_files - - output_files - - build_origin - title: BuildDetailsResponse - type: object - BuildHistoryItem: - properties: - id: - $ref: '#/components/schemas/Build__Id' - origin: - $ref: '#/components/schemas/Origin' - architecture: - $ref: '#/components/schemas/Build__Architecture' - config_name: - $ref: '#/components/schemas/Build__ConfigName' - misc: - $ref: '#/components/schemas/Build__Misc' - config_url: - $ref: '#/components/schemas/Build__ConfigUrl' - compiler: - $ref: '#/components/schemas/Build__Compiler' - status: - $ref: '#/components/schemas/Build__Status' - duration: - $ref: '#/components/schemas/Build__Duration' - log_url: - $ref: '#/components/schemas/Build__LogUrl' - start_time: - $ref: '#/components/schemas/Build__StartTime' - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - required: - - id - - origin - - architecture - - config_name - - misc - - config_url - - compiler - - status - - duration - - log_url - - start_time - - git_repository_url - - git_repository_branch - title: BuildHistoryItem - type: object - BuildIncidentsCount: - properties: - total_incidents: - title: Total Incidents - type: integer - n_new_issues: - title: N New Issues - type: integer - n_existing_issues: - title: N Existing Issues - type: integer - n_total_issues: - title: N Total Issues - type: integer - required: - - total_incidents - - n_new_issues - - n_existing_issues - - n_total_issues - title: BuildIncidentsCount - type: object - BuildSummary: - properties: - status: - $ref: '#/components/schemas/StatusCount' - origins: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Origins - type: object - architectures: - additionalProperties: - $ref: '#/components/schemas/BuildArchitectures' - title: Architectures - type: object - configs: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Configs - type: object - labs: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Labs - type: object - issues: - items: - $ref: '#/components/schemas/Issue' - title: Issues - type: array - unknown_issues: - title: Unknown Issues - type: integer - required: - - issues - - unknown_issues - title: BuildSummary - type: object - BuildTestItem: - properties: - id: - $ref: '#/components/schemas/Test__Id' - status: - $ref: '#/components/schemas/StatusValues' - duration: - $ref: '#/components/schemas/Test__Duration' - path: - $ref: '#/components/schemas/Test__Path' - start_time: - $ref: '#/components/schemas/Test__StartTime' - environment_compatible: - $ref: '#/components/schemas/Test__EnvironmentCompatible' - environment_misc: - $ref: '#/components/schemas/Test__EnvironmentMisc' - lab: - anyOf: - - type: string - - type: 'null' - title: Lab - required: - - id - - status - - duration - - path - - start_time - - environment_compatible - - environment_misc - - lab - title: BuildTestItem - type: object - BuildTestsResponse: - items: - $ref: '#/components/schemas/BuildTestItem' - title: BuildTestsResponse - type: array - Build__Architecture: - anyOf: - - type: string - - type: 'null' - Build__Command: - anyOf: - - type: string - - type: 'null' - Build__Comment: - anyOf: - - type: string - - type: 'null' - Build__Compiler: - anyOf: - - type: string - - type: 'null' - Build__ConfigName: - anyOf: - - type: string - - type: 'null' - Build__ConfigUrl: - anyOf: - - type: string - - type: 'null' - Build__Duration: - anyOf: - - type: number - - type: 'null' - Build__Id: - type: string - Build__InputFiles: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Build__LogExcerpt: - anyOf: - - type: string - - type: 'null' - Build__LogUrl: - anyOf: - - type: string - - type: 'null' - Build__Misc: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Build__OutputFiles: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Build__StartTime: - anyOf: - - format: date-time - type: string - - type: 'null' - Build__Status: - anyOf: - - $ref: '#/components/schemas/StatusValues' - - type: 'null' - CheckoutIssue: - description: Represents a build issue found in a checkout. - properties: - issue_id: - title: Issue Id - type: string - build_id: - title: Build Id - type: string - version: - title: Version - type: integer - comment: - title: Comment - type: string - report_url: - anyOf: - - type: string - - type: 'null' - default: null - title: Report Url - culprit_code: - title: Culprit Code - type: boolean - culprit_tool: - title: Culprit Tool - type: boolean - culprit_harness: - title: Culprit Harness - type: boolean - first_seen: - $ref: '#/components/schemas/Timestamp' - is_new_issue: - title: Is New Issue - type: boolean - required: - - issue_id - - build_id - - version - - comment - - culprit_code - - culprit_tool - - culprit_harness - - first_seen - - is_new_issue - title: CheckoutIssue - type: object - Checkout__GitCommitHash: - anyOf: - - type: string - - type: 'null' - Checkout__GitCommitName: - anyOf: - - type: string - - type: 'null' - Checkout__GitCommitTags: - anyOf: - - items: - type: string - type: array - - type: 'null' - Checkout__GitRepositoryBranch: - anyOf: - - type: string - - type: 'null' - Checkout__GitRepositoryUrl: - anyOf: - - type: string - - type: 'null' - Checkout__Id: - type: string - Checkout__TreeName: - anyOf: - - type: string - - type: 'null' - CommitHead: - properties: - treeName: - title: Treename - type: string - repositoryUrl: - title: Repositoryurl - type: string - branch: - title: Branch - type: string - commitHash: - title: Commithash - type: string - required: - - treeName - - repositoryUrl - - branch - - commitHash - title: CommitHead - type: object - CommitHistoryPostBody: - properties: - origin: - default: maestro - title: Origin - type: string - startTimestampInSeconds: - anyOf: - - type: string - - type: integer - title: Starttimestampinseconds - endTimestampInSeconds: - anyOf: - - type: string - - type: integer - title: Endtimestampinseconds - commitHeads: - items: - $ref: '#/components/schemas/CommitHead' - title: Commitheads - type: array - required: - - startTimestampInSeconds - - endTimestampInSeconds - - commitHeads - title: CommitHistoryPostBody - type: object - CommitHistoryValidCheckout: - properties: - git_commit_hash: - title: Git Commit Hash - type: string - tree_name: - title: Tree Name - type: string - git_repository_branch: - title: Git Repository Branch - type: string - git_repository_url: - title: Git Repository Url - type: string - git_commit_tags: - anyOf: - - items: - type: string - type: array - - type: 'null' - default: [] - title: Git Commit Tags - git_commit_name: - anyOf: - - type: string - - type: 'null' - title: Git Commit Name - start_time: - format: date-time - title: Start Time - type: string - required: - - git_commit_hash - - tree_name - - git_repository_branch - - git_repository_url - - git_commit_name - - start_time - title: CommitHistoryValidCheckout - type: object - CommonDetailsBootsResponse: - properties: - boots: - items: - $ref: '#/components/schemas/TestHistoryItem' - title: Boots - type: array - required: - - boots - title: CommonDetailsBootsResponse - type: object - CommonDetailsTestsResponse: - properties: - tests: - items: - $ref: '#/components/schemas/TestHistoryItem' - title: Tests - type: array - required: - - tests - title: CommonDetailsTestsResponse - type: object - DatabaseStatusValues: - enum: - - FAIL - - PASS - - SKIP - - ERROR - - MISS - - DONE - type: string - DetailsFilters: - properties: - all: - $ref: '#/components/schemas/GlobalFilters' - builds: - $ref: '#/components/schemas/LocalFilters' - boots: - $ref: '#/components/schemas/LocalFilters' - tests: - $ref: '#/components/schemas/LocalFilters' - required: - - all - - builds - - boots - - tests - title: DetailsFilters - type: object - DetailsIssuesResponse: - items: - $ref: '#/components/schemas/Issue' - title: DetailsIssuesResponse - type: array - EnvironmentMisc: - additionalProperties: true - properties: - platform: - title: Platform - type: string - required: - - platform - title: EnvironmentMisc - type: object - ExtraIssuesData: - properties: - first_incident: - $ref: '#/components/schemas/FirstIncident' - versions: - additionalProperties: - anyOf: - - $ref: '#/components/schemas/IssueWithExtraInfo' - - type: 'null' - title: Versions - type: object - required: - - first_incident - - versions - title: ExtraIssuesData - type: object - FirstIncident: - properties: - first_seen: - $ref: '#/components/schemas/Timestamp' - git_commit_hash: - anyOf: - - $ref: '#/components/schemas/Checkout__GitCommitHash' - - type: 'null' - git_repository_url: - anyOf: - - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - - type: 'null' - git_repository_branch: - anyOf: - - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - - type: 'null' - git_commit_name: - anyOf: - - $ref: '#/components/schemas/Checkout__GitCommitName' - - type: 'null' - tree_name: - anyOf: - - $ref: '#/components/schemas/Checkout__TreeName' - - type: 'null' - issue_version: - anyOf: - - $ref: '#/components/schemas/Issue__Version' - - type: 'null' - checkout_id: - anyOf: - - type: string - - type: 'null' - title: Checkout Id - required: - - first_seen - - git_commit_hash - - git_repository_url - - git_repository_branch - - git_commit_name - - tree_name - - issue_version - - checkout_id - title: FirstIncident - type: object - GlobalFilters: - properties: - configs: - items: - type: string - title: Configs - type: array - architectures: - items: - type: string - title: Architectures - type: array - compilers: - items: - type: string - title: Compilers - type: array - required: - - configs - - architectures - - compilers - title: GlobalFilters - type: object - HardwareBuildHistoryItem: - properties: - id: - $ref: '#/components/schemas/Build__Id' - origin: - $ref: '#/components/schemas/Origin' - architecture: - $ref: '#/components/schemas/Build__Architecture' - config_name: - $ref: '#/components/schemas/Build__ConfigName' - misc: - $ref: '#/components/schemas/Build__Misc' - config_url: - $ref: '#/components/schemas/Build__ConfigUrl' - compiler: - $ref: '#/components/schemas/Build__Compiler' - status: - $ref: '#/components/schemas/Build__Status' - duration: - $ref: '#/components/schemas/Build__Duration' - log_url: - $ref: '#/components/schemas/Build__LogUrl' - start_time: - $ref: '#/components/schemas/Build__StartTime' - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - issue_id: - anyOf: - - $ref: '#/components/schemas/Issue__Id' - - type: 'null' - issue_version: - anyOf: - - $ref: '#/components/schemas/Issue__Version' - - type: 'null' - required: - - id - - origin - - architecture - - config_name - - misc - - config_url - - compiler - - status - - duration - - log_url - - start_time - - git_repository_url - - git_repository_branch - - tree_name - - issue_id - - issue_version - title: HardwareBuildHistoryItem - type: object - HardwareCommitHistoryResponse: - example: - commit_history_table: - commit_hash_1: - - git_commit_hash: string - git_commit_name: string - git_commit_tags: - - string - git_repository_branch: string - git_repository_url: string - start_time: datetime - tree_name: string - commit_hash_2: - - git_commit_hash: string - git_commit_name: string - git_commit_tags: - - string - git_repository_branch: string - git_repository_url: string - start_time: datetime - tree_name: string - commit_hash_3: - - git_commit_hash: string - git_commit_name: string - git_commit_tags: - - string - git_repository_branch: string - git_repository_url: string - start_time: datetime - tree_name: string - properties: - commit_history_table: - additionalProperties: - items: - $ref: '#/components/schemas/CommitHistoryValidCheckout' - type: array - title: Commit History Table - type: object - required: - - commit_history_table - title: HardwareCommitHistoryResponse - type: object - HardwareCommon: - properties: - trees: - items: - $ref: '#/components/schemas/Tree' - title: Trees - type: array - compatibles: - items: - type: string - title: Compatibles - type: array - required: - - trees - - compatibles - title: HardwareCommon - type: object - HardwareDetailsBootsResponse: - properties: - boots: - items: - $ref: '#/components/schemas/HardwareTestHistoryItem' - title: Boots - type: array - required: - - boots - title: HardwareDetailsBootsResponse - type: object - HardwareDetailsBuildsResponse: - properties: - builds: - items: - $ref: '#/components/schemas/HardwareBuildHistoryItem' - title: Builds - type: array - required: - - builds - title: HardwareDetailsBuildsResponse - type: object - HardwareDetailsFilters: - properties: - all: - $ref: '#/components/schemas/GlobalFilters' - builds: - $ref: '#/components/schemas/LocalFilters' - boots: - $ref: '#/components/schemas/HardwareTestLocalFilters' - tests: - $ref: '#/components/schemas/HardwareTestLocalFilters' - required: - - all - - builds - - boots - - tests - title: HardwareDetailsFilters - type: object - HardwareDetailsFullResponse: - properties: - builds: - items: - $ref: '#/components/schemas/HardwareBuildHistoryItem' - title: Builds - type: array - boots: - items: - $ref: '#/components/schemas/HardwareTestHistoryItem' - title: Boots - type: array - tests: - items: - $ref: '#/components/schemas/HardwareTestHistoryItem' - title: Tests - type: array - summary: - $ref: '#/components/schemas/Summary' - filters: - $ref: '#/components/schemas/HardwareDetailsFilters' - common: - $ref: '#/components/schemas/HardwareCommon' - required: - - builds - - boots - - tests - - summary - - filters - - common - title: HardwareDetailsFullResponse - type: object - HardwareDetailsPostBody: - properties: - origin: - default: maestro - description: Origin of the tests of the hardware - title: Origin - type: string - startTimestampInSeconds: - anyOf: - - type: string - - type: integer - description: Interval start timestamp in seconds for the results - title: Starttimestampinseconds - endTimestampInSeconds: - anyOf: - - type: string - - type: integer - description: Interval end timestamp in seconds for the results - title: Endtimestampinseconds - selectedCommits: - additionalProperties: - type: string - description: Dictionary mapping tree names to selected commit hashes - title: Selectedcommits - type: object - filter: - anyOf: - - type: object - - type: 'null' - default: null - description: Optional filter dictionary for additional query parameters - title: Filter - required: - - startTimestampInSeconds - - endTimestampInSeconds - - selectedCommits - title: HardwareDetailsPostBody - type: object - HardwareDetailsSummaryResponse: - properties: - summary: - $ref: '#/components/schemas/Summary' - filters: - $ref: '#/components/schemas/HardwareDetailsFilters' - common: - $ref: '#/components/schemas/HardwareCommon' - required: - - summary - - filters - - common - title: HardwareDetailsSummaryResponse - type: object - HardwareDetailsTestsResponse: - properties: - tests: - items: - $ref: '#/components/schemas/HardwareTestHistoryItem' - title: Tests - type: array - required: - - tests - title: HardwareDetailsTestsResponse - type: object - HardwareItem: - properties: - hardware: - anyOf: - - type: string - - items: - type: string - type: array - - type: 'null' - title: Hardware - platform: - title: Platform - type: string - test_status_summary: - $ref: '#/components/schemas/StatusCount' - boot_status_summary: - $ref: '#/components/schemas/StatusCount' - build_status_summary: - $ref: '#/components/schemas/StatusCount' - required: - - hardware - - platform - - test_status_summary - - boot_status_summary - - build_status_summary - title: HardwareItem - type: object - HardwareListingByRevisionResponse: - properties: - hardware: - items: - $ref: '#/components/schemas/HardwareItem' - title: Hardware - type: array - required: - - hardware - title: HardwareListingByRevisionResponse - type: object - HardwareListingItem: - properties: - hardware: - anyOf: - - type: string - - items: - type: string - type: array - uniqueItems: true - - type: 'null' - title: Hardware - platform: - title: Platform - type: string - test_status_summary: - $ref: '#/components/schemas/ListingStatusCount' - boot_status_summary: - $ref: '#/components/schemas/ListingStatusCount' - build_status_summary: - $ref: '#/components/schemas/ListingStatusCount' - required: - - hardware - - platform - - test_status_summary - - boot_status_summary - - build_status_summary - title: HardwareListingItem - type: object - HardwareListingResponse: - properties: - hardware: - items: - $ref: '#/components/schemas/HardwareListingItem' - title: Hardware - type: array - required: - - hardware - title: HardwareListingResponse - type: object - HardwareSelectorBranch: - properties: - git_repository_url: - title: Git Repository Url - type: string - git_repository_branch: - title: Git Repository Branch - type: string - revisions: - items: - $ref: '#/components/schemas/HardwareSelectorRevision' - title: Revisions - type: array - required: - - git_repository_url - - git_repository_branch - - revisions - title: HardwareSelectorBranch - type: object - HardwareSelectorRevision: - properties: - git_commit_hash: - title: Git Commit Hash - type: string - git_commit_name: - anyOf: - - type: string - - type: 'null' - default: null - title: Git Commit Name - start_time: - format: date-time - title: Start Time - type: string - required: - - git_commit_hash - - start_time - title: HardwareSelectorRevision - type: object - HardwareSelectorTree: - properties: - tree_name: - title: Tree Name - type: string - branches: - items: - $ref: '#/components/schemas/HardwareSelectorBranch' - title: Branches - type: array - required: - - tree_name - - branches - title: HardwareSelectorTree - type: object - HardwareSelectorsResponse: - properties: - trees: - items: - $ref: '#/components/schemas/HardwareSelectorTree' - title: Trees - type: array - required: - - trees - title: HardwareSelectorsResponse - type: object - HardwareTestHistoryItem: - properties: - id: - title: Id - type: string - origin: - $ref: '#/components/schemas/Origin' - status: - anyOf: - - type: string - - type: 'null' - title: Status - duration: - anyOf: - - type: integer - - type: number - - type: 'null' - title: Duration - path: - anyOf: - - type: string - - type: 'null' - title: Path - start_time: - anyOf: - - format: date-time - type: string - - type: string - - type: 'null' - title: Start Time - environment_compatible: - anyOf: - - type: string - - items: - type: string - type: array - - type: 'null' - title: Environment Compatible - config: - anyOf: - - type: string - - type: 'null' - title: Config - log_url: - anyOf: - - type: string - - type: 'null' - title: Log Url - architecture: - anyOf: - - type: string - - type: 'null' - title: Architecture - compiler: - anyOf: - - type: string - - type: 'null' - title: Compiler - environment_misc: - anyOf: - - $ref: '#/components/schemas/EnvironmentMisc' - - type: 'null' - lab: - anyOf: - - type: string - - type: 'null' - title: Lab - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - required: - - id - - origin - - status - - duration - - path - - start_time - - environment_compatible - - config - - log_url - - architecture - - compiler - - environment_misc - - lab - - tree_name - - git_repository_branch - title: HardwareTestHistoryItem - type: object - HardwareTestLocalFilters: - properties: - issues: - items: - maxItems: 2 - minItems: 2 - prefixItems: - - type: string - - anyOf: - - type: integer - - type: 'null' - type: array - title: Issues - type: array - origins: - items: - type: string - title: Origins - type: array - has_unknown_issue: - title: Has Unknown Issue - type: boolean - labs: - items: - type: string - title: Labs - type: array - platforms: - items: - type: string - title: Platforms - type: array - required: - - issues - - origins - - has_unknown_issue - - labs - - platforms - title: HardwareTestLocalFilters - type: object - Issue: - properties: - id: - title: Id - type: string - version: - title: Version - type: integer - comment: - anyOf: - - type: string - - type: 'null' - title: Comment - report_url: - anyOf: - - type: string - - type: 'null' - title: Report Url - incidents_info: - $ref: '#/components/schemas/StatusCount' - required: - - id - - version - - comment - - report_url - - incidents_info - title: Issue - type: object - IssueBuildItem: - properties: - id: - $ref: '#/components/schemas/Build__Id' - architecture: - $ref: '#/components/schemas/Build__Architecture' - config_name: - $ref: '#/components/schemas/Build__ConfigName' - status: - $ref: '#/components/schemas/Build__Status' - start_time: - $ref: '#/components/schemas/Build__StartTime' - duration: - $ref: '#/components/schemas/Build__Duration' - compiler: - $ref: '#/components/schemas/Build__Compiler' - log_url: - $ref: '#/components/schemas/Build__LogUrl' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - misc: - $ref: '#/components/schemas/Build__Misc' - required: - - id - - architecture - - config_name - - status - - start_time - - duration - - compiler - - log_url - - tree_name - - git_repository_branch - - misc - title: IssueBuildItem - type: object - IssueBuildsResponse: - items: - $ref: '#/components/schemas/IssueBuildItem' - title: IssueBuildsResponse - type: array - IssueDetailsResponse: - properties: - field_timestamp: - $ref: '#/components/schemas/Timestamp' - id: - $ref: '#/components/schemas/Issue__Id' - version: - $ref: '#/components/schemas/Issue__Version' - origin: - $ref: '#/components/schemas/Origin' - report_url: - $ref: '#/components/schemas/Issue__ReportUrl' - report_subject: - $ref: '#/components/schemas/Issue__ReportSubject' - culprit_code: - $ref: '#/components/schemas/Issue__CulpritCode' - culprit_tool: - $ref: '#/components/schemas/Issue__CulpritTool' - culprit_harness: - $ref: '#/components/schemas/Issue__CulpritHarness' - comment: - $ref: '#/components/schemas/Issue__Comment' - misc: - $ref: '#/components/schemas/Issue__Misc' - categories: - $ref: '#/components/schemas/Issue__Categories' - extra: - anyOf: - - $ref: '#/components/schemas/ProcessedExtraDetailedIssues' - - type: 'null' - required: - - field_timestamp - - id - - version - - origin - - report_url - - report_subject - - culprit_code - - culprit_tool - - culprit_harness - - comment - - misc - - categories - - extra - title: IssueDetailsResponse - type: object - IssueExtraDetailsRequest: - properties: - issues: - description: List of issue ids - items: - maxItems: 2 - minItems: 2 - prefixItems: - - type: string - - type: integer - type: array - title: Issues - type: array - required: - - issues - title: IssueExtraDetailsRequest - type: object - IssueExtraDetailsResponse: - properties: - issues: - $ref: '#/components/schemas/ProcessedExtraDetailedIssues' - required: - - issues - title: IssueExtraDetailsResponse - type: object - IssueListingFilters: - properties: - origins: - items: - type: string - title: Origins - type: array - culprits: - items: - type: string - title: Culprits - type: array - categories: - items: - type: string - title: Categories - type: array - required: - - origins - - culprits - - categories - title: IssueListingFilters - type: object - IssueListingItem: - properties: - field_timestamp: - $ref: '#/components/schemas/Timestamp' - id: - $ref: '#/components/schemas/Issue__Id' - comment: - $ref: '#/components/schemas/Issue__Comment' - origin: - $ref: '#/components/schemas/Origin' - version: - $ref: '#/components/schemas/Issue__Version' - culprit_code: - $ref: '#/components/schemas/Issue__CulpritCode' - culprit_tool: - $ref: '#/components/schemas/Issue__CulpritTool' - culprit_harness: - $ref: '#/components/schemas/Issue__CulpritHarness' - categories: - $ref: '#/components/schemas/Issue__Categories' - required: - - field_timestamp - - id - - comment - - origin - - version - - culprit_code - - culprit_tool - - culprit_harness - - categories - title: IssueListingItem - type: object - IssueListingResponse: - properties: - issues: - items: - $ref: '#/components/schemas/IssueListingItem' - title: Issues - type: array - extras: - additionalProperties: - $ref: '#/components/schemas/FirstIncident' - title: Extras - type: object - filters: - $ref: '#/components/schemas/IssueListingFilters' - required: - - issues - - extras - - filters - title: IssueListingResponse - type: object - IssueTestItem: - properties: - id: - $ref: '#/components/schemas/Test__Id' - status: - $ref: '#/components/schemas/StatusValues' - duration: - $ref: '#/components/schemas/Test__Duration' - path: - $ref: '#/components/schemas/Test__Path' - start_time: - $ref: '#/components/schemas/Test__StartTime' - environment_compatible: - $ref: '#/components/schemas/Test__EnvironmentCompatible' - environment_misc: - $ref: '#/components/schemas/Test__EnvironmentMisc' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - lab: - anyOf: - - type: string - - type: 'null' - title: Lab - required: - - id - - status - - duration - - path - - start_time - - environment_compatible - - environment_misc - - tree_name - - git_repository_branch - - lab - title: IssueTestItem - type: object - IssueTestsResponse: - items: - $ref: '#/components/schemas/IssueTestItem' - title: IssueTestsResponse - type: array - IssueWithExtraInfo: - properties: - id: - title: Id - type: string - version: - title: Version - type: integer - trees: - anyOf: - - items: - $ref: '#/components/schemas/TreeSetItem' - type: array - - type: 'null' - default: [] - title: Trees - tags: - anyOf: - - items: - $ref: '#/components/schemas/PossibleIssueTags' - type: array - uniqueItems: true - - type: 'null' - default: [] - title: Tags - required: - - id - - version - title: IssueWithExtraInfo - type: object - Issue__Categories: - anyOf: - - items: - type: string - type: array - - type: 'null' - Issue__Comment: - anyOf: - - type: string - - type: 'null' - Issue__CulpritCode: - anyOf: - - type: boolean - - type: 'null' - Issue__CulpritHarness: - anyOf: - - type: boolean - - type: 'null' - Issue__CulpritTool: - anyOf: - - type: boolean - - type: 'null' - Issue__Id: - type: string - Issue__Misc: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Issue__ReportSubject: - anyOf: - - type: string - - type: 'null' - Issue__ReportUrl: - anyOf: - - type: string - - type: 'null' - Issue__Version: - type: integer - LabMetricsData: - properties: - builds: - title: Builds - type: integer - boots: - title: Boots - type: integer - tests: - title: Tests - type: integer - required: - - builds - - boots - - tests - title: LabMetricsData - type: object - ListingStatusCount: - properties: - PASS: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Pass - FAIL: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Fail - INCONCLUSIVE: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Inconclusive - title: ListingStatusCount - type: object - LocalFilters: - properties: - issues: - items: - maxItems: 2 - minItems: 2 - prefixItems: - - type: string - - anyOf: - - type: integer - - type: 'null' - type: array - title: Issues - type: array - origins: - items: - type: string - title: Origins - type: array - has_unknown_issue: - title: Has Unknown Issue - type: boolean - labs: - items: - type: string - title: Labs - type: array - required: - - issues - - origins - - has_unknown_issue - - labs - title: LocalFilters - type: object - LogData: - properties: - specific_log_url: - anyOf: - - type: string - - type: 'null' - title: Specific Log Url - file_name: - anyOf: - - type: string - - type: 'null' - title: File Name - file_size: - anyOf: - - type: string - - type: 'null' - title: File Size - date: - anyOf: - - type: string - - type: 'null' - title: Date - required: - - specific_log_url - - file_name - - file_size - - date - title: LogData - type: object - LogDownloaderResponse: - properties: - log_files: - items: - $ref: '#/components/schemas/LogData' - title: Log Files - type: array - required: - - log_files - title: LogDownloaderResponse - type: object - MetricsResponse: - properties: - n_trees: - title: N Trees - type: integer - n_checkouts: - title: N Checkouts - type: integer - n_builds: - title: N Builds - type: integer - n_tests: - title: N Tests - type: integer - n_issues: - title: N Issues - type: integer - n_incidents: - title: N Incidents - type: integer - build_incidents_by_origin: - additionalProperties: - $ref: '#/components/schemas/BuildIncidentsCount' - title: Build Incidents By Origin - type: object - top_issues_by_origin: - additionalProperties: - items: - $ref: '#/components/schemas/TopIssue' - type: array - title: Top Issues By Origin - type: object - lab_maps: - additionalProperties: - $ref: '#/components/schemas/LabMetricsData' - title: Lab Maps - type: object - prev_n_trees: - title: Prev N Trees - type: integer - prev_n_checkouts: - title: Prev N Checkouts - type: integer - prev_n_builds: - title: Prev N Builds - type: integer - prev_n_tests: - title: Prev N Tests - type: integer - prev_lab_maps: - additionalProperties: - $ref: '#/components/schemas/LabMetricsData' - title: Prev Lab Maps - type: object - required: - - n_trees - - n_checkouts - - n_builds - - n_tests - - n_issues - - n_incidents - - build_incidents_by_origin - - top_issues_by_origin - - lab_maps - - prev_n_trees - - prev_n_checkouts - - prev_n_builds - - prev_n_tests - - prev_lab_maps - title: MetricsResponse - type: object - Origin: - type: string - OriginsResponse: - properties: - checkout_origins: - items: - $ref: '#/components/schemas/Origin' - title: Checkout Origins - type: array - test_origins: - items: - $ref: '#/components/schemas/Origin' - title: Test Origins - type: array - required: - - checkout_origins - - test_origins - title: OriginsResponse - type: object - PossibleIssueTags: - enum: - - mainline - - stable - - linux-next - type: string - PossibleRegressionType: - enum: - - regression - - fixed - - unstable - - pass - - fail - type: string - ProcessedExtraDetailedIssues: - additionalProperties: - $ref: '#/components/schemas/ExtraIssuesData' - type: object - RegressionData: - additionalProperties: - additionalProperties: - additionalProperties: - additionalProperties: - items: - $ref: '#/components/schemas/RegressionHistoryItem' - type: array - type: object - type: object - type: object - type: object - RegressionHistoryItem: - properties: - id: - $ref: '#/components/schemas/Test__Id' - start_time: - $ref: '#/components/schemas/Test__StartTime' - status: - $ref: '#/components/schemas/Test__Status' - required: - - id - - start_time - - status - title: RegressionHistoryItem - type: object - StatusCount: - properties: - PASS: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Pass - ERROR: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Error - FAIL: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Fail - SKIP: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Skip - MISS: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Miss - DONE: - anyOf: - - type: integer - - type: 'null' - default: 0 - title: Done - 'NULL': - anyOf: - - type: integer - - type: 'null' - default: 0 - title: 'Null' - title: StatusCount - type: object - StatusValues: - enum: - - FAIL - - PASS - - SKIP - - ERROR - - MISS - - 'NULL' - - DONE - type: string - Summary: - properties: - builds: - $ref: '#/components/schemas/BuildSummary' - boots: - $ref: '#/components/schemas/TestSummary' - tests: - $ref: '#/components/schemas/TestSummary' - required: - - builds - - boots - - tests - title: Summary - type: object - SummaryResponse: - properties: - common: - $ref: '#/components/schemas/TreeCommon' - summary: - $ref: '#/components/schemas/Summary' - filters: - $ref: '#/components/schemas/DetailsFilters' - required: - - common - - summary - - filters - title: SummaryResponse - type: object - TestArchSummaryItem: - properties: - arch: - title: Arch - type: string - compiler: - title: Compiler - type: string - status: - $ref: '#/components/schemas/StatusCount' - required: - - arch - - compiler - - status - title: TestArchSummaryItem - type: object - TestDetailsResponse: - properties: - field_timestamp: - $ref: '#/components/schemas/Timestamp' - id: - $ref: '#/components/schemas/Test__Id' - build_id: - $ref: '#/components/schemas/Build__Id' - status: - $ref: '#/components/schemas/StatusValues' - path: - $ref: '#/components/schemas/Test__Path' - log_excerpt: - $ref: '#/components/schemas/Test__LogExcerpt' - log_url: - $ref: '#/components/schemas/Test__LogUrl' - misc: - $ref: '#/components/schemas/Test__Misc' - environment_misc: - $ref: '#/components/schemas/Test__EnvironmentMisc' - start_time: - $ref: '#/components/schemas/Test__StartTime' - environment_compatible: - $ref: '#/components/schemas/Test__EnvironmentCompatible' - output_files: - $ref: '#/components/schemas/Test__OutputFiles' - input_files: - $ref: '#/components/schemas/Test__InputFiles' - compiler: - $ref: '#/components/schemas/Build__Compiler' - architecture: - $ref: '#/components/schemas/Build__Architecture' - config_name: - $ref: '#/components/schemas/Build__ConfigName' - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_commit_tags: - $ref: '#/components/schemas/Checkout__GitCommitTags' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - origin: - anyOf: - - $ref: '#/components/schemas/Origin' - - type: 'null' - test_origin: - $ref: '#/components/schemas/Origin' - required: - - field_timestamp - - id - - build_id - - status - - path - - log_excerpt - - log_url - - misc - - environment_misc - - start_time - - environment_compatible - - output_files - - input_files - - compiler - - architecture - - config_name - - git_commit_hash - - git_repository_branch - - git_repository_url - - git_commit_tags - - tree_name - - origin - - test_origin - title: TestDetailsResponse - type: object - TestHistoryItem: - properties: - id: - title: Id - type: string - origin: - $ref: '#/components/schemas/Origin' - status: - anyOf: - - type: string - - type: 'null' - title: Status - duration: - anyOf: - - type: integer - - type: number - - type: 'null' - title: Duration - path: - anyOf: - - type: string - - type: 'null' - title: Path - start_time: - anyOf: - - format: date-time - type: string - - type: string - - type: 'null' - title: Start Time - environment_compatible: - anyOf: - - type: string - - items: - type: string - type: array - - type: 'null' - title: Environment Compatible - config: - anyOf: - - type: string - - type: 'null' - title: Config - log_url: - anyOf: - - type: string - - type: 'null' - title: Log Url - architecture: - anyOf: - - type: string - - type: 'null' - title: Architecture - compiler: - anyOf: - - type: string - - type: 'null' - title: Compiler - environment_misc: - anyOf: - - $ref: '#/components/schemas/EnvironmentMisc' - - type: 'null' - lab: - anyOf: - - type: string - - type: 'null' - title: Lab - required: - - id - - origin - - status - - duration - - path - - start_time - - environment_compatible - - config - - log_url - - architecture - - compiler - - environment_misc - - lab - title: TestHistoryItem - type: object - TestStatusCount: - properties: - pass: - default: 0 - title: Pass - type: integer - error: - default: 0 - title: Error - type: integer - fail: - default: 0 - title: Fail - type: integer - skip: - default: 0 - title: Skip - type: integer - miss: - default: 0 - title: Miss - type: integer - done: - default: 0 - title: Done - type: integer - 'null': - default: 0 - title: 'Null' - type: integer - title: TestStatusCount - type: object - TestStatusHistoryItem: - properties: - start_time: - $ref: '#/components/schemas/Test__StartTime' - id: - $ref: '#/components/schemas/Test__Id' - status: - $ref: '#/components/schemas/StatusValues' - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - required: - - start_time - - id - - status - - git_commit_hash - title: TestStatusHistoryItem - type: object - TestStatusHistoryResponse: - properties: - status_history: - items: - $ref: '#/components/schemas/TestStatusHistoryItem' - title: Status History - type: array - regression_type: - $ref: '#/components/schemas/PossibleRegressionType' - required: - - status_history - - regression_type - title: TestStatusHistoryResponse - type: object - TestSummary: - properties: - status: - $ref: '#/components/schemas/StatusCount' - origins: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Origins - type: object - architectures: - items: - $ref: '#/components/schemas/TestArchSummaryItem' - title: Architectures - type: array - configs: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Configs - type: object - issues: - items: - $ref: '#/components/schemas/Issue' - title: Issues - type: array - unknown_issues: - title: Unknown Issues - type: integer - fail_reasons: - additionalProperties: - type: integer - title: Fail Reasons - type: object - failed_platforms: - items: {} - title: Failed Platforms - type: array - uniqueItems: true - environment_compatible: - anyOf: - - type: object - - type: 'null' - default: null - title: Environment Compatible - environment_misc: - anyOf: - - type: object - - type: 'null' - default: null - title: Environment Misc - platforms: - anyOf: - - additionalProperties: - $ref: '#/components/schemas/StatusCount' - type: object - - type: 'null' - default: null - title: Platforms - labs: - additionalProperties: - $ref: '#/components/schemas/StatusCount' - title: Labs - type: object - required: - - status - - origins - - architectures - - configs - - issues - - unknown_issues - - fail_reasons - - failed_platforms - - labs - title: TestSummary - type: object - Test__Duration: - anyOf: - - type: number - - type: 'null' - Test__EnvironmentCompatible: - anyOf: - - items: - type: string - type: array - - type: 'null' - Test__EnvironmentMisc: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Test__Id: - type: string - Test__InputFiles: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Test__LogExcerpt: - anyOf: - - type: string - - type: 'null' - Test__LogUrl: - anyOf: - - type: string - - type: 'null' - Test__Misc: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Test__OutputFiles: - anyOf: - - type: object - - items: - type: object - type: array - - type: 'null' - Test__Path: - anyOf: - - type: string - - type: 'null' - Test__StartTime: - anyOf: - - format: date-time - type: string - - type: 'null' - Test__Status: - anyOf: - - $ref: '#/components/schemas/DatabaseStatusValues' - - type: 'null' - Timestamp: - anyOf: - - format: date-time - type: string - - type: 'null' - TopIssue: - properties: - id: - title: Id - type: string - version: - title: Version - type: integer - comment: - title: Comment - type: string - total_incidents: - title: Total Incidents - type: integer - required: - - id - - version - - comment - - total_incidents - title: TopIssue - type: object - Tree: - properties: - index: - title: Index - type: string - origin: - $ref: '#/components/schemas/Origin' - tree_name: - anyOf: - - type: string - - type: 'null' - title: Tree Name - git_repository_branch: - anyOf: - - type: string - - type: 'null' - title: Git Repository Branch - git_repository_url: - anyOf: - - type: string - - type: 'null' - title: Git Repository Url - head_git_commit_name: - anyOf: - - type: string - - type: 'null' - title: Head Git Commit Name - head_git_commit_hash: - anyOf: - - type: string - - type: 'null' - title: Head Git Commit Hash - head_git_commit_tag: - anyOf: - - items: - type: string - type: array - - type: 'null' - title: Head Git Commit Tag - selected_commit_status: - anyOf: - - type: object - - type: 'null' - title: Selected Commit Status - is_selected: - anyOf: - - type: boolean - - type: 'null' - title: Is Selected - required: - - index - - origin - - tree_name - - git_repository_branch - - git_repository_url - - head_git_commit_name - - head_git_commit_hash - - head_git_commit_tag - - selected_commit_status - - is_selected - title: Tree - type: object - TreeCommitItem: - properties: - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - start_time_end: - anyOf: - - format: date-time - type: string - - type: 'null' - default: null - title: Start Time End - required: - - git_commit_hash - title: TreeCommitItem - type: object - TreeCommitsData: - properties: - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - git_commit_name: - $ref: '#/components/schemas/Checkout__GitCommitName' - git_commit_tags: - $ref: '#/components/schemas/Checkout__GitCommitTags' - earliest_start_time: - format: date-time - title: Earliest Start Time - type: string - builds: - $ref: '#/components/schemas/StatusCount' - boots: - $ref: '#/components/schemas/TestStatusCount' - tests: - $ref: '#/components/schemas/TestStatusCount' - required: - - git_commit_hash - - git_commit_name - - git_commit_tags - - earliest_start_time - - builds - - boots - - tests - title: TreeCommitsData - type: object - TreeCommitsListResponse: - items: - $ref: '#/components/schemas/TreeCommitItem' - title: TreeCommitsListResponse - type: array - TreeCommitsResponse: - items: - $ref: '#/components/schemas/TreeCommitsData' - title: TreeCommitsResponse - type: array - TreeCommon: - properties: - hardware: - anyOf: - - items: - type: string - type: array - - type: 'null' - title: Hardware - tree_url: - anyOf: - - type: string - - type: 'null' - title: Tree Url - git_commit_tags: - anyOf: - - items: - type: string - type: array - - type: 'null' - title: Git Commit Tags - required: - - hardware - - tree_url - - git_commit_tags - title: TreeCommon - type: object - TreeDetailsBuildsResponse: - properties: - builds: - items: - $ref: '#/components/schemas/BuildHistoryItem' - title: Builds - type: array - required: - - builds - title: TreeDetailsBuildsResponse - type: object - TreeDetailsFullResponse: - properties: - common: - $ref: '#/components/schemas/TreeCommon' - summary: - $ref: '#/components/schemas/Summary' - filters: - $ref: '#/components/schemas/DetailsFilters' - tests: - items: - $ref: '#/components/schemas/TestHistoryItem' - title: Tests - type: array - boots: - items: - $ref: '#/components/schemas/TestHistoryItem' - title: Boots - type: array - builds: - items: - $ref: '#/components/schemas/BuildHistoryItem' - title: Builds - type: array - required: - - common - - summary - - filters - - tests - - boots - - builds - title: TreeDetailsFullResponse - type: object - TreeEntityTypes: - enum: - - builds - - boots - - tests - title: TreeEntityTypes - type: string - TreeLatestResponse: - properties: - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - git_commit_name: - $ref: '#/components/schemas/Checkout__GitCommitName' - origin: - $ref: '#/components/schemas/Origin' - api_url: - title: Api Url - type: string - old_api_url: - title: Old Api Url - type: string - tree_name: - title: Tree Name - type: string - git_repository_branch: - title: Git Repository Branch - type: string - required: - - git_repository_url - - git_commit_hash - - git_commit_name - - origin - - api_url - - old_api_url - - tree_name - - git_repository_branch - title: TreeLatestResponse - type: object - TreeListingItem: - properties: - id: - $ref: '#/components/schemas/Checkout__Id' - build_status: - $ref: '#/components/schemas/ListingStatusCount' - boot_status: - $ref: '#/components/schemas/ListingStatusCount' - test_status: - $ref: '#/components/schemas/ListingStatusCount' - tree_name: - $ref: '#/components/schemas/Checkout__TreeName' - git_commit_tags: - $ref: '#/components/schemas/Checkout__GitCommitTags' - origin: - $ref: '#/components/schemas/Origin' - git_repository_url: - $ref: '#/components/schemas/Checkout__GitRepositoryUrl' - git_repository_branch: - $ref: '#/components/schemas/Checkout__GitRepositoryBranch' - git_commit_hash: - $ref: '#/components/schemas/Checkout__GitCommitHash' - git_commit_name: - $ref: '#/components/schemas/Checkout__GitCommitName' - start_time: - $ref: '#/components/schemas/Timestamp' - required: - - id - - build_status - - boot_status - - test_status - - tree_name - - git_commit_tags - - origin - - git_repository_url - - git_repository_branch - - git_commit_hash - - git_commit_name - - start_time - title: TreeListingItem - type: object - TreeListingResponse: - items: - $ref: '#/components/schemas/TreeListingItem' - title: TreeListingResponse - type: array - TreeReportIssues: - properties: - builds: - description: Build issues found in this checkout, including both new and - pre-existing issues. - items: - $ref: '#/components/schemas/CheckoutIssue' - title: Builds - type: array - required: - - builds - title: TreeReportIssues - type: object - TreeReportResponse: - properties: - dashboard_url: - description: The dashboard url of this tree/branch/commit - title: Dashboard Url - type: string - git_url: - description: Git repository URL of the tree - title: Git Url - type: string - git_branch: - description: Git branch name of the tree - title: Git Branch - type: string - commit_hash: - description: Commit hash of the tree - title: Commit Hash - type: string - origin: - description: Origin of the tree - title: Origin - type: string - checkout_start_time: - description: Start time of the checkout - format: date-time - title: Checkout Start Time - type: string - build_status_summary: - $ref: '#/components/schemas/StatusCount' - description: Summary of build statuses - boot_status_summary: - $ref: '#/components/schemas/TestStatusCount' - description: Summary of boot test statuses - test_status_summary: - $ref: '#/components/schemas/TestStatusCount' - description: Summary of test statuses - possible_regressions: - $ref: '#/components/schemas/RegressionData' - description: History of tests that are possible regressions.Regressions - are grouped by hardware, config, and path. - fixed_regressions: - $ref: '#/components/schemas/RegressionData' - description: History of tests that are fixed regressions.Regressions are - grouped by hardware, config, and path. - unstable_tests: - $ref: '#/components/schemas/RegressionData' - description: History of tests that are unstable. Regressions are grouped - by hardware, config, and path. - issues: - $ref: '#/components/schemas/TreeReportIssues' - description: Issues information for this checkout. - required: - - dashboard_url - - git_url - - git_branch - - commit_hash - - origin - - checkout_start_time - - build_status_summary - - boot_status_summary - - test_status_summary - - possible_regressions - - fixed_regressions - - unstable_tests - - issues - title: TreeReportResponse - type: object - TreeSetItem: - properties: - tree_name: - anyOf: - - type: string - - type: 'null' - title: Tree Name - git_repository_branch: - anyOf: - - type: string - - type: 'null' - title: Git Repository Branch - required: - - tree_name - - git_repository_branch - title: TreeSetItem - type: object - securitySchemes: - basicAuth: - type: http - scheme: basic - cookieAuth: - type: apiKey - in: cookie - name: sessionid