Get Presentation Releases
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}', 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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}",
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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}"
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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}")
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{
"id": "<string>",
"number": 123,
"label": "<string>",
"notes": "<string>",
"createdAt": "<string>",
"createdBy": {
"id": "<string>",
"name": "<string>"
},
"presentationId": "<string>",
"projectId": "<string>",
"name": "<string>",
"document": {
"schemaVersion": 1,
"pageSize": "fluid",
"orientation": "portrait",
"settings": {
"typography": {
"heading": 103,
"paragraph": 103,
"product": 103
},
"board": {
"font": "<string>",
"background": {
"type": "color",
"value": "<string>"
},
"textColor": "<string>"
},
"product": {
"font": "<string>",
"textColor": "<string>",
"background": "<string>",
"cardFields": [
"name"
]
},
"footer": {
"enabled": true,
"text": "<string>",
"showPageNumbers": true
},
"watermark": {
"enabled": true,
"text": "<string>",
"opacity": 0.5
}
},
"slides": [
{
"id": "<string>",
"areaId": "<string>",
"items": [
{
"id": "<string>",
"x": 0,
"y": 0,
"w": 500000,
"h": 500000,
"z": 0,
"rotation": 123,
"type": "image",
"image": {
"uploadId": "<string>"
},
"name": "<string>",
"fit": "fit",
"flipX": true,
"crop": {
"x": 0,
"y": 0,
"w": 500000,
"h": 500000
}
}
]
}
]
},
"refs": {
"products": {},
"uploads": {},
"floorPlans": {}
}
}Presentation Releases
Get Presentation Releases
GET
/
v1
/
workspaces
/
{workspaceId}
/
presentations
/
{presentationId}
/
releases
/
{number}
Get Presentation Releases
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}import requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}', 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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}",
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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}"
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://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/presentations/{presentationId}/releases/{number}")
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{
"id": "<string>",
"number": 123,
"label": "<string>",
"notes": "<string>",
"createdAt": "<string>",
"createdBy": {
"id": "<string>",
"name": "<string>"
},
"presentationId": "<string>",
"projectId": "<string>",
"name": "<string>",
"document": {
"schemaVersion": 1,
"pageSize": "fluid",
"orientation": "portrait",
"settings": {
"typography": {
"heading": 103,
"paragraph": 103,
"product": 103
},
"board": {
"font": "<string>",
"background": {
"type": "color",
"value": "<string>"
},
"textColor": "<string>"
},
"product": {
"font": "<string>",
"textColor": "<string>",
"background": "<string>",
"cardFields": [
"name"
]
},
"footer": {
"enabled": true,
"text": "<string>",
"showPageNumbers": true
},
"watermark": {
"enabled": true,
"text": "<string>",
"opacity": 0.5
}
},
"slides": [
{
"id": "<string>",
"areaId": "<string>",
"items": [
{
"id": "<string>",
"x": 0,
"y": 0,
"w": 500000,
"h": 500000,
"z": 0,
"rotation": 123,
"type": "image",
"image": {
"uploadId": "<string>"
},
"name": "<string>",
"fit": "fit",
"flipX": true,
"crop": {
"x": 0,
"y": 0,
"w": 500000,
"h": 500000
}
}
]
}
]
},
"refs": {
"products": {},
"uploads": {},
"floorPlans": {}
}
}Response
200 - application/json
⌘I