curl --request POST \
--url https://api.noqa.ai/v1/builds/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"app_id": "550e8400-e29b-41d4-a716-446655440000",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"name": "Production Build v1.0"
}
'import requests
url = "https://api.noqa.ai/v1/builds/"
payload = {
"app_id": "550e8400-e29b-41d4-a716-446655440000",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"name": "Production Build v1.0"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
app_id: '550e8400-e29b-41d4-a716-446655440000',
key: 'builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa',
name: 'Production Build v1.0'
})
};
fetch('https://api.noqa.ai/v1/builds/', 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://api.noqa.ai/v1/builds/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'app_id' => '550e8400-e29b-41d4-a716-446655440000',
'key' => 'builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa',
'name' => 'Production Build v1.0'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://api.noqa.ai/v1/builds/"
payload := strings.NewReader("{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.post("https://api.noqa.ai/v1/builds/")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.noqa.ai/v1/builds/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2023-11-07T05:31:56Z",
"version": "1.0.0 (5)",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"file_size": 10485760,
"bundle_id": "com.example.app",
"name": "Production Build v1.0"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create Build
Create build from uploaded file (Public API with API Key authentication)
curl --request POST \
--url https://api.noqa.ai/v1/builds/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"app_id": "550e8400-e29b-41d4-a716-446655440000",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"name": "Production Build v1.0"
}
'import requests
url = "https://api.noqa.ai/v1/builds/"
payload = {
"app_id": "550e8400-e29b-41d4-a716-446655440000",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"name": "Production Build v1.0"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
app_id: '550e8400-e29b-41d4-a716-446655440000',
key: 'builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa',
name: 'Production Build v1.0'
})
};
fetch('https://api.noqa.ai/v1/builds/', 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://api.noqa.ai/v1/builds/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'app_id' => '550e8400-e29b-41d4-a716-446655440000',
'key' => 'builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa',
'name' => 'Production Build v1.0'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://api.noqa.ai/v1/builds/"
payload := strings.NewReader("{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.post("https://api.noqa.ai/v1/builds/")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.noqa.ai/v1/builds/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"app_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"key\": \"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa\",\n \"name\": \"Production Build v1.0\"\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2023-11-07T05:31:56Z",
"version": "1.0.0 (5)",
"key": "builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa",
"file_size": 10485760,
"bundle_id": "com.example.app",
"name": "Production Build v1.0"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API Key for authentication. Get your API key from NOQA dashboard.
Headers
API Key for authentication
Body
Build creation model for already uploaded file
Application ID
"550e8400-e29b-41d4-a716-446655440000"
Object key of the uploaded file in storage
"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa"
Optional display name for the build
1 - 200"Production Build v1.0"
Response
Successful Response
Build response for Public API
Unique identifier of the build
"550e8400-e29b-41d4-a716-446655440000"
Timestamp when the build was created
Version string of the build
"1.0.0 (5)"
Storage key of the build file
"builds/d773ade3-7053-4a91-9dd8-d2e59ba58d0a/550e8400-e29b-41d4-a716-446655440000.ipa"
Size of the build file in bytes
10485760
Bundle identifier of the application
"com.example.app"
Display name of the build
"Production Build v1.0"
