REST API Documentation
minder/v1/minder.proto (version not set)
Download OpenAPI specification:Download
ArtifactService_GetArtifactByName
path Parameters
name required | string.+ |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "artifact": {
- "artifactPk": "string",
- "owner": "string",
- "name": "string",
- "type": "string",
- "visibility": "string",
- "repository": "string",
- "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}, - "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
ArtifactService_GetArtifactById
path Parameters
id required | string |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "artifact": {
- "artifactPk": "string",
- "owner": "string",
- "name": "string",
- "type": "string",
- "visibility": "string",
- "repository": "string",
- "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}, - "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
ArtifactService_ListArtifacts2
query Parameters
provider | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
from | string |
Responses
Response samples
- 200
{- "results": [
- {
- "artifactPk": "string",
- "owner": "string",
- "name": "string",
- "type": "string",
- "visibility": "string",
- "repository": "string",
- "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
]
}
ArtifactService_ListArtifacts
path Parameters
provider required | string |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
from | string |
Responses
Response samples
- 200
{- "results": [
- {
- "artifactPk": "string",
- "owner": "string",
- "name": "string",
- "type": "string",
- "visibility": "string",
- "repository": "string",
- "versions": [
- {
- "versionId": "string",
- "tags": [
- "string"
], - "sha": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
]
}
OAuthService_StoreProviderToken2
Request Body schema: application/jsonrequired
provider | string |
accessToken | string |
owner | string |
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. |
Responses
Request samples
- Payload
{- "provider": "string",
- "accessToken": "string",
- "owner": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
Response samples
- 200
{ }
OAuthService_GetAuthorizationURL
query Parameters
cli | boolean |
port | integer <int32> |
owner | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
redirectUrl | string |
config | object config is a JSON object that can be used to pass additional configuration |
providerClass | string |
Responses
Response samples
- 200
{- "url": "string",
- "state": "string"
}
VerifyProviderCredential verifies that a credential has been created matching the enrollment nonce
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
enrollmentNonce | string enrollment_nonce is the state parameter returned when enrolling the provider |
Responses
Response samples
- 200
{- "created": true,
- "providerName": "string"
}
VerifyProviderTokenFrom verifies that a token has been created for a provider since given timestamp
path Parameters
provider required | string |
timestamp required | string <date-time> |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "status": "string"
}
VerifyProviderTokenFrom verifies that a token has been created for a provider since given timestamp
path Parameters
timestamp required | string <date-time> |
query Parameters
provider | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "status": "string"
}
OAuthService_StoreProviderToken
path Parameters
provider required | string |
Request Body schema: application/jsonrequired
accessToken | string |
owner | string |
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. |
Responses
Request samples
- Payload
{- "accessToken": "string",
- "owner": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
Response samples
- 200
{ }
RepositoryService_ListRepositories2
query Parameters
provider | string |
limit | string <int64> |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
cursor | string |
Responses
Response samples
- 200
{- "results": [
- {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}
], - "cursor": "string"
}
RepositoryService_ListRepositories
path Parameters
provider required | string |
query Parameters
limit | string <int64> |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
cursor | string |
Responses
Response samples
- 200
{- "results": [
- {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}
], - "cursor": "string"
}
RepositoryService_ListRemoteRepositoriesFromProvider
path Parameters
provider required | string |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "results": [
- {
- "owner": "string",
- "name": "string",
- "repoId": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "registered": true
}
]
}
RepositoryService_ListRemoteRepositoriesFromProvider2
query Parameters
provider | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "results": [
- {
- "owner": "string",
- "name": "string",
- "repoId": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "registered": true
}
]
}
RepositoryService_GetRepositoryById
path Parameters
repositoryId required | string |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "repository": {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}
}
RepositoryService_GetRepositoryByName2
path Parameters
name required | string.+ |
query Parameters
provider | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "repository": {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}
}
RepositoryService_DeleteRepositoryByName2
path Parameters
name required | string.+ |
query Parameters
provider | string |
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "name": "string"
}
RepositoryService_GetRepositoryByName
path Parameters
provider required | string |
name required | string.+ |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "repository": {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}
}
RepositoryService_DeleteRepositoryByName
path Parameters
provider required | string |
name required | string.+ |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "name": "string"
}
RepositoryService_RegisterRepository
path Parameters
provider required | string |
Request Body schema: application/jsonrequired
object (v1UpstreamRepositoryRef) | |
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. |
Responses
Request samples
- Payload
{- "repository": {
- "owner": "string",
- "name": "string",
- "repoId": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "registered": true
}, - "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
Response samples
- 200
{- "result": {
- "repository": {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}, - "status": {
- "success": true,
- "error": "string"
}
}
}
RepositoryService_RegisterRepository2
Request Body schema: application/jsonrequired
provider | string |
object (v1UpstreamRepositoryRef) | |
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. |
Responses
Request samples
- Payload
{- "provider": "string",
- "repository": {
- "owner": "string",
- "name": "string",
- "repoId": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "registered": true
}, - "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
Response samples
- 200
{- "result": {
- "repository": {
- "id": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "owner": "string",
- "name": "string",
- "repoId": "string",
- "hookId": "string",
- "hookUrl": "string",
- "deployUrl": "string",
- "cloneUrl": "string",
- "hookName": "string",
- "hookType": "string",
- "hookUuid": "string",
- "isPrivate": true,
- "isFork": true,
- "registered": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "defaultBranch": "string",
- "license": "string"
}, - "status": {
- "success": true,
- "error": "string"
}
}
}
Response samples
- 200
{- "user": {
- "id": 0,
- "identitySubject": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "projects": [
- {
- "projectId": "string",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "displayName": "string"
}
]
}
Request samples
- Payload
{ }
Response samples
- 200
{- "id": 0,
- "organizationId": "string",
- "organizatioName": "string",
- "projectId": "string",
- "projectName": "string",
- "identitySubject": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
ProfileService_CreateProfile
Request Body schema: application/jsonrequired
object (v1Profile) Profile defines a profile that is user defined. | |||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
Response samples
- 200
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
ProfileService_UpdateProfile
Request Body schema: application/jsonrequired
object (v1Profile) Profile defines a profile that is user defined. | |||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
Response samples
- 200
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
ProfileService_GetProfileStatusByName
path Parameters
name required | string.+ name is the name of the profile to get |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
entity.type | string Default: "ENTITY_UNSPECIFIED" Enum: "ENTITY_UNSPECIFIED" "ENTITY_REPOSITORIES" "ENTITY_BUILD_ENVIRONMENTS" "ENTITY_ARTIFACTS" "ENTITY_PULL_REQUESTS" entity is the entity to get status for. Incompatible with |
entity.id | string id is the ID of the entity to get status for. Incompatible with |
all | boolean |
rule | string rule is the type of the rule. Deprecated in favor of rule_type |
ruleType | string |
ruleName | string |
Responses
Response samples
- 200
{- "profileStatus": {
- "profileId": "string",
- "profileName": "string",
- "profileStatus": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "profileDisplayName": "string"
}, - "ruleEvaluationStatus": [
- {
- "profileId": "string",
- "ruleId": "string",
- "ruleName": "string",
- "entity": "string",
- "status": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "entityInfo": {
- "property1": "string",
- "property2": "string"
}, - "details": "string",
- "guidance": "string",
- "remediationStatus": "string",
- "remediationLastUpdated": "2019-08-24T14:15:22Z",
- "remediationDetails": "string",
- "ruleTypeName": "string",
- "ruleDescriptionName": "string",
- "alert": {
- "status": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "details": "string",
- "url": "string"
}, - "severity": {
- "value": "VALUE_UNSPECIFIED"
}, - "ruleEvaluationId": "string",
- "remediationUrl": "string",
- "ruleDisplayName": "string"
}
]
}
ProfileService_GetProfileById
path Parameters
id required | string id is the id of the profile to get |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
ProfileService_PatchProfile
path Parameters
id required | string The id of the profile to patch. Same explanation about explicitness as for the context |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Request Body schema: application/jsonrequired
The patch to apply to the profile
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. | |
id | string id is the id of the profile. This is optional and is set by the system. |
name | string name is the name of the profile instance. |
labels | Array of strings labels are a set of system-provided attributes which can be used to filter profiles and status results. Labels cannot be set by the user, but are returned in ListProfiles. Labels use DNS label constraints, with a possible namespace prefix separated by a colon (:). They are intended to allow filtering, but not to store arbitrary metadata. DNS labels are 1-63 character alphanumeric strings with internal hyphens. An RE2-style validation regex would be: DNS_STR = "a-zA-Z0-9?" ($DNS_STR:)?$DNS_STR |
Array of objects (ProfileRule) These are the entities that one could set in the profile. | |
Array of objects (ProfileRule) | |
Array of objects (ProfileRule) | |
Array of objects (ProfileRule) | |
remediate | string (whether and how to remediate (on,off,dry_run)
this is optional and defaults to "off") |
alert | string (whether and how to alert (on,off,dry_run)
this is optional and defaults to "on") |
type | string type is a placeholder for the object type. It should always be set to "profile". |
version | string (version is the version of the profile type. In this case, it is "v1") |
displayName | string display_name is the display name of the profile. |
Responses
Request samples
- Payload
{- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
Response samples
- 200
{- "profile": {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
}
ProfileService_GetProfileStatusByProject
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "profileStatus": [
- {
- "profileId": "string",
- "profileName": "string",
- "profileStatus": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "profileDisplayName": "string"
}
]
}
ProfileService_ListProfiles
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
labelFilter | string Filter profiles to only those matching the specified labels. The default is to return all user-created profiles; the string "*" can be used to select all profiles, including system profiles. This syntax may be expanded in the future. |
Responses
Response samples
- 200
{- "profiles": [
- {
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "id": "string",
- "name": "string",
- "labels": [
- "string"
], - "repository": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "buildEnvironment": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "artifact": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "pullRequest": [
- {
- "type": "string",
- "params": { },
- "def": { },
- "name": "string"
}
], - "remediate": "string",
- "alert": "string",
- "type": "string",
- "version": "string",
- "displayName": "string"
}
]
}
ProfileService_CreateRuleType
Request Body schema: application/jsonrequired
CreateRuleTypeRequest is the request to create a rule type.
object (v1RuleType) RuleType defines rules that may or may not be user defined. The version is assumed from the folder's version. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
Response samples
- 200
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
ProfileService_UpdateRuleType
Request Body schema: application/jsonrequired
UpdateRuleTypeRequest is the request to update a rule type.
object (v1RuleType) RuleType defines rules that may or may not be user defined. The version is assumed from the folder's version. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
Response samples
- 200
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
ProfileService_GetRuleTypeByName
path Parameters
name required | string.+ name is the name of the rule type. |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
ProfileService_GetRuleTypeById
path Parameters
id required | string id is the id of the rule type. |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "ruleType": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
}
ProfileService_DeleteRuleType
path Parameters
id required | string id is the id of the rule type to be deleted. |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{ }
ProfileService_ListRuleTypes
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "ruleTypes": [
- {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "def": {
- "inEntity": "string",
- "ruleSchema": { },
- "paramSchema": { },
- "ingest": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "builtin": {
- "method": "string"
}, - "artifact": { },
- "git": {
- "cloneUrl": "string",
- "branch": "string"
}, - "diff": {
- "ecosystems": [
- {
- "name": "string",
- "depfile": "string"
}
], - "type": "string"
}
}, - "eval": {
- "type": "string",
- "jq": [
- {
- "ingested": {
- "def": "string"
}, - "profile": {
- "def": "string"
}
}
], - "rego": {
- "type": "string",
- "def": "string",
- "violationFormat": "string"
}, - "vulncheck": { },
- "trusty": {
- "endpoint": "string"
}, - "homoglyphs": {
- "type": "string"
}
}, - "remediate": {
- "type": "string",
- "rest": {
- "endpoint": "string",
- "method": "string",
- "headers": [
- "string"
], - "body": "string",
- "parse": "string",
- "fallback": [
- {
- "httpCode": 0,
- "body": "string"
}
]
}, - "ghBranchProtection": {
- "patch": "string"
}, - "pullRequest": {
- "title": "string",
- "body": "string",
- "contents": [
- {
- "path": "string",
- "action": "string",
- "content": "string",
- "mode": "string"
}
], - "method": "string",
- "actionsReplaceTagsWithSha": {
- "exclude": [
- "string"
]
}
}
}, - "alert": {
- "type": "string",
- "securityAdvisory": {
- "severity": "string"
}
}
}, - "description": "string",
- "guidance": "string",
- "severity": {
- "value": "VALUE_UNSPECIFIED"
}
}
]
}
EvalResultsService_ListEvaluationResults
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
profile | string ID can contain either a profile name or an ID |
labelFilter | string Filter profiles to only those matching the specified labels. The default is to return all user-created profiles; the string "*" can be used to select all profiles, including system profiles. This syntax may be expanded in the future. |
ruleName | Array of strings If set, only return evaluation results for the named rules. If empty, return evaluation results for all rules |
Responses
Response samples
- 200
{- "entities": [
- {
- "entity": {
- "type": "ENTITY_UNSPECIFIED",
- "id": "string"
}, - "profiles": [
- {
- "profileStatus": {
- "profileId": "string",
- "profileName": "string",
- "profileStatus": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "profileDisplayName": "string"
}, - "results": [
- {
- "profileId": "string",
- "ruleId": "string",
- "ruleName": "string",
- "entity": "string",
- "status": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "entityInfo": {
- "property1": "string",
- "property2": "string"
}, - "details": "string",
- "guidance": "string",
- "remediationStatus": "string",
- "remediationLastUpdated": "2019-08-24T14:15:22Z",
- "remediationDetails": "string",
- "ruleTypeName": "string",
- "ruleDescriptionName": "string",
- "alert": {
- "status": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "details": "string",
- "url": "string"
}, - "severity": {
- "value": "VALUE_UNSPECIFIED"
}, - "ruleEvaluationId": "string",
- "remediationUrl": "string",
- "ruleDisplayName": "string"
}
]
}
]
}
]
}
PermissionsService_AssignRole
Request Body schema: application/jsonrequired
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. | |
object (v1RoleAssignment) |
Responses
Request samples
- Payload
{- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "roleAssignment": {
- "role": "string",
- "subject": "string",
- "project": "string"
}
}
Response samples
- 200
{- "roleAssignment": {
- "role": "string",
- "subject": "string",
- "project": "string"
}
}
PermissionsService_ListRoleAssignments
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "roleAssignments": [
- {
- "role": "string",
- "subject": "string",
- "project": "string"
}
]
}
PermissionsService_RemoveRole
path Parameters
roleAssignment.role required | string role is the role that is assigned. |
roleAssignment.subject required | string subject is the subject to which the role is assigned. |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
roleAssignment.project | string projectt is the projectt in which the role is assigned. |
Responses
Response samples
- 200
{- "roleAssignment": {
- "role": "string",
- "subject": "string",
- "project": "string"
}
}
ProjectsService_CreateProject
Request Body schema: application/jsonrequired
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. | |
name | string name is the name of the project to create. |
Responses
Request samples
- Payload
{- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "name": "string"
}
Response samples
- 200
{- "project": {
- "projectId": "string",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "displayName": "string"
}
}
ProjectsService_UpdateProject
Request Body schema: application/jsonrequired
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. | |
displayName | string display_name is the display name of the project to update. |
description | string description is the description of the project to update. |
Responses
Request samples
- Payload
{- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "displayName": "string",
- "description": "string"
}
Response samples
- 200
{- "project": {
- "projectId": "string",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "displayName": "string"
}
}
ProjectsService_PatchProject
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Request Body schema: application/jsonrequired
patch is the patch to apply to the project
displayName | string display_name is the display name of the project to update. |
description | string description is the description of the project to update. |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string"
}
Response samples
- 200
{- "project": {
- "projectId": "string",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "displayName": "string"
}
}
ProjectsService_CreateEntityReconciliationTask
Request Body schema: application/jsonrequired
object (v1EntityTypedId) EntiryTypeId is a message that carries an ID together with a type to uniquely identify an entity such as (repo, 1), (artifact, 2), ... | |
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. |
Responses
Request samples
- Payload
{- "entity": {
- "type": "ENTITY_UNSPECIFIED",
- "id": "string"
}, - "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}
}
Response samples
- 200
{ }
GetUnclaimedProviders returns a list of known provider configurations that this user could claim based on their identity. This is a read-only operation for use by clients which wish to present a menu of options.
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "providers": [
- {
- "githubApp": {
- "installationId": "string",
- "organization": "string",
- "organizationId": "string"
}
}
]
}
ProvidersService_ListProviders
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
limit | integer <int32> limit is the maximum number of providers to return. |
cursor | string cursor is the cursor to use for the page of results, empty if at the beginning |
Responses
Response samples
- 200
{- "providers": [
- {
- "name": "string",
- "class": "string",
- "project": "string",
- "version": "string",
- "implements": [
- "PROVIDER_TYPE_UNSPECIFIED"
], - "config": { },
- "authFlows": [
- "AUTHORIZATION_FLOW_UNSPECIFIED"
], - "parameters": {
- "githubApp": {
- "installationId": "string",
- "organization": "string",
- "organizationId": "string"
}
}, - "credentialsState": "string"
}
], - "cursor": "string"
}
ProvidersService_CreateProvider
Request Body schema: application/jsonrequired
object (v1Context) Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and project. Removing the 'optional' keyword from the following two fields below will break buf compatibility checks. | |
object (v1Provider) |
Responses
Request samples
- Payload
{- "context": {
- "provider": "string",
- "project": "string",
- "retiredOrganization": "string"
}, - "provider": {
- "name": "string",
- "class": "string",
- "project": "string",
- "version": "string",
- "implements": [
- "PROVIDER_TYPE_UNSPECIFIED"
], - "config": { },
- "authFlows": [
- "AUTHORIZATION_FLOW_UNSPECIFIED"
], - "parameters": {
- "githubApp": {
- "installationId": "string",
- "organization": "string",
- "organizationId": "string"
}
}, - "credentialsState": "string"
}
}
Response samples
- 200
{- "provider": {
- "name": "string",
- "class": "string",
- "project": "string",
- "version": "string",
- "implements": [
- "PROVIDER_TYPE_UNSPECIFIED"
], - "config": { },
- "authFlows": [
- "AUTHORIZATION_FLOW_UNSPECIFIED"
], - "parameters": {
- "githubApp": {
- "installationId": "string",
- "organization": "string",
- "organizationId": "string"
}
}, - "credentialsState": "string"
}, - "authorization": {
- "authorizationUrl": "string"
}
}
ProvidersService_DeleteProviderByID
path Parameters
id required | string id is the id of the provider to delete |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "id": "string"
}
ProvidersService_GetProvider
path Parameters
name required | string name is the name of the provider to get. |
query Parameters
context.provider | string name of the provider |
context.project | string ID of the project |
context.retiredOrganization | string |
Responses
Response samples
- 200
{- "provider": {
- "name": "string",
- "class": "string",
- "project": "string",
- "version": "string",
- "implements": [
- "PROVIDER_TYPE_UNSPECIFIED"
], - "config": { },
- "authFlows": [
- "AUTHORIZATION_FLOW_UNSPECIFIED"
], - "parameters": {
- "githubApp": {
- "installationId": "string",
- "organization": "string",
- "organizationId": "string"
}
}, - "credentialsState": "string"
}
}