Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.48 KB

IconApi.md

File metadata and controls

46 lines (28 loc) · 1.48 KB

\IconApi

All URIs are relative to http://localhost/api/v2.0

Method HTTP request Description
GetIcon Get /icons/{digest} Get artifact icon

GetIcon

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

Required Parameters

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

Optional parameters are passed through a pointer to a IconApiGetIconOpts struct

Name Type Description Notes

xRequestId | optional.String| An unique ID for the request |

Return type

Icon

Authorization

basic

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]