Editions
List Editions
Returns the editions of the English text that ?edition= accepts: the first printing (1955) and each Standard Reference Text (SRT). The API stores the newest (srt-2024, the Foundation’s download 1.22) and builds an older one by undoing the later changes. changes is the count of changes adopted in that edition’s year. An edition id can also be the Foundation’s number (1.22, 21) or a version stamp.
GET
/
editions
List the editions of the English text
curl --request GET \
--url https://api.urantia.dev/editionsimport requests
url = "https://api.urantia.dev/editions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/editions', 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.urantia.dev/editions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/editions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/editions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/editions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "1955",
"label": "First printing (1955)",
"year": 1955,
"foundationVersion": null,
"versionStamp": null,
"default": false,
"changes": 0
},
{
"id": "srt-2009",
"label": "Standard Reference Text, 2009",
"year": 2009,
"foundationVersion": null,
"versionStamp": null,
"default": false,
"changes": 161
}
],
"meta": {
"default": "srt-2024",
"variants": 181
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}⌘I
List the editions of the English text
curl --request GET \
--url https://api.urantia.dev/editionsimport requests
url = "https://api.urantia.dev/editions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/editions', 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.urantia.dev/editions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/editions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/editions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/editions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "1955",
"label": "First printing (1955)",
"year": 1955,
"foundationVersion": null,
"versionStamp": null,
"default": false,
"changes": 0
},
{
"id": "srt-2009",
"label": "Standard Reference Text, 2009",
"year": 2009,
"foundationVersion": null,
"versionStamp": null,
"default": false,
"changes": 161
}
],
"meta": {
"default": "srt-2024",
"variants": 181
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}
