Skip to content

Return active .NET package identities.

GET
/api/workspace/admin/net-packages/packages/active
curl --request GET \
--url https://example.com/api/workspace/admin/net-packages/packages/active \
--header 'Authorization: Bearer <token>'
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

Current active .NET package data packages.

object
Items

Active package artifacts, one per stable .NET package.

Array<object>
nullable

Current active .NET package data package identity.

object
PackageId

Active package artifact identifier.

string
nullable
StablePackageId

Stable Moltaro .NET package identifier.

string
nullable
PackageName

Optional package display name.

string
nullable
FileName

Original uploaded 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

Active assembly name.

string
nullable
AssemblyVersion

Active identity assembly version.

string
nullable
ContextTypeName

Active Moltaro DbContext type name.

string
nullable
MigrationHistoryTable

Per-package EF migration history table.

string
nullable
AppliedAt

Timestamp when the package was activated.

string format: date-time
nullable
AppliedByUserId

User that activated the package.

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
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
}
]
},
"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"
}

Not Found

Media typeapplication/json
object
Data

Current active .NET package data packages.

object
Items

Active package artifacts, one per stable .NET package.

Array<object>
nullable

Current active .NET package data package identity.

object
PackageId

Active package artifact identifier.

string
nullable
StablePackageId

Stable Moltaro .NET package identifier.

string
nullable
PackageName

Optional package display name.

string
nullable
FileName

Original uploaded 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

Active assembly name.

string
nullable
AssemblyVersion

Active identity assembly version.

string
nullable
ContextTypeName

Active Moltaro DbContext type name.

string
nullable
MigrationHistoryTable

Per-package EF migration history table.

string
nullable
AppliedAt

Timestamp when the package was activated.

string format: date-time
nullable
AppliedByUserId

User that activated the package.

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
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
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}