All URIs are relative to /gateway/code/api/v1
Method | HTTP request | Description |
---|---|---|
ListStatusCheckRecent | Get /repos/{repo_identifier}/checks/recent | List recent status check |
ListStatusCheckResults | Get /repos/{repo_identifier}/checks/commits/{commit_sha} | List status check results |
ReportStatusCheckResults | Put /repos/{repo_identifier}/checks/commits/{commit_sha} | Report status check results |
[]string ListStatusCheckRecent(ctx, accountIdentifier, repoIdentifier, optional) List recent status check
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the Entity.. | |
repoIdentifier | string | ||
optional | *StatusChecksApiListStatusCheckRecentOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a StatusChecksApiListStatusCheckRecentOpts struct
Name | Type | Description | Notes |
---|
orgIdentifier | optional.String| Organization Identifier for the Entity.. | projectIdentifier | optional.String| Project Identifier for the Entity.. | query | optional.String| The substring which is used to filter the status checks by their UID. | since | optional.Int32| The timestamp (in Unix time millis) since the status checks have been run. |
[]string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]TypesCheck ListStatusCheckResults(ctx, accountIdentifier, repoIdentifier, commitSha, optional) List status check results
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the Entity.. | |
repoIdentifier | string | ||
commitSha | string | ||
optional | *StatusChecksApiListStatusCheckResultsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a StatusChecksApiListStatusCheckResultsOpts struct
Name | Type | Description | Notes |
---|
orgIdentifier | optional.String| Organization Identifier for the Entity.. | projectIdentifier | optional.String| Project Identifier for the Entity.. | page | optional.Int32| The page to return. | [default to 1] limit | optional.Int32| The maximum number of results to return. | [default to 30] query | optional.String| The substring which is used to filter the status checks by their UID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TypesCheck ReportStatusCheckResults(ctx, accountIdentifier, repoIdentifier, commitSha, optional) Report status check results
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the Entity.. | |
repoIdentifier | string | ||
commitSha | string | ||
optional | *StatusChecksApiReportStatusCheckResultsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a StatusChecksApiReportStatusCheckResultsOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of CommitsCommitShaBody| | orgIdentifier | optional.| Organization Identifier for the Entity.. | projectIdentifier | optional.| Project Identifier for the Entity.. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]