Skip to content

Return uploaded .NET packages for administration history.

GET
/api/workspace/admin/net-packages/packages
curl --request GET \
--url 'https://example.com/api/workspace/admin/net-packages/packages?page=1&pageSize=50' \
--header 'Authorization: Bearer <token>'
page
integer format: int32
default: 1
pageSize
integer format: int32
default: 50
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

OK

Media typeapplication/json
object
Data

Page of uploaded .NET package artifacts.

object
Items

Package artifacts in newest-first order.

Array<object>
nullable

One uploaded .NET package artifact summary.

object
PackageId

Package artifact identifier.

string
nullable
StablePackageId

Stable Moltaro .NET package identifier.

string
nullable
PackageName

Optional package display name.

string
nullable
FileName

Original uploaded DLL file name.

string
nullable
Format
integer format: int32
Allowed values: 0 1
EntryAssemblyFileName

Entry assembly file name inside the package bundle.

string
nullable
PackageVersion

Package bundle version from moltaro-package.json.

string
nullable
Sha256Hash

Package SHA-256 hash.

string
nullable
AssemblyName

Loaded assembly name.

string
nullable
AssemblyVersion

Loaded identity assembly version.

string
nullable
ContextTypeName

Moltaro DbContext type name.

string
nullable
MigrationHistoryTable

Per-package EF migration history table.

string
nullable
SizeBytes

Uploaded artifact size in bytes.

integer format: int64
Status
integer format: int32
Allowed values: 0 1 2 3 4
IsActive

Whether this artifact is the active package.

boolean
ArtifactDownloadAvailable

Whether the original uploaded artifact bytes are still available for download.

boolean
ArtifactBytesPurgedAt

Timestamp when artifact bytes were purged, when retention removed the downloadable payload.

string format: date-time
nullable
UploadedAt

Upload timestamp.

string format: date-time
UploadedByUserId

User that uploaded the artifact.

string
nullable
AppliedAt

Activation timestamp.

string format: date-time
nullable
AppliedByUserId

User that activated the artifact.

string
nullable
Summary

Aggregated .NET package plan counts.

object
CreateCount

Number of metadata items that will be created.

integer format: int32
UpdateCount

Number of metadata items that will be updated.

integer format: int32
DeleteCount

Number of metadata items that will be deleted or marked deleted.

integer format: int32
NoChangeCount

Number of metadata items that already match the package.

integer format: int32
CanDelete

Whether this draft artifact can be hard-deleted.

boolean
DeleteBlockers

Server-computed delete blocker codes.

Array<string>
nullable
LatestOperationId

Most recent apply operation for this package.

string
nullable
LatestOperationStatus
integer format: int32
Allowed values: 0 1 2 3
LatestOperationWorkerId

Worker identifier for the latest apply operation, when claimed.

string
nullable
LatestOperationHeartbeatAt

Last heartbeat timestamp for the latest apply operation, when running.

string format: date-time
nullable
LatestOperationAttemptCount

Attempt count for the latest apply operation.

integer format: int32
nullable
TotalCount

Total artifact count matching the request.

integer format: int32
Page

One-based page number.

integer format: int32
PageSize

Requested page size.

integer format: int32
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Items": [
{
"Format": 0,
"Status": 0,
"LatestOperationStatus": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Forbidden

Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}