Skip to main content
POST
Complete a play module upload

Authorizations

Authorization
string
header
required

Bearer token issued by Softmax

Body

application/json

Uploaded module metadata and associations.

name
string
required

Registered play module name.

Required string length: 1 - 32
Pattern: ^[a-z][a-z0-9_]{0,31}$
content_hash
string
required

SHA-256 digest of the uploaded module.

Pattern: ^[0-9a-f]{64}$
player_id
string | null

Player associated with this version, if any.

Pattern: ^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
policy_version_id
string<uuid> | null

Policy version whose playbook includes this module, if any.

Response

Successful Response

version
PlayModuleVersionPublic · object
required

Validated immutable play module version.