{ "opencollection": "1.0.0", "info": { "name": "Generic Artifacts Content API", "version": "20160918" }, "items": [ { "info": { "name": "genericArtifactsContent", "type": "folder" }, "items": [ { "info": { "name": "GetGenericArtifactContent", "type": "http" }, "http": { "method": "GET", "url": "/20160918/generic/artifacts/:artifactId/content", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "artifactId", "value": "", "type": "path", "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the artifact.\n\nExample: `ocid1.genericartifact.oc1..exampleuniqueID`\n" } ] }, "docs": "Gets the specified artifact's content." }, { "info": { "name": "GetGenericArtifactContentByPath", "type": "http" }, "http": { "method": "GET", "url": "/20160918/generic/repositories/:repositoryId/artifactPaths/:artifactPath/versions/:version/content", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "repositoryId", "value": "", "type": "path", "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the repository.\n\nExample: `ocid1.repository.oc1..exampleuniqueID`\n" }, { "name": "artifactPath", "value": "", "type": "path", "description": "A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.\n\nExample: `project01/my-web-app/artifact-abc`\n" }, { "name": "version", "value": "", "type": "path", "description": "A user-defined string to describe the artifact version.\n\nExample: `1.1.2` or `1.2-beta-2`\n" } ] }, "docs": "Gets the content of an artifact with a specified `artifactPath` and `version`." }, { "info": { "name": "PutGenericArtifactContentByPath", "type": "http" }, "http": { "method": "PUT", "url": "/20160918/generic/repositories/:repositoryId/artifactPaths/:artifactPath/versions/:version/content", "headers": [ { "name": "if-match", "value": "" }, { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "repositoryId", "value": "", "type": "path", "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the repository.\n\nExample: `ocid1.repository.oc1..exampleuniqueID`\n" }, { "name": "artifactPath", "value": "", "type": "path", "description": "A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.\n\nExample: `project01/my-web-app/artifact-abc`\n" }, { "name": "version", "value": "", "type": "path", "description": "A user-defined string to describe the artifact version.\n\nExample: `1.1.2` or `1.2-beta-2`\n" } ] }, "docs": "Uploads an artifact. Provide `artifactPath`, `version` and content. Avoid entering confidential information when you define the path and version." } ] } ], "bundled": true }