curl --request PATCH \
--url https://tester.army/api/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prTestingEnabled": true,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": true,
"includeExampleMobileApp": true,
"autoDeleteOldestMobileApp": true,
"accessibilityAuditEnabled": true,
"name": "<string>",
"url": "<string>",
"description": "<string>"
}
'import requests
url = "https://tester.army/api/v1/projects/{projectId}"
payload = {
"prTestingEnabled": True,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": True,
"includeExampleMobileApp": True,
"autoDeleteOldestMobileApp": True,
"accessibilityAuditEnabled": True,
"name": "<string>",
"url": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
prTestingEnabled: true,
prTestingInstructions: '<string>',
prTestingDebounceMinutes: 30,
prTestingBlockMerge: true,
includeExampleMobileApp: true,
autoDeleteOldestMobileApp: true,
accessibilityAuditEnabled: true,
name: '<string>',
url: '<string>',
description: '<string>'
})
};
fetch('https://tester.army/api/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tester.army/api/v1/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'prTestingEnabled' => true,
'prTestingInstructions' => '<string>',
'prTestingDebounceMinutes' => 30,
'prTestingBlockMerge' => true,
'includeExampleMobileApp' => true,
'autoDeleteOldestMobileApp' => true,
'accessibilityAuditEnabled' => true,
'name' => '<string>',
'url' => '<string>',
'description' => '<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://tester.army/api/v1/projects/{projectId}"
payload := strings.NewReader("{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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))
}HttpResponse<String> response = Unirest.patch("https://tester.army/api/v1/projects/{projectId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tester.army/api/v1/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shortId": "<string>",
"name": "<string>",
"url": "<string>",
"projectType": "web",
"description": "<string>",
"environments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"kind": "production",
"url": "<string>"
}
],
"browserRegion": "eu",
"prTestingEnabled": true,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": true,
"includeExampleMobileApp": true,
"autoDeleteOldestMobileApp": true,
"accessibilityAuditEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Update project name, URL, description, or settings.
curl --request PATCH \
--url https://tester.army/api/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prTestingEnabled": true,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": true,
"includeExampleMobileApp": true,
"autoDeleteOldestMobileApp": true,
"accessibilityAuditEnabled": true,
"name": "<string>",
"url": "<string>",
"description": "<string>"
}
'import requests
url = "https://tester.army/api/v1/projects/{projectId}"
payload = {
"prTestingEnabled": True,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": True,
"includeExampleMobileApp": True,
"autoDeleteOldestMobileApp": True,
"accessibilityAuditEnabled": True,
"name": "<string>",
"url": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
prTestingEnabled: true,
prTestingInstructions: '<string>',
prTestingDebounceMinutes: 30,
prTestingBlockMerge: true,
includeExampleMobileApp: true,
autoDeleteOldestMobileApp: true,
accessibilityAuditEnabled: true,
name: '<string>',
url: '<string>',
description: '<string>'
})
};
fetch('https://tester.army/api/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tester.army/api/v1/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'prTestingEnabled' => true,
'prTestingInstructions' => '<string>',
'prTestingDebounceMinutes' => 30,
'prTestingBlockMerge' => true,
'includeExampleMobileApp' => true,
'autoDeleteOldestMobileApp' => true,
'accessibilityAuditEnabled' => true,
'name' => '<string>',
'url' => '<string>',
'description' => '<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://tester.army/api/v1/projects/{projectId}"
payload := strings.NewReader("{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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))
}HttpResponse<String> response = Unirest.patch("https://tester.army/api/v1/projects/{projectId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tester.army/api/v1/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"prTestingEnabled\": true,\n \"prTestingInstructions\": \"<string>\",\n \"prTestingDebounceMinutes\": 30,\n \"prTestingBlockMerge\": true,\n \"includeExampleMobileApp\": true,\n \"autoDeleteOldestMobileApp\": true,\n \"accessibilityAuditEnabled\": true,\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shortId": "<string>",
"name": "<string>",
"url": "<string>",
"projectType": "web",
"description": "<string>",
"environments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"kind": "production",
"url": "<string>"
}
],
"browserRegion": "eu",
"prTestingEnabled": true,
"prTestingInstructions": "<string>",
"prTestingDebounceMinutes": 30,
"prTestingBlockMerge": true,
"includeExampleMobileApp": true,
"autoDeleteOldestMobileApp": true,
"accessibilityAuditEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
API key authentication using Bearer token format
Path Parameters
Project ID
Body
Default proxy exit region for web runs. null keeps the provider's default networking. Web projects only.
eu, us, null Test PR deployments automatically.
Free-form instructions for the PR exploration agent.
2000Quiet period before a PR deployment is tested. 0 disables debouncing.
0 <= x <= 60Conclude the GitHub check run as failed when tests fail, so a required TesterArmy check blocks the merge. Off by default.
Offer the example app as a run target. Mobile projects only.
Delete the oldest unused app builds when an upload exceeds the storage quota. Mobile projects only.
Scan visited pages with axe-core during web runs and report critical accessibility violations as non-blocking warnings. On by default. Web projects only.
1 - 2551 - 5002000Response
Project updated
Show child attributes
Show child attributes