Skip to content

Install From Registry

POST
/api/divinity/authored-library/registry/install

Download a pack from the registry, verify it, install it.

The download SHA-256 is verified before any state mutation; a mismatch raises 502 with the discrepancy spelled out so the user can decide whether to retry. Successful installs reload the live registry so the pack is immediately available without a backend restart.

AuthoredLibraryRegistryInstallRequest

Payload for POST /registry/install.

object
packId
required
Packid
string
downloadUrl
required
Downloadurl
string
sha256
required
Sha256
string
sizeBytes
required
Sizebytes
integer
name
required
Name
string
version
required
Version
string
sourceRegistryUrl
Sourceregistryurl
string
""

Successful Response

AuthoredLibraryRegistryInstallResponse

Response body for POST /registry/install.

object
packId
required
Packid
string
name
required
Name
string
version
required
Version
string
situationsImported
required
Situationsimported
integer
variantsImported
required
Variantsimported
integer

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object