Return uploaded .NET packages for administration history.
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/net-packages/packages?page=1&pageSize=50"), 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/net-packages/packages?page=1&pageSize=50';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/net-packages/packages?page=1&pageSize=50' \ --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
Page of uploaded .NET package artifacts.
object
Package artifacts in newest-first order.
One uploaded .NET package artifact summary.
object
Package artifact identifier.
Stable Moltaro .NET package identifier.
Optional package display name.
Original uploaded DLL file name.
Entry assembly file name inside the package bundle.
Package bundle version from moltaro-package.json.
Package SHA-256 hash.
Loaded assembly name.
Loaded identity assembly version.
Moltaro DbContext type name.
Per-package EF migration history table.
Uploaded artifact size in bytes.
Whether this artifact is the active package.
Whether the original uploaded artifact bytes are still available for download.
Timestamp when artifact bytes were purged, when retention removed the downloadable payload.
Upload timestamp.
User that uploaded the artifact.
Activation timestamp.
User that activated the artifact.
Aggregated .NET package plan counts.
object
Number of metadata items that will be created.
Number of metadata items that will be updated.
Number of metadata items that will be deleted or marked deleted.
Number of metadata items that already match the package.
Whether this draft artifact can be hard-deleted.
Server-computed delete blocker codes.
Most recent apply operation for this package.
Worker identifier for the latest apply operation, when claimed.
Last heartbeat timestamp for the latest apply operation, when running.
Attempt count for the latest apply operation.
Total artifact count matching the request.
One-based page number.
Requested page size.
object
object
object
object
Example
{ "Data": { "Items": [ { "Format": 0, "Status": 0, "LatestOperationStatus": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}