Ephemeris
POST /filedrop/udl-attitudeset
Changed onService operation to take a single Attitude Set and many associated Onorbit Attitude records as a POST body for ingest into the database. A specific role is required to perform this service operation. Please contact the UDL team for assistance. </br> The following rules apply to this operation:
<h3> * Attitude Set numPoints value must correspond exactly to the number of Onorbit Attitude states associated with that Attitude Set. The numPoints value is checked against the actual posted number of states, and a mismatch will result in the post being rejected. * Attitude Set startTime and endTime must correspond to the earliest and latest state times, respectively, of the associated Onorbit Attitude states. * Either satNo, idOnOrbit, or origObjectId must be provided. The preferred option is to post with satNo for a cataloged object, and with (only) origObjectId for an unknown, uncataloged, or internal/test object. There are several cases for the logic associated with these fields: + If satNo is provided and correlates to a known UDL sat number then the idOnOrbit will be populated appropriately in addition to the satNo. + If satNo is provided and does not correlate to a known UDL sat number then the provided satNo value will be moved to the origObjectId field and satNo left null. + If origObjectId and a valid satNo or idOnOrbit are provided then both the satNo/idOnOrbit and origObjectId will maintain the provided values. + If only origObjectId is provided then origObjectId will be populated with the posted value. In this case, no checks are made against existing UDL sat numbers. </h3>Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/filedrop/udl-attitudeset
- Authnone declared
Request body
Example request
{
"id": "ATTITUDESET-ID",
"classificationMarking": "U",
"idOnOrbit": "41947",
"satNo": 41947,
"origObjectId": "D6593",
"type": "AEM",
"esId": "60f7a241-b7be-48d8-acf3-786670af53f9",
"asRef": [
"2ea97de6-4680-4767-a07e-35d16398ef60"
],
"idSensor": "a7e99418-b6d6-29ab-e767-440a989cce26",
"origSensorId": "ORIGSENSOR-ID",
"startTime": "2022-07-07T16:00:00.123456Z",
"endTime": "2022-07-07T18:00:00.654321Z",
"frame1": "SCBODY",
"frame2": "J2000",
"numPoints": 120,
"stepSize": 60,
"precAngleInit": 30.5,
"spinAngleInit": 25.5,
"eulerRotSeq": "123",
"attitudeList": [
{
"id": "ATTITUDEDATA-ID",
"classificationMarking": "U",
"asId": "773c9887-e931-42eb-8155-f0fbd227b235",
"idOnOrbit": "41947",
"satNo": 41947,
"origObjectId": "D6593",
"ts": "2022-03-07T14:51:39.653043Z",
"motionType": "PROSOL_MOTION",
"q1": 0.0312,
"q2": 0.7854,
"q3": 0.3916,
"qc": 0.4783,
"q1Dot": 0.0043,
"q2Dot": 0.06,
"q3Dot": 0.499,
"qcDot": 0.011,
"xAngle": [
139.753
],
"yAngle": [
25.066
],
"zAngle": [
-53.368
],
"xRate": [
0.105
],
"yRate": [
0.032
],
"zRate": [
0.022
],
"ra": -173.75,
"declination": 0.799,
"coningAngle": 0.1,
"precPeriod": 36.1,
"spinPeriod": 0.1,
"createdAt": "2022-07-05T12:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST",
"origNetwork": "OPS1"
}
],
"interpolator": "LINEAR",
"interpolatorDegree": 2,
"notes": "Notes for this attitude set",
"createdAt": "2022-07-05T12:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST",
"origNetwork": "OPS1"
}Response
Accepted
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
BasicAuthwas removed from the API
- info
Some revisions have not been checked yet.