List package artifact cleanup diagnostics.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/admin/function-operations/net-package-artifacts"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/function-operations/net-package-artifacts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/admin/function-operations/net-package-artifacts \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Operational diagnostics for one retained .NET package artifact.
object
Artifact identifier.
Stable package identifier.
Package display name when available.
Uploaded artifact file name.
Artifact SHA-256 hash.
Package bundle version from moltaro-package.json.
Package assembly name.
Package identity assembly version.
Whether this is the active package artifact.
Whether artifact bytes are still stored.
Timestamp when bytes were purged.
Upload timestamp.
Apply timestamp.
Artifact rank within its package, newest first.
Whether the latest-artifact retention policy keeps this artifact.
Whether cleanup is blocked by active work or diagnostics.
Cleanup blockers.
Reason a .NET package artifact cannot have its bytes purged yet.
object
Blocker kind.
Related object identifier when available.
Related object status when available.
Human-readable diagnostic description.
Related timestamp when available.
object
object
object
object
Example
{ "Data": [ { "Status": 0 } ], "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Operational diagnostics for one retained .NET package artifact.
object
Artifact identifier.
Stable package identifier.
Package display name when available.
Uploaded artifact file name.
Artifact SHA-256 hash.
Package bundle version from moltaro-package.json.
Package assembly name.
Package identity assembly version.
Whether this is the active package artifact.
Whether artifact bytes are still stored.
Timestamp when bytes were purged.
Upload timestamp.
Apply timestamp.
Artifact rank within its package, newest first.
Whether the latest-artifact retention policy keeps this artifact.
Whether cleanup is blocked by active work or diagnostics.
Cleanup blockers.
Reason a .NET package artifact cannot have its bytes purged yet.
object
Blocker kind.
Related object identifier when available.
Related object status when available.
Human-readable diagnostic description.
Related timestamp when available.
object
object
object
object
Example
{ "Data": [ { "Status": 0 } ], "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}