EndpointsPolicies
Complete a player file upload
POST
/stats/policies/files/completeValidates staged player-file bytes, promotes them, and creates or reuses a policy version.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token issued by Softmax
In: header
Request Body
application/json
name?|
Policy name for the file-backed version. When omitted, the policy is named after the uploading player (suffixed with the player id if another user owns that name).
content_hash*Content Hash
SHA-256 digest of the player file.
Match
^[0-9a-f]{64}$size_bytes*Size Bytes
Player file size in bytes.
Range
0 <= value <= 104857600player_id?|
Owned player associated with this version, if any.
attributes?
Runtime and packaging metadata for the version.
tags?
Caller-owned tags for the policy version.
policy_secret_env_id?|
Unsupported secret environment; player-file policies cannot receive secrets.
curl -X POST "https://softmax.com/api/observatory/stats/policies/files/complete" \ -H "Content-Type: application/json" \ -d '{ "content_hash": "string", "size_bytes": 0 }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "version": 0, "pools": [ "string" ], "submit_error": "string"}