Open Build Service API
opensuse · Developer Tools
The _Open Build Service API_ is a XML API. To authenticate, use [HTTP basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) by passing the _Authorization_ header in the form of `Authorization: Basic `. There is no API versioning as there is no need for it right now. Only rudimentary rate limiting is implemented, so please be gentle when using the API concurrently, especially with potentially expensive operations. In case of abuse, we will limit/remove y
Authentication
Sample Requests
List all people.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person?prefix=example"
import requests
params = {
"prefix": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person');
url.searchParams.set('prefix', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person")
q := baseURL.Query()
q.Set("prefix", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person")
uri.query = URI.encode_www_form({
"prefix" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/person?" . http_build_query([
"prefix" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Get a collection of requests for a specified target. **NOTE:** You need to set at least one of the following parameters in order to use this endpoint: * `user` * `project` * `package` * `states` * `types` * `ids`
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection?ids=example&user=example&limit=10&roles=example&types=example&states=example&package=example&project=example&withhistory=example&withfullhistory=example"
import requests
params = {
"ids": "example",
"user": "example",
"limit": "10",
"roles": "example",
"types": "example",
"states": "example",
"package": "example",
"project": "example",
"withhistory": "example",
"withfullhistory": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection');
url.searchParams.set('ids', 'example');
url.searchParams.set('user', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('roles', 'example');
url.searchParams.set('types', 'example');
url.searchParams.set('states', 'example');
url.searchParams.set('package', 'example');
url.searchParams.set('project', 'example');
url.searchParams.set('withhistory', 'example');
url.searchParams.set('withfullhistory', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection")
q := baseURL.Query()
q.Set("ids", "example")
q.Set("user", "example")
q.Set("limit", "10")
q.Set("roles", "example")
q.Set("types", "example")
q.Set("states", "example")
q.Set("package", "example")
q.Set("project", "example")
q.Set("withhistory", "example")
q.Set("withfullhistory", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection")
uri.query = URI.encode_www_form({
"ids" => "example",
"user" => "example",
"limit" => "10",
"roles" => "example",
"types" => "example",
"states" => "example",
"package" => "example",
"project" => "example",
"withhistory" => "example",
"withfullhistory" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/request?view=collection?" . http_build_query([
"ids" => "example",
"user" => "example",
"limit" => "10",
"roles" => "example",
"types" => "example",
"states" => "example",
"package" => "example",
"project" => "example",
"withhistory" => "example",
"withfullhistory" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Get generic information about the API.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opensuse.org/obs/2.10.50/about";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Open Build Service API?
Open Build Service API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Open Build Service API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?