{ "opencollection": "1.0.0", "info": { "name": "CodeArtifact Authorization Token#domain Package#domain&repository&format&package API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Package#domain&repository&format&package", "type": "folder" }, "items": [ { "info": { "name": "Amazon CodeArtifact Describe Package", "type": "http" }, "http": { "method": "GET", "url": "http://codeartifact.{region}.amazonaws.com/v1/package#domain&repository&format&package", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "domain", "value": "", "type": "query", "description": "The name of the domain that contains the repository that contains the package." }, { "name": "domain-owner", "value": "", "type": "query", "description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. " }, { "name": "repository", "value": "", "type": "query", "description": "The name of the repository that contains the requested package. " }, { "name": "format", "value": "", "type": "query", "description": "A format that specifies the type of the requested package." }, { "name": "namespace", "value": "", "type": "query", "description": "
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId. The namespace is required when requesting Maven packages.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
The namespace of a generic package is its namespace.
Sets the package origin configuration for a package.
The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package origin controls and configuration, see Edit"
},
{
"info": {
"name": "Amazon CodeArtifact Delete Package",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "http://codeartifact.{region}.amazonaws.com/v1/package#domain&repository&format&package",
"headers": [
{
"name": "X-Amz-Content-Sha256",
"value": ""
},
{
"name": "X-Amz-Date",
"value": ""
},
{
"name": "X-Amz-Algorithm",
"value": ""
},
{
"name": "X-Amz-Credential",
"value": ""
},
{
"name": "X-Amz-Security-Token",
"value": ""
},
{
"name": "X-Amz-Signature",
"value": ""
},
{
"name": "X-Amz-SignedHeaders",
"value": ""
}
],
"params": [
{
"name": "domain",
"value": "",
"type": "query",
"description": "The name of the domain that contains the package to delete."
},
{
"name": "domain-owner",
"value": "",
"type": "query",
"description": " The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. "
},
{
"name": "repository",
"value": "",
"type": "query",
"description": "The name of the repository that contains the package to delete."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The format of the requested package to delete."
},
{
"name": "namespace",
"value": "",
"type": "query",
"description": " The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its The namespace of an npm package is its Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace. The namespace of a generic package is its
"
},
{
"name": "package",
"value": "",
"type": "query",
"description": "The name of the package to delete."
}
]
},
"docs": "Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API."
}
]
}
],
"bundled": true
}groupId. The namespace is required when deleting Maven package versions. scope.namespace.