Get a public pull request's proof
curl --request GET \
--url https://api.runaether.dev/public/pull-requests/{pullRequestID}/proofimport requests
url = "https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof', 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.runaether.dev/public/pull-requests/{pullRequestID}/proof",
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.runaether.dev/public/pull-requests/{pullRequestID}/proof"
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.runaether.dev/public/pull-requests/{pullRequestID}/proof")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof")
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{
"captures": [
{
"capture": {
"actions": [
{
"at_ms": 1,
"kind": "click",
"label": "<string>"
}
],
"chapters": [
{
"at_ms": 1,
"title": "<string>",
"description": "<string>"
}
],
"description": "<string>",
"duration_ms": 1,
"height": 2,
"kind": "recording",
"pages": [
"<string>"
],
"source": "browser",
"title": "<string>",
"width": 2,
"ending": "stopped",
"notes": [
"<string>"
]
},
"content_type": "image/png",
"created_at": "2023-11-07T05:31:56Z",
"head_sha": "<string>",
"hidden": {
"at": "2023-11-07T05:31:56Z",
"by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"hideable": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"public_url": "<string>",
"tracks": [
{
"byte_size": 26214400,
"format": "aether.cpu.v2",
"kind": "cpu",
"url": "<string>"
}
]
}
],
"pull_request": {
"html_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pr_number": 2,
"title": "<string>"
}
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Pull Requests
Get a public pull request's proof
Reads the outsider view of one pull request’s proof: its title, number and GitHub link and its captures newest first, with nothing that names an organization, project, task or member.
Use this tool when you need to:
- Show someone without an Aether account the screenshots and recordings that prove a pull request’s work
- Check what a public proof link reveals before sharing it
Examples:
- GET /public/pull-requests//proof
- GET /public/pull-requests/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/proof
Hints:
- pullRequestID is the pull request’s uuid (422 from the schema otherwise); there are no other parameters.
- Answers pull_request (id, pr_number, title, html_url) and captures: every publishing task’s and review run’s captures in one list, newest first, each with its URL and its chapters. Hidden captures and recordings a pause cut short are left out, and each task contributes at most its newest 50.
- A proof is public when a member set it public, or nobody decided and its organization’s new_pull_request_proof_public is on.
- Use getPublicRepoPullRequestProofLocation or getPublicTaskProofLocation instead to turn a proof link into the pullRequestID, and getPullRequestProof for the member view.
- Anyone holding the proof link may call it, with no Aether account and no credential. A proof its organization has made private, a pull request linked to tasks in no organization or in more than one, and a pull request id that names nothing answer the same 404, so it cannot confirm that a private pull request exists.
- A client past 120 requests a minute to the public proof operations (counted per API machine) is refused with 429 and Retry-After.
GET
/
public
/
pull-requests
/
{pullRequestID}
/
proof
Get a public pull request's proof
curl --request GET \
--url https://api.runaether.dev/public/pull-requests/{pullRequestID}/proofimport requests
url = "https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof', 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.runaether.dev/public/pull-requests/{pullRequestID}/proof",
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.runaether.dev/public/pull-requests/{pullRequestID}/proof"
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.runaether.dev/public/pull-requests/{pullRequestID}/proof")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/public/pull-requests/{pullRequestID}/proof")
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{
"captures": [
{
"capture": {
"actions": [
{
"at_ms": 1,
"kind": "click",
"label": "<string>"
}
],
"chapters": [
{
"at_ms": 1,
"title": "<string>",
"description": "<string>"
}
],
"description": "<string>",
"duration_ms": 1,
"height": 2,
"kind": "recording",
"pages": [
"<string>"
],
"source": "browser",
"title": "<string>",
"width": 2,
"ending": "stopped",
"notes": [
"<string>"
]
},
"content_type": "image/png",
"created_at": "2023-11-07T05:31:56Z",
"head_sha": "<string>",
"hidden": {
"at": "2023-11-07T05:31:56Z",
"by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"hideable": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"public_url": "<string>",
"tracks": [
{
"byte_size": 26214400,
"format": "aether.cpu.v2",
"kind": "cpu",
"url": "<string>"
}
]
}
],
"pull_request": {
"html_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pr_number": 2,
"title": "<string>"
}
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}