Import GGSA artifacts
patch
https://{ggsa_host}:{ggsa_port}/{context_path}/services/{version}/artifacts/import
Import GGSA artifacts from the bundle(archive).
Request
Path Parameters
-
version(required): string
GGSA API versionExample:
v1
Query Parameters
-
overwrite(required): boolean
if true, Overwrite the existing artifact with the new one matched in the bundle otherwise ignore all such artifact in the bundle.Example:
true
Supported Media Types
- multipart/form-data
Response
Supported Media Types
- application/json
200 Response
Successfully imported the artifacts.
Root Schema : Artifact
Type:
Show Source
object
-
createdAt: string
(date-time)
Creation time of GGSA Artifact.
-
createdBy: string
Author of the GGSA Artifact.
-
description: string
GGSA Artifact Description.
-
id: string
GGSA Artifact ID.
-
name: string
GGSA Artifact Name.
-
tagNames: array
tagNames
Unique Items Required:
true
List of tags defined for the GGSA Artifact. -
type: string
GGSA Artifact Type.
Nested Schema : tagNames
Type:
array
Unique Items Required:
true
List of tags defined for the GGSA Artifact.
Show Source
-
Array of:
string
List of tags defined for the GGSA Artifact.
404 Response
Entity not found.
409 Response
Incorrect state / conflict.