curl -X GET \
-H "Authorization: [[apiKey]]" \
-H "Accept: application/json" \
"http://localhost/api/observations/?cursor=cursor_example&end=2013-10-20T19:20:30+01:00&end__gt=2013-10-20T19:20:30+01:00&ground_station=56&id=56&norad_cat_id=8.14&observation_id=&observer=56&sat_id=satId_example&start=2013-10-20T19:20:30+01:00&start__lt=2013-10-20T19:20:30+01:00&status=56&transmitter_mode=transmitterMode_example&transmitter_type=transmitterType_example&transmitter_uuid=transmitterUuid_example&vetted_status=56&vetted_user=56&waterfall_status=true"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ObservationsApi;
import java.io.File;
import java.util.*;
public class ObservationsApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: tokenAuth
ApiKeyAuth tokenAuth = (ApiKeyAuth) defaultClient.getAuthentication("tokenAuth");
tokenAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tokenAuth.setApiKeyPrefix("Token");
// Create an instance of the API class
ObservationsApi apiInstance = new ObservationsApi();
String cursor = cursor_example; // String | The pagination cursor value.
Date end = 2013-10-20T19:20:30+01:00; // Date |
Date endGt = 2013-10-20T19:20:30+01:00; // Date |
Integer groundStation = 56; // Integer |
Integer id = 56; // Integer |
BigDecimal noradCatId = 8.14; // BigDecimal | Norad ID
array[Integer] observationId = ; // array[Integer] | Multiple values may be separated by commas.
Integer observer = 56; // Integer | observer
String satId = satId_example; // String |
Date start = 2013-10-20T19:20:30+01:00; // Date |
Date startLt = 2013-10-20T19:20:30+01:00; // Date |
Integer status = 56; // Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good
String transmitterMode = transmitterMode_example; // String |
String transmitterType = transmitterType_example; // String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter
String transmitterUuid = transmitterUuid_example; // String |
Integer vettedStatus = 56; // Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good
Integer vettedUser = 56; // Integer | Vetted user (deprecated: will be removed in next version)
Boolean waterfallStatus = true; // Boolean | * `1` - With Signal
* `0` - Without Signal
try {
PaginatedObservationList result = apiInstance.observationsList(cursor, end, endGt, groundStation, id, noradCatId, observationId, observer, satId, start, startLt, status, transmitterMode, transmitterType, transmitterUuid, vettedStatus, vettedUser, waterfallStatus);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObservationsApi#observationsList");
e.printStackTrace();
}
}
}
import org.openapitools.client.api.ObservationsApi;
public class ObservationsApiExample {
public static void main(String[] args) {
ObservationsApi apiInstance = new ObservationsApi();
String cursor = cursor_example; // String | The pagination cursor value.
Date end = 2013-10-20T19:20:30+01:00; // Date |
Date endGt = 2013-10-20T19:20:30+01:00; // Date |
Integer groundStation = 56; // Integer |
Integer id = 56; // Integer |
BigDecimal noradCatId = 8.14; // BigDecimal | Norad ID
array[Integer] observationId = ; // array[Integer] | Multiple values may be separated by commas.
Integer observer = 56; // Integer | observer
String satId = satId_example; // String |
Date start = 2013-10-20T19:20:30+01:00; // Date |
Date startLt = 2013-10-20T19:20:30+01:00; // Date |
Integer status = 56; // Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good
String transmitterMode = transmitterMode_example; // String |
String transmitterType = transmitterType_example; // String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter
String transmitterUuid = transmitterUuid_example; // String |
Integer vettedStatus = 56; // Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good
Integer vettedUser = 56; // Integer | Vetted user (deprecated: will be removed in next version)
Boolean waterfallStatus = true; // Boolean | * `1` - With Signal
* `0` - Without Signal
try {
PaginatedObservationList result = apiInstance.observationsList(cursor, end, endGt, groundStation, id, noradCatId, observationId, observer, satId, start, startLt, status, transmitterMode, transmitterType, transmitterUuid, vettedStatus, vettedUser, waterfallStatus);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObservationsApi#observationsList");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: tokenAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
// Create an instance of the API class
ObservationsApi *apiInstance = [[ObservationsApi alloc] init];
String *cursor = cursor_example; // The pagination cursor value. (optional) (default to null)
Date *end = 2013-10-20T19:20:30+01:00; // (optional) (default to null)
Date *endGt = 2013-10-20T19:20:30+01:00; // (optional) (default to null)
Integer *groundStation = 56; // (optional) (default to null)
Integer *id = 56; // (optional) (default to null)
BigDecimal *noradCatId = 8.14; // Norad ID (optional) (default to null)
array[Integer] *observationId = ; // Multiple values may be separated by commas. (optional) (default to null)
Integer *observer = 56; // observer (optional) (default to null)
String *satId = satId_example; // (optional) (default to null)
Date *start = 2013-10-20T19:20:30+01:00; // (optional) (default to null)
Date *startLt = 2013-10-20T19:20:30+01:00; // (optional) (default to null)
Integer *status = 56; // * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good (optional) (default to null)
String *transmitterMode = transmitterMode_example; // (optional) (default to null)
String *transmitterType = transmitterType_example; // * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter (optional) (default to null)
String *transmitterUuid = transmitterUuid_example; // (optional) (default to null)
Integer *vettedStatus = 56; // Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good (optional) (default to null)
Integer *vettedUser = 56; // Vetted user (deprecated: will be removed in next version) (optional) (default to null)
Boolean *waterfallStatus = true; // * `1` - With Signal
* `0` - Without Signal (optional) (default to null)
[apiInstance observationsListWith:cursor
end:end
endGt:endGt
groundStation:groundStation
id:id
noradCatId:noradCatId
observationId:observationId
observer:observer
satId:satId
start:start
startLt:startLt
status:status
transmitterMode:transmitterMode
transmitterType:transmitterType
transmitterUuid:transmitterUuid
vettedStatus:vettedStatus
vettedUser:vettedUser
waterfallStatus:waterfallStatus
completionHandler: ^(PaginatedObservationList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OpenapiJsClient = require('openapi-js-client');
var defaultClient = OpenapiJsClient.ApiClient.instance;
// Configure API key authorization: tokenAuth
var tokenAuth = defaultClient.authentications['tokenAuth'];
tokenAuth.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tokenAuth.apiKeyPrefix['Authorization'] = "Token";
// Create an instance of the API class
var api = new OpenapiJsClient.ObservationsApi()
var opts = {
'cursor': cursor_example, // {String} The pagination cursor value.
'end': 2013-10-20T19:20:30+01:00, // {Date}
'endGt': 2013-10-20T19:20:30+01:00, // {Date}
'groundStation': 56, // {Integer}
'id': 56, // {Integer}
'noradCatId': 8.14, // {BigDecimal} Norad ID
'observationId': , // {array[Integer]} Multiple values may be separated by commas.
'observer': 56, // {Integer} observer
'satId': satId_example, // {String}
'start': 2013-10-20T19:20:30+01:00, // {Date}
'startLt': 2013-10-20T19:20:30+01:00, // {Date}
'status': 56, // {Integer} * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good
'transmitterMode': transmitterMode_example, // {String}
'transmitterType': transmitterType_example, // {String} * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter
'transmitterUuid': transmitterUuid_example, // {String}
'vettedStatus': 56, // {Integer} Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good
'vettedUser': 56, // {Integer} Vetted user (deprecated: will be removed in next version)
'waterfallStatus': true // {Boolean} * `1` - With Signal
* `0` - Without Signal
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.observationsList(opts, callback);
using System;
using System.Diagnostics;
using satnogsnetworkapiclient.Api;
using satnogsnetworkapiclient.Client;
using satnogsnetworkapiclient.Model;
namespace Example
{
public class observationsListExample
{
public void main()
{
// Configure API key authorization: tokenAuth
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
// Create an instance of the API class
var apiInstance = new ObservationsApi();
var cursor = cursor_example; // String | The pagination cursor value. (optional) (default to null)
var end = 2013-10-20T19:20:30+01:00; // Date | (optional) (default to null)
var endGt = 2013-10-20T19:20:30+01:00; // Date | (optional) (default to null)
var groundStation = 56; // Integer | (optional) (default to null)
var id = 56; // Integer | (optional) (default to null)
var noradCatId = 8.14; // BigDecimal | Norad ID (optional) (default to null)
var observationId = new array[Integer](); // array[Integer] | Multiple values may be separated by commas. (optional) (default to null)
var observer = 56; // Integer | observer (optional) (default to null)
var satId = satId_example; // String | (optional) (default to null)
var start = 2013-10-20T19:20:30+01:00; // Date | (optional) (default to null)
var startLt = 2013-10-20T19:20:30+01:00; // Date | (optional) (default to null)
var status = 56; // Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good (optional) (default to null)
var transmitterMode = transmitterMode_example; // String | (optional) (default to null)
var transmitterType = transmitterType_example; // String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter (optional) (default to null)
var transmitterUuid = transmitterUuid_example; // String | (optional) (default to null)
var vettedStatus = 56; // Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good (optional) (default to null)
var vettedUser = 56; // Integer | Vetted user (deprecated: will be removed in next version) (optional) (default to null)
var waterfallStatus = true; // Boolean | * `1` - With Signal
* `0` - Without Signal (optional) (default to null)
try {
PaginatedObservationList result = apiInstance.observationsList(cursor, end, endGt, groundStation, id, noradCatId, observationId, observer, satId, start, startLt, status, transmitterMode, transmitterType, transmitterUuid, vettedStatus, vettedUser, waterfallStatus);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ObservationsApi.observationsList: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: tokenAuth
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ObservationsApi();
$cursor = cursor_example; // String | The pagination cursor value.
$end = 2013-10-20T19:20:30+01:00; // Date |
$endGt = 2013-10-20T19:20:30+01:00; // Date |
$groundStation = 56; // Integer |
$id = 56; // Integer |
$noradCatId = 8.14; // BigDecimal | Norad ID
$observationId = ; // array[Integer] | Multiple values may be separated by commas.
$observer = 56; // Integer | observer
$satId = satId_example; // String |
$start = 2013-10-20T19:20:30+01:00; // Date |
$startLt = 2013-10-20T19:20:30+01:00; // Date |
$status = 56; // Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good
$transmitterMode = transmitterMode_example; // String |
$transmitterType = transmitterType_example; // String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter
$transmitterUuid = transmitterUuid_example; // String |
$vettedStatus = 56; // Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good
$vettedUser = 56; // Integer | Vetted user (deprecated: will be removed in next version)
$waterfallStatus = true; // Boolean | * `1` - With Signal
* `0` - Without Signal
try {
$result = $api_instance->observationsList($cursor, $end, $endGt, $groundStation, $id, $noradCatId, $observationId, $observer, $satId, $start, $startLt, $status, $transmitterMode, $transmitterType, $transmitterUuid, $vettedStatus, $vettedUser, $waterfallStatus);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObservationsApi->observationsList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ObservationsApi;
# Configure API key authorization: tokenAuth
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ObservationsApi->new();
my $cursor = cursor_example; # String | The pagination cursor value.
my $end = 2013-10-20T19:20:30+01:00; # Date |
my $endGt = 2013-10-20T19:20:30+01:00; # Date |
my $groundStation = 56; # Integer |
my $id = 56; # Integer |
my $noradCatId = 8.14; # BigDecimal | Norad ID
my $observationId = []; # array[Integer] | Multiple values may be separated by commas.
my $observer = 56; # Integer | observer
my $satId = satId_example; # String |
my $start = 2013-10-20T19:20:30+01:00; # Date |
my $startLt = 2013-10-20T19:20:30+01:00; # Date |
my $status = 56; # Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good
my $transmitterMode = transmitterMode_example; # String |
my $transmitterType = transmitterType_example; # String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter
my $transmitterUuid = transmitterUuid_example; # String |
my $vettedStatus = 56; # Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good
my $vettedUser = 56; # Integer | Vetted user (deprecated: will be removed in next version)
my $waterfallStatus = true; # Boolean | * `1` - With Signal
* `0` - Without Signal
eval {
my $result = $api_instance->observationsList(cursor => $cursor, end => $end, endGt => $endGt, groundStation => $groundStation, id => $id, noradCatId => $noradCatId, observationId => $observationId, observer => $observer, satId => $satId, start => $start, startLt => $startLt, status => $status, transmitterMode => $transmitterMode, transmitterType => $transmitterType, transmitterUuid => $transmitterUuid, vettedStatus => $vettedStatus, vettedUser => $vettedUser, waterfallStatus => $waterfallStatus);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObservationsApi->observationsList: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: tokenAuth
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'
# Create an instance of the API class
api_instance = openapi_client.ObservationsApi()
cursor = cursor_example # String | The pagination cursor value. (optional) (default to null)
end = 2013-10-20T19:20:30+01:00 # Date | (optional) (default to null)
endGt = 2013-10-20T19:20:30+01:00 # Date | (optional) (default to null)
groundStation = 56 # Integer | (optional) (default to null)
id = 56 # Integer | (optional) (default to null)
noradCatId = 8.14 # BigDecimal | Norad ID (optional) (default to null)
observationId = # array[Integer] | Multiple values may be separated by commas. (optional) (default to null)
observer = 56 # Integer | observer (optional) (default to null)
satId = satId_example # String | (optional) (default to null)
start = 2013-10-20T19:20:30+01:00 # Date | (optional) (default to null)
startLt = 2013-10-20T19:20:30+01:00 # Date | (optional) (default to null)
status = 56 # Integer | * `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `future` - Future
* `good` - Good (optional) (default to null)
transmitterMode = transmitterMode_example # String | (optional) (default to null)
transmitterType = transmitterType_example # String | * `Transmitter` - Transmitter
* `Transceiver` - Transceiver
* `Transponder` - Transponder
* `Range transmitter` - Range transmitter (optional) (default to null)
transmitterUuid = transmitterUuid_example # String | (optional) (default to null)
vettedStatus = 56 # Integer | Vetted status (deprecated: please use Status)
* `failed` - Failed
* `bad` - Bad
* `unknown` - Unknown
* `good` - Good (optional) (default to null)
vettedUser = 56 # Integer | Vetted user (deprecated: will be removed in next version) (optional) (default to null)
waterfallStatus = true # Boolean | * `1` - With Signal
* `0` - Without Signal (optional) (default to null)
try:
api_response = api_instance.observations_list(cursor=cursor, end=end, endGt=endGt, groundStation=groundStation, id=id, noradCatId=noradCatId, observationId=observationId, observer=observer, satId=satId, start=start, startLt=startLt, status=status, transmitterMode=transmitterMode, transmitterType=transmitterType, transmitterUuid=transmitterUuid, vettedStatus=vettedStatus, vettedUser=vettedUser, waterfallStatus=waterfallStatus)
pprint(api_response)
except ApiException as e:
print("Exception when calling ObservationsApi->observationsList: %s\n" % e)
extern crate ObservationsApi;
pub fn main() {
let cursor = cursor_example; // String
let end = 2013-10-20T19:20:30+01:00; // Date
let endGt = 2013-10-20T19:20:30+01:00; // Date
let groundStation = 56; // Integer
let id = 56; // Integer
let noradCatId = 8.14; // BigDecimal
let observationId = ; // array[Integer]
let observer = 56; // Integer
let satId = satId_example; // String
let start = 2013-10-20T19:20:30+01:00; // Date
let startLt = 2013-10-20T19:20:30+01:00; // Date
let status = 56; // Integer
let transmitterMode = transmitterMode_example; // String
let transmitterType = transmitterType_example; // String
let transmitterUuid = transmitterUuid_example; // String
let vettedStatus = 56; // Integer
let vettedUser = 56; // Integer
let waterfallStatus = true; // Boolean
let mut context = ObservationsApi::Context::default();
let result = client.observationsList(cursor, end, endGt, groundStation, id, noradCatId, observationId, observer, satId, start, startLt, status, transmitterMode, transmitterType, transmitterUuid, vettedStatus, vettedUser, waterfallStatus, &context).wait();
println!("{:?}", result);
}