EndpointsPolicies

Upload a player file through the backend

POST/stats/policies/files/content

Multipart upload of a player file's bytes (at most 100 MiB) for callers that cannot PUT to the presigned staging URL, such as a browser page. Hashes and stores the bytes, then creates or reuses the policy version exactly as completing a presigned upload would.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Request Body

multipart/form-data

curl -X POST "https://example.com/stats/policies/files/content" \  -F file="string"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "version": 0,  "pools": [    "string"  ],  "submit_error": "string"}