FACEIT Demo Upload API Endpoint
We have an API endpoint for submitting FACEIT Demo Links! Use this to create desktop apps, browser extensions, or anything else you can think of which make it easier to get FACEIT demos into Leetify. Use this to automate the process of opening the FACEIT match room, downloading the demo file, and uploading it to Leetify.
If you build something with this, please share it with us in Discord, or by emailing a brief description to support@leetify.com.
Submitting a presigned demo download URL
You will first need to get a presigned URL to download the demo from FACEIT's servers.
Once you have the URL, send an HTTP POST request like this:
POST https://api.cs-prod.leetify.com/api/faceit-demos/submit-demo-download-url
Accept: application/json
Content-Type: application/json
{
"url": "https://demos-europe-central-faceit-cdn.s3.eu-central-003.backblazeb2.com/cs2/1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-1-1.dem.zst?X-Amz-Algorithm=xxx&X-Amz-Credential=xxx&X-Amz-Date=xxx&X-Amz-Expires=xxx&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=xxx"
}
Responses
200 OK
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
id
is the Leetify match ID for the submitted FACEIT match. The match report will be available at https://leetify.com/app/match-details/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
.
422 Unprocessable Entity
The request was malformed. Make sure the request body matches the description. The url
must be a presigned URL, pointing to an S3 endpoint provided by FACEIT.
If you've double checked that you're submitting a valid URL format and it is still getting rejected, please contact us.
429 Too Many Requests
Not expected under normal circumstances, but may occur when catching up on many missed matches on first use of an integration. Wait 300 seconds before sending any further requests.
500 Internal Server Error
Not expected in normal use.