{ "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:

" }, { "name": "package", "value": "", "type": "query", "description": "The name of the requested package." } ] }, "docs": " Returns a PackageDescription object that contains information about the requested package." }, { "info": { "name": "Amazon CodeArtifact Put Package Origin Configuration", "type": "http" }, "http": { "method": "POST", "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 package." }, { "name": "format", "value": "", "type": "query", "description": "A format that specifies the type of the package to be updated." }, { "name": "namespace", "value": "", "type": "query", "description": "

The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:

" }, { "name": "package", "value": "", "type": "query", "description": "The name of the package to be updated." } ], "body": { "type": "json", "data": "{}" } }, "docs": "

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:

" }, { "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 }