Project mappings

AppProjectMappingService_GetAppProjectMappingList

Retrieves Harness-Argo project mappings list.

SecurityApiKey
Request
query Parameters
agentIdentifier
required
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": {
    }
}

AppProjectMappingService_GetAppProjectMappingListByAgent

Retrieves Harness-Argo project mappings list by agent.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
required
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": {
    }
}

CreateAppProjectMapping creates a new mapping between Harness Project and argo project

Creates Harness-Argo project mappings.

SecurityApiKey
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
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 an argo project to harness project mapping

Delete Harness-Argo project mappings.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

name
required
string
query Parameters
accountIdentifier
required
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
{ }