Projects
Lists lists Argo projects.
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
GET /api/v1/agents/{agentIdentifier}/projects HTTP/1.1
Accept: */*
{
"metadata": {
"selfLink": "text",
"resourceVersion": "text",
"continue": "text",
"remainingItemCount": "text",
"shardInfo": {
"selector": "text"
}
},
"items": [
{
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
}
]
}Create a new Argo project
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
ProjectCreateRequest defines project creation parameters.
A successful response.
An unexpected error response.
POST /api/v1/agents/{agentIdentifier}/projects HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 1955
{
"project": {
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
},
"upsert": true
}{
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
}Get returns an Argo project by name.
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
GET /api/v1/agents/{agentIdentifier}/projects/{query.name} HTTP/1.1
Accept: */*
{
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
}Delete deletes an Argo project.
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
DELETE /api/v1/agents/{agentIdentifier}/projects/{query.name} HTTP/1.1
Accept: */*
{}Update updates an Argo project.
Agent identifier for entity.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names +optional
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
PUT /api/v1/agents/{agentIdentifier}/projects/{request.project.metadata.name} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 1941
{
"project": {
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
}
}{
"metadata": {
"name": "text",
"generateName": "text",
"namespace": "text",
"selfLink": "text",
"uid": "text",
"resourceVersion": "text",
"generation": "text",
"creationTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionTimestamp": {
"seconds": "text",
"nanos": 1
},
"deletionGracePeriodSeconds": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"ownerReferences": [
{
"apiVersion": "text",
"kind": "text",
"name": "text",
"uid": "text",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"text"
],
"managedFields": [
{
"manager": "text",
"operation": "text",
"apiVersion": "text",
"time": {
"seconds": "text",
"nanos": 1
},
"fieldsType": "text",
"fieldsV1": {
"Raw": "Ynl0ZXM="
},
"subresource": "text"
}
]
},
"spec": {
"sourceRepos": [
"text"
],
"destinations": [
{
"server": "text",
"namespace": "text",
"name": "text"
}
],
"description": "text",
"roles": [
{
"name": "text",
"description": "text",
"policies": [
"text"
],
"jwtTokens": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
],
"groups": [
"text"
]
}
],
"clusterResourceWhitelist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"namespaceResourceBlacklist": [
{
"group": "text",
"kind": "text"
}
],
"orphanedResources": {
"warn": true,
"ignore": [
{
"group": "text",
"kind": "text",
"name": "text"
}
]
},
"syncWindows": [
{
"kind": "text",
"schedule": "text",
"duration": "text",
"applications": [
"text"
],
"namespaces": [
"text"
],
"clusters": [
"text"
],
"manualSync": true,
"timeZone": "text",
"project": "text"
}
],
"namespaceResourceWhitelist": [
{
"group": "text",
"kind": "text"
}
],
"signatureKeys": [
{
"keyID": "text"
}
],
"clusterResourceBlacklist": [
{
"group": "text",
"kind": "text",
"name": "text"
}
],
"sourceNamespaces": [
"text"
],
"permitOnlyProjectScopedClusters": true,
"destinationServiceAccounts": [
{
"server": "text",
"namespace": "text",
"defaultServiceAccount": "text"
}
],
"sourceIntegrity": {
"git": {
"policies": [
{
"repos": [
{
"url": "text"
}
],
"gpg": {
"mode": "text",
"keys": [
"text"
]
}
}
]
}
}
},
"status": {
"jwtTokensByRole": {
"ANY_ADDITIONAL_PROPERTY": {
"items": [
{
"iat": "text",
"exp": "text",
"id": "text"
}
]
}
}
}
}Last updated
Was this helpful?