All URIs are relative to http://localhost/api/v2.0
Method | HTTP request | Description |
---|---|---|
GetIcon | Get /icons/{digest} | Get artifact icon |
Icon GetIcon(ctx, digest, optional) Get artifact icon
Get the artifact icon with the specified digest. As the original icon image is resized and encoded before returning, the parameter "digest" in the path doesn't match the hash of the returned content
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
digest | string | The digest of the resource | |
optional | *IconApiGetIconOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a IconApiGetIconOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]