Register a new spacecraft
curl --request POST \
--url https://api.valar.space/operations/spacecraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"absorption": 0.4,
"bodyShape": "BOX",
"dragArea": 5,
"dragCoefficient": 2.2,
"launchMass": 500,
"name": "Sentinel-1A",
"reflectivityCoefficient": 1.5,
"specularReflection": 0.3,
"srpArea": 5,
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 500000,
"color": "#FF5733",
"cosparId": "2024-001A",
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"noradId": 43013,
"notYetCatalogued": true,
"panels": [
{
"absorption": 0.3,
"doubleSided": true,
"lengthM": 2,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5
}
],
"payloads": [
{
"boresight": "Z+",
"fovShape": "CONICAL",
"name": "EO Camera",
"positionX": 0.1,
"positionY": 0,
"positionZ": -0.2,
"focalLengthMm": 120,
"halfAngleDeg": 30,
"halfHeightDeg": 20,
"halfWidthDeg": 10,
"offNadirAlongTrackDeg": 18,
"offNadirCrossTrackDeg": 30,
"pixelPitchUm": 5.5,
"radiusDeg": 30,
"sides": 6
}
],
"prismAxis": "Z",
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismHeightM": 1,
"prismSides": 6
}
'import requests
url = "https://api.valar.space/operations/spacecraft"
payload = {
"absorption": 0.4,
"bodyShape": "BOX",
"dragArea": 5,
"dragCoefficient": 2.2,
"launchMass": 500,
"name": "Sentinel-1A",
"reflectivityCoefficient": 1.5,
"specularReflection": 0.3,
"srpArea": 5,
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 500000,
"color": "#FF5733",
"cosparId": "2024-001A",
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"noradId": 43013,
"notYetCatalogued": True,
"panels": [
{
"absorption": 0.3,
"doubleSided": True,
"lengthM": 2,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5
}
],
"payloads": [
{
"boresight": "Z+",
"fovShape": "CONICAL",
"name": "EO Camera",
"positionX": 0.1,
"positionY": 0,
"positionZ": -0.2,
"focalLengthMm": 120,
"halfAngleDeg": 30,
"halfHeightDeg": 20,
"halfWidthDeg": 10,
"offNadirAlongTrackDeg": 18,
"offNadirCrossTrackDeg": 30,
"pixelPitchUm": 5.5,
"radiusDeg": 30,
"sides": 6
}
],
"prismAxis": "Z",
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismHeightM": 1,
"prismSides": 6
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
absorption: 0.4,
bodyShape: 'BOX',
dragArea: 5,
dragCoefficient: 2.2,
launchMass: 500,
name: 'Sentinel-1A',
reflectivityCoefficient: 1.5,
specularReflection: 0.3,
srpArea: 5,
boxX: 1.5,
boxY: 1,
boxZ: 2,
catalogueNoradId: 500000,
color: '#FF5733',
cosparId: '2024-001A',
dryMass: 450,
externalKey: 'PARTNER-SAT-001',
inertiaIxx: 1500,
inertiaIyy: 1700,
inertiaIzz: 2100,
noradId: 43013,
notYetCatalogued: true,
panels: [
{
absorption: 0.3,
doubleSided: true,
lengthM: 2,
mountAxisPreset: 'PLUS_Z',
mountPositionX: -1.5,
mountPositionY: 0,
mountPositionZ: 0.25,
name: 'Port array',
rotationDeg: 90,
specularReflection: 0.2,
widthM: 1,
mountAxisCustomX: 0,
mountAxisCustomY: 0,
mountAxisCustomZ: 5
}
],
payloads: [
{
boresight: 'Z+',
fovShape: 'CONICAL',
name: 'EO Camera',
positionX: 0.1,
positionY: 0,
positionZ: -0.2,
focalLengthMm: 120,
halfAngleDeg: 30,
halfHeightDeg: 20,
halfWidthDeg: 10,
offNadirAlongTrackDeg: 18,
offNadirCrossTrackDeg: 30,
pixelPitchUm: 5.5,
radiusDeg: 30,
sides: 6
}
],
prismAxis: 'Z',
prismDiameter: 0.866025,
prismDiameterMeasure: 'INSCRIBED',
prismHeightM: 1,
prismSides: 6
})
};
fetch('https://api.valar.space/operations/spacecraft', 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.valar.space/operations/spacecraft",
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([
'absorption' => 0.4,
'bodyShape' => 'BOX',
'dragArea' => 5,
'dragCoefficient' => 2.2,
'launchMass' => 500,
'name' => 'Sentinel-1A',
'reflectivityCoefficient' => 1.5,
'specularReflection' => 0.3,
'srpArea' => 5,
'boxX' => 1.5,
'boxY' => 1,
'boxZ' => 2,
'catalogueNoradId' => 500000,
'color' => '#FF5733',
'cosparId' => '2024-001A',
'dryMass' => 450,
'externalKey' => 'PARTNER-SAT-001',
'inertiaIxx' => 1500,
'inertiaIyy' => 1700,
'inertiaIzz' => 2100,
'noradId' => 43013,
'notYetCatalogued' => true,
'panels' => [
[
'absorption' => 0.3,
'doubleSided' => true,
'lengthM' => 2,
'mountAxisPreset' => 'PLUS_Z',
'mountPositionX' => -1.5,
'mountPositionY' => 0,
'mountPositionZ' => 0.25,
'name' => 'Port array',
'rotationDeg' => 90,
'specularReflection' => 0.2,
'widthM' => 1,
'mountAxisCustomX' => 0,
'mountAxisCustomY' => 0,
'mountAxisCustomZ' => 5
]
],
'payloads' => [
[
'boresight' => 'Z+',
'fovShape' => 'CONICAL',
'name' => 'EO Camera',
'positionX' => 0.1,
'positionY' => 0,
'positionZ' => -0.2,
'focalLengthMm' => 120,
'halfAngleDeg' => 30,
'halfHeightDeg' => 20,
'halfWidthDeg' => 10,
'offNadirAlongTrackDeg' => 18,
'offNadirCrossTrackDeg' => 30,
'pixelPitchUm' => 5.5,
'radiusDeg' => 30,
'sides' => 6
]
],
'prismAxis' => 'Z',
'prismDiameter' => 0.866025,
'prismDiameterMeasure' => 'INSCRIBED',
'prismHeightM' => 1,
'prismSides' => 6
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.valar.space/operations/spacecraft"
payload := strings.NewReader("{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.valar.space/operations/spacecraft")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valar.space/operations/spacecraft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}"
response = http.request(request)
puts response.read_body{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}Spacecraft
Register a new spacecraft
Creates a spacecraft.
POST
/
operations
/
spacecraft
Register a new spacecraft
curl --request POST \
--url https://api.valar.space/operations/spacecraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"absorption": 0.4,
"bodyShape": "BOX",
"dragArea": 5,
"dragCoefficient": 2.2,
"launchMass": 500,
"name": "Sentinel-1A",
"reflectivityCoefficient": 1.5,
"specularReflection": 0.3,
"srpArea": 5,
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 500000,
"color": "#FF5733",
"cosparId": "2024-001A",
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"noradId": 43013,
"notYetCatalogued": true,
"panels": [
{
"absorption": 0.3,
"doubleSided": true,
"lengthM": 2,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5
}
],
"payloads": [
{
"boresight": "Z+",
"fovShape": "CONICAL",
"name": "EO Camera",
"positionX": 0.1,
"positionY": 0,
"positionZ": -0.2,
"focalLengthMm": 120,
"halfAngleDeg": 30,
"halfHeightDeg": 20,
"halfWidthDeg": 10,
"offNadirAlongTrackDeg": 18,
"offNadirCrossTrackDeg": 30,
"pixelPitchUm": 5.5,
"radiusDeg": 30,
"sides": 6
}
],
"prismAxis": "Z",
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismHeightM": 1,
"prismSides": 6
}
'import requests
url = "https://api.valar.space/operations/spacecraft"
payload = {
"absorption": 0.4,
"bodyShape": "BOX",
"dragArea": 5,
"dragCoefficient": 2.2,
"launchMass": 500,
"name": "Sentinel-1A",
"reflectivityCoefficient": 1.5,
"specularReflection": 0.3,
"srpArea": 5,
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 500000,
"color": "#FF5733",
"cosparId": "2024-001A",
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"noradId": 43013,
"notYetCatalogued": True,
"panels": [
{
"absorption": 0.3,
"doubleSided": True,
"lengthM": 2,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5
}
],
"payloads": [
{
"boresight": "Z+",
"fovShape": "CONICAL",
"name": "EO Camera",
"positionX": 0.1,
"positionY": 0,
"positionZ": -0.2,
"focalLengthMm": 120,
"halfAngleDeg": 30,
"halfHeightDeg": 20,
"halfWidthDeg": 10,
"offNadirAlongTrackDeg": 18,
"offNadirCrossTrackDeg": 30,
"pixelPitchUm": 5.5,
"radiusDeg": 30,
"sides": 6
}
],
"prismAxis": "Z",
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismHeightM": 1,
"prismSides": 6
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
absorption: 0.4,
bodyShape: 'BOX',
dragArea: 5,
dragCoefficient: 2.2,
launchMass: 500,
name: 'Sentinel-1A',
reflectivityCoefficient: 1.5,
specularReflection: 0.3,
srpArea: 5,
boxX: 1.5,
boxY: 1,
boxZ: 2,
catalogueNoradId: 500000,
color: '#FF5733',
cosparId: '2024-001A',
dryMass: 450,
externalKey: 'PARTNER-SAT-001',
inertiaIxx: 1500,
inertiaIyy: 1700,
inertiaIzz: 2100,
noradId: 43013,
notYetCatalogued: true,
panels: [
{
absorption: 0.3,
doubleSided: true,
lengthM: 2,
mountAxisPreset: 'PLUS_Z',
mountPositionX: -1.5,
mountPositionY: 0,
mountPositionZ: 0.25,
name: 'Port array',
rotationDeg: 90,
specularReflection: 0.2,
widthM: 1,
mountAxisCustomX: 0,
mountAxisCustomY: 0,
mountAxisCustomZ: 5
}
],
payloads: [
{
boresight: 'Z+',
fovShape: 'CONICAL',
name: 'EO Camera',
positionX: 0.1,
positionY: 0,
positionZ: -0.2,
focalLengthMm: 120,
halfAngleDeg: 30,
halfHeightDeg: 20,
halfWidthDeg: 10,
offNadirAlongTrackDeg: 18,
offNadirCrossTrackDeg: 30,
pixelPitchUm: 5.5,
radiusDeg: 30,
sides: 6
}
],
prismAxis: 'Z',
prismDiameter: 0.866025,
prismDiameterMeasure: 'INSCRIBED',
prismHeightM: 1,
prismSides: 6
})
};
fetch('https://api.valar.space/operations/spacecraft', 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.valar.space/operations/spacecraft",
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([
'absorption' => 0.4,
'bodyShape' => 'BOX',
'dragArea' => 5,
'dragCoefficient' => 2.2,
'launchMass' => 500,
'name' => 'Sentinel-1A',
'reflectivityCoefficient' => 1.5,
'specularReflection' => 0.3,
'srpArea' => 5,
'boxX' => 1.5,
'boxY' => 1,
'boxZ' => 2,
'catalogueNoradId' => 500000,
'color' => '#FF5733',
'cosparId' => '2024-001A',
'dryMass' => 450,
'externalKey' => 'PARTNER-SAT-001',
'inertiaIxx' => 1500,
'inertiaIyy' => 1700,
'inertiaIzz' => 2100,
'noradId' => 43013,
'notYetCatalogued' => true,
'panels' => [
[
'absorption' => 0.3,
'doubleSided' => true,
'lengthM' => 2,
'mountAxisPreset' => 'PLUS_Z',
'mountPositionX' => -1.5,
'mountPositionY' => 0,
'mountPositionZ' => 0.25,
'name' => 'Port array',
'rotationDeg' => 90,
'specularReflection' => 0.2,
'widthM' => 1,
'mountAxisCustomX' => 0,
'mountAxisCustomY' => 0,
'mountAxisCustomZ' => 5
]
],
'payloads' => [
[
'boresight' => 'Z+',
'fovShape' => 'CONICAL',
'name' => 'EO Camera',
'positionX' => 0.1,
'positionY' => 0,
'positionZ' => -0.2,
'focalLengthMm' => 120,
'halfAngleDeg' => 30,
'halfHeightDeg' => 20,
'halfWidthDeg' => 10,
'offNadirAlongTrackDeg' => 18,
'offNadirCrossTrackDeg' => 30,
'pixelPitchUm' => 5.5,
'radiusDeg' => 30,
'sides' => 6
]
],
'prismAxis' => 'Z',
'prismDiameter' => 0.866025,
'prismDiameterMeasure' => 'INSCRIBED',
'prismHeightM' => 1,
'prismSides' => 6
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.valar.space/operations/spacecraft"
payload := strings.NewReader("{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.valar.space/operations/spacecraft")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valar.space/operations/spacecraft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"absorption\": 0.4,\n \"bodyShape\": \"BOX\",\n \"dragArea\": 5,\n \"dragCoefficient\": 2.2,\n \"launchMass\": 500,\n \"name\": \"Sentinel-1A\",\n \"reflectivityCoefficient\": 1.5,\n \"specularReflection\": 0.3,\n \"srpArea\": 5,\n \"boxX\": 1.5,\n \"boxY\": 1,\n \"boxZ\": 2,\n \"catalogueNoradId\": 500000,\n \"color\": \"#FF5733\",\n \"cosparId\": \"2024-001A\",\n \"dryMass\": 450,\n \"externalKey\": \"PARTNER-SAT-001\",\n \"inertiaIxx\": 1500,\n \"inertiaIyy\": 1700,\n \"inertiaIzz\": 2100,\n \"noradId\": 43013,\n \"notYetCatalogued\": true,\n \"panels\": [\n {\n \"absorption\": 0.3,\n \"doubleSided\": true,\n \"lengthM\": 2,\n \"mountAxisPreset\": \"PLUS_Z\",\n \"mountPositionX\": -1.5,\n \"mountPositionY\": 0,\n \"mountPositionZ\": 0.25,\n \"name\": \"Port array\",\n \"rotationDeg\": 90,\n \"specularReflection\": 0.2,\n \"widthM\": 1,\n \"mountAxisCustomX\": 0,\n \"mountAxisCustomY\": 0,\n \"mountAxisCustomZ\": 5\n }\n ],\n \"payloads\": [\n {\n \"boresight\": \"Z+\",\n \"fovShape\": \"CONICAL\",\n \"name\": \"EO Camera\",\n \"positionX\": 0.1,\n \"positionY\": 0,\n \"positionZ\": -0.2,\n \"focalLengthMm\": 120,\n \"halfAngleDeg\": 30,\n \"halfHeightDeg\": 20,\n \"halfWidthDeg\": 10,\n \"offNadirAlongTrackDeg\": 18,\n \"offNadirCrossTrackDeg\": 30,\n \"pixelPitchUm\": 5.5,\n \"radiusDeg\": 30,\n \"sides\": 6\n }\n ],\n \"prismAxis\": \"Z\",\n \"prismDiameter\": 0.866025,\n \"prismDiameterMeasure\": \"INSCRIBED\",\n \"prismHeightM\": 1,\n \"prismSides\": 6\n}"
response = http.request(request)
puts response.read_body{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"absorption": 0.4,
"bodyShape": "BOX",
"boxX": 1.5,
"boxY": 1,
"boxZ": 2,
"catalogueNoradId": 123,
"color": "#FF5733",
"cosparId": "2024-001A",
"createdAt": "2023-11-07T05:31:56Z",
"dragArea": 5,
"dragCoefficient": 2.2,
"dryMass": 450,
"externalKey": "PARTNER-SAT-001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"inertiaIxx": 1500,
"inertiaIyy": 1700,
"inertiaIzz": 2100,
"launchMass": 500,
"lifecycleStatus": "Active",
"maneuverCapabilities": {
"allowedWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"availableManeuverPowerWatts": 123,
"blackoutWindows": [
{
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
],
"minimumManeuverSeparationSeconds": 123,
"schemaVersion": 123,
"thrusters": [
{
"alignmentError": {
"xRadians": 123,
"yRadians": 123,
"zRadians": 123
},
"allowedDirections": [
"RADIAL_OUT"
],
"combinedSteeringAllowed": true,
"dutyCycleWindowSeconds": 123,
"eclipsePolicy": "SUNLIGHT_ONLY",
"maximumDutyCycle": 123,
"minimumBurnSeconds": 123,
"minimumImpulseNewtonSeconds": 123,
"overheadBurns": [
{
"anchor": "BEFORE_MAIN_BURN",
"direction": "RADIAL_OUT",
"durationSeconds": 123,
"offsetSeconds": 123,
"thrusterId": "<string>"
}
],
"requiredPowerWatts": 123,
"settlingSeconds": 123,
"thrusterId": "<string>"
}
]
},
"name": "Sentinel-1A",
"noradId": 43013,
"notYetCatalogued": true,
"organizationId": "VALAR",
"panels": [
{
"absorption": 0.3,
"derivedNormal": {
"x": 1,
"y": 0,
"z": 0
},
"doubleSided": true,
"lengthM": 2,
"mountAxisCustomX": 0,
"mountAxisCustomY": 0,
"mountAxisCustomZ": 5,
"mountAxisPreset": "PLUS_Z",
"mountPositionX": -1.5,
"mountPositionY": 0,
"mountPositionZ": 0.25,
"name": "Port array",
"panelIndex": 0,
"rotationDeg": 90,
"specularReflection": 0.2,
"widthM": 1
}
],
"prismAxis": "Z",
"prismComplementaryDiameter": 1,
"prismDiameter": 0.866025,
"prismDiameterMeasure": "INSCRIBED",
"prismEdgeM": 0.5,
"prismHeightM": 1,
"prismSides": 6,
"reflectivityCoefficient": 1,
"specularReflection": 0.3,
"srpArea": 5,
"updatedAt": "2023-11-07T05:31:56Z"
}Body
application/json
Request payload for creating a new spacecraft
Response
Spacecraft successfully registered
Response containing spacecraft details
Was this page helpful?