Project mappings

Get Harness-Argo project mapping by agent

GetAppProjectMappingListByAgent retrieves Harness-Argo project mappings list by agent.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v1/agents/{agentIdentifier}/appprojectsmapping
Request samples
Response samples
application/json
{
  • "appProjMap": {
    }
}

Create Harness-Argo project mapping

Create creates Harness-Argo project mappings.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: application/json
required
object
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/agents/{agentIdentifier}/appprojectsmapping
Request samples
application/json
{
  • "appProjMap": {
    }
}
Response samples
application/json
{ }

Delete Harness-Arog project mapping

Delete deletes Harness-Argo project mapping.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

name
required
string
query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

delete/gitops/api/v1/agents/{agentIdentifier}/appprojectsmapping/{name}
Request samples
Response samples
application/json
{ }

Get Harness-Argo project mappings

GetAppProjectMappingList retrieves Harness-Argo project mappings list.

Securityx-api-key
Request
query Parameters
agentIdentifier
string

Agent identifier for entity.

accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v1/appprojectsmapping
Request samples
Response samples
application/json
{
  • "appProjMap": {
    }
}

Create Harness-Argo project mapping V2

CreateV2 creates Harness-Argo project mappings.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

Request Body schema: application/json
required
agentIdentifier
string

Agent identifier for entity.

accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

argoProjectName
string
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v2/agents/{agentIdentifier}/appprojectsmapping
Request samples
application/json
{
  • "agentIdentifier": "string",
  • "accountIdentifier": "string",
  • "orgIdentifier": "string",
  • "projectIdentifier": "string",
  • "argoProjectName": "string"
}
Response samples
application/json
{
  • "identifier": "string",
  • "ArgoProjectName": "string",
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "accountIdentifier": "string",
  • "agentIdentifier": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastModifiedAt": "2019-08-24T14:15:22Z"
}

Get Harness-Argo project mapping V2

GetAppProjectMappingV2 retrieves Harness-Argo project mapping for the given identifier.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

identifier
required
string

app project mapping identifier.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

argoProjectName
string
Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v2/agents/{agentIdentifier}/appprojectsmapping/{identifier}
Request samples
Response samples
application/json
{
  • "identifier": "string",
  • "ArgoProjectName": "string",
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "accountIdentifier": "string",
  • "agentIdentifier": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastModifiedAt": "2019-08-24T14:15:22Z"
}

Delete Harness-Argo project mapping

DeleteV2 deletes Harness-Argo project mappings.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

identifier
required
string

app project mapping identifier.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

argoProjectName
string

Argo Project name for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

delete/gitops/api/v2/agents/{agentIdentifier}/appprojectsmapping/{identifier}
Request samples
Response samples
application/json
{ }

Update Harness-Argo project mappings V2

UpdateV2 updates Harness-Argo project mappings.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

identifier
required
string

app project mapping identifier.

Request Body schema: application/json
required
identifier
string

app project mapping identifier.

agentIdentifier
string

Agent identifier for entity.

accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

argoProjectName
string
Responses
200

A successful response.

default

An unexpected error response.

put/gitops/api/v2/agents/{agentIdentifier}/appprojectsmapping/{identifier}
Request samples
application/json
{
  • "identifier": "string",
  • "agentIdentifier": "string",
  • "accountIdentifier": "string",
  • "orgIdentifier": "string",
  • "projectIdentifier": "string",
  • "argoProjectName": "string"
}
Response samples
application/json
{
  • "identifier": "string",
  • "ArgoProjectName": "string",
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "accountIdentifier": "string",
  • "agentIdentifier": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastModifiedAt": "2019-08-24T14:15:22Z"
}

Get Harness-Argo project mapping list by agent V2

GetAppProjectMappingsListByAgentV2 retrieves Harness-Argo project mappings list by agent.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
identifier
string

app project mapping identifier.

accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

argoProjectName
string
Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v2/agents/{agentIdentifier}/appprojectsmappings
Request samples
Response samples
application/json
{
  • "appProjectMappings": [
    ]
}