Struct azure_devops_rust_api::artifacts::artifact_details::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn query_package_metrics(
&self,
organization: impl Into<String>,
body: impl Into<PackageMetricsQuery>,
feed_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn query_package_metrics( &self, organization: impl Into<String>, body: impl Into<PackageMetricsQuery>, feed_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn get_packages(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_packages( &self, organization: impl Into<String>, feed_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get details about all of the packages in the feed. Use the various filters to include or exclude information from the result set.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.project
: Project ID or project name
sourcepub fn get_package(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_package( &self, organization: impl Into<String>, feed_id: impl Into<String>, package_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get details about a specific package.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.package_id
: The package Id (GUID Id, not the package name).project
: Project ID or project name
sourcepub fn query_package_version_metrics(
&self,
organization: impl Into<String>,
body: impl Into<PackageVersionMetricsQuery>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn query_package_version_metrics( &self, organization: impl Into<String>, body: impl Into<PackageVersionMetricsQuery>, feed_id: impl Into<String>, package_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn get_package_versions(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_package_versions( &self, organization: impl Into<String>, feed_id: impl Into<String>, package_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of package versions, optionally filtering by state.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.package_id
: Id of the package (GUID Id, not name).project
: Project ID or project name
sourcepub fn get_package_version(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
package_version_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_package_version( &self, organization: impl Into<String>, feed_id: impl Into<String>, package_id: impl Into<String>, package_version_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get details about a specific package version.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.package_id
: Id of the package (GUID Id, not name).package_version_id
: Id of the package version (GUID Id, not name).project
: Project ID or project name
sourcepub fn get_package_version_provenance(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
package_version_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_package_version_provenance( &self, organization: impl Into<String>, feed_id: impl Into<String>, package_id: impl Into<String>, package_version_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets provenance for a package version.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.package_id
: Id of the package (GUID Id, not name).package_version_id
: Id of the package version (GUID Id, not name).project
: Project ID or project name
sourcepub fn get_badge(
&self,
organization: impl Into<String>,
feed_id: impl Into<String>,
package_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_badge( &self, organization: impl Into<String>, feed_id: impl Into<String>, package_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Generate a SVG badge for the latest version of a package. The generated SVG is typically used as the image in an HTML link which takes users to the feed containing the package to accelerate discovery and consumption.
The project parameter must be supplied if the feed was created in a project. If the feed is not associated with any project, omit the project parameter from the request.
Arguments:
organization
: The name of the Azure DevOps organization.feed_id
: Name or Id of the feed.package_id
: Id of the package (GUID Id, not name).project
: Project ID or project name