Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3576,6 +3576,17 @@
],
"type": "object"
},
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
"properties": {
"workflow": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
}
},
"required": [
"workflow"
],
"type": "object"
},
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
"properties": {
Expand Down
95 changes: 95 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3733,6 +3733,48 @@
}
}
},
"/artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetOutputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -3827,6 +3869,48 @@
}
}
},
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetInputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -7497,6 +7581,17 @@
}
}
},
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
"type": "object",
"required": [
"workflow"
],
"properties": {
"workflow": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
}
}
},
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
"type": "object",
Expand Down
95 changes: 95 additions & 0 deletions pkg/apiclient/_.primary.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,90 @@
}
],
"paths": {
"/artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetOutputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetInputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -289,6 +373,17 @@
}
},
"definitions": {
"github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest": {
"type": "object",
"required": [
"workflow"
],
"properties": {
"workflow": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Workflow"
}
}
},
"io.k8s.apimachinery.pkg.runtime.Object": {
"title": "This is a hack do deal with this problem: https://github.com/kubernetes/kube-openapi/issues/174"
},
Expand Down
Loading