Class: Infrawrench::ArtifactsNamespace
- Inherits:
-
Object
- Object
- Infrawrench::ArtifactsNamespace
- Defined in:
- lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs
Overview
client.artifacts
Instance Method Summary collapse
-
#initialize(transport) ⇒ ArtifactsNamespace
constructor
private
A new instance of ArtifactsNamespace.
-
#list(body:, org_id: nil, request_options: nil) ⇒ Hash
List artifact-registry items for a resource.
Constructor Details
#initialize(transport) ⇒ ArtifactsNamespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ArtifactsNamespace.
628 629 630 |
# File 'lib/infrawrench/client.rb', line 628 def initialize(transport) @transport = transport end |
Instance Method Details
#list(body:, org_id: nil, request_options: nil) ⇒ Hash
List artifact-registry items for a resource
Requires permission: storage:read.
POST /api/org/orgId/artifacts/list
Raises on 400: Bad request
Raises on 404: Not found
Raises on 500: Server error
650 651 652 653 654 655 656 657 658 |
# File 'lib/infrawrench/client.rb', line 650 def list(body:, org_id: nil, request_options: nil) @transport.request( http_method: "POST", path: "/api/org/{orgId}/artifacts/list", path_params: { "orgId" => org_id }, body: body, request_options: ) end |