Update Server-Side File Settings
curl --request PUT \
--url https://app.papelship.com/api/qpapel/v1/serverside-files/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "Core Game Module",
"product_cheat_value": "<string>",
"force_key_check": true,
"force_encrypted_download": true,
"install_path": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
label: 'Core Game Module',
product_cheat_value: '<string>',
force_key_check: true,
force_encrypted_download: true,
install_path: '<string>'
})
};
fetch('https://app.papelship.com/api/qpapel/v1/serverside-files/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}"
payload = {
"label": "Core Game Module",
"product_cheat_value": "<string>",
"force_key_check": True,
"force_encrypted_download": True,
"install_path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'label' => 'Core Game Module',
'product_cheat_value' => '<string>',
'force_key_check' => true,
'force_encrypted_download' => true,
'install_path' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}"
payload := strings.NewReader("{\n \"label\": \"Core Game Module\",\n \"product_cheat_value\": \"<string>\",\n \"force_key_check\": true,\n \"force_encrypted_download\": true,\n \"install_path\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"message": "Operation completed successfully"
}{
"success": false,
"error": "Missing required field or invalid value"
}{
"success": false,
"error": "Unauthorized access. Valid API key required."
}Client Security & Anti-Cheat
Update Server-Side File Settings
Modify properties, active state, install path, or security enforcement flags.
PUT
/
serverside-files
/
{id}
Update Server-Side File Settings
curl --request PUT \
--url https://app.papelship.com/api/qpapel/v1/serverside-files/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "Core Game Module",
"product_cheat_value": "<string>",
"force_key_check": true,
"force_encrypted_download": true,
"install_path": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
label: 'Core Game Module',
product_cheat_value: '<string>',
force_key_check: true,
force_encrypted_download: true,
install_path: '<string>'
})
};
fetch('https://app.papelship.com/api/qpapel/v1/serverside-files/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}"
payload = {
"label": "Core Game Module",
"product_cheat_value": "<string>",
"force_key_check": True,
"force_encrypted_download": True,
"install_path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'label' => 'Core Game Module',
'product_cheat_value' => '<string>',
'force_key_check' => true,
'force_encrypted_download' => true,
'install_path' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.papelship.com/api/qpapel/v1/serverside-files/{id}"
payload := strings.NewReader("{\n \"label\": \"Core Game Module\",\n \"product_cheat_value\": \"<string>\",\n \"force_key_check\": true,\n \"force_encrypted_download\": true,\n \"install_path\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"message": "Operation completed successfully"
}{
"success": false,
"error": "Missing required field or invalid value"
}{
"success": false,
"error": "Unauthorized access. Valid API key required."
}Authorizations
BearerAuthApiKeyHeaderApiKeyHeaderLegacy
Standard HTTP Bearer token authentication header (e.g. Authorization: Bearer pk_live_...).
Path Parameters
Unique database ID of the file record.
Body
application/json