collectionsCollectionIdGet
individual point collection
A FeatureCollection (Geometry Point) with all GNSS measures of a track
/collections/{CollectionId}
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json,text/html"\
"https://mtlom-hiaaa-aaaah-abtkq-cai.raw.ic0.app//collections/{CollectionId}?f="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CollectionDescriptionApi;
import java.io.File;
import java.util.*;
public class CollectionDescriptionApiExample {
public static void main(String[] args) {
CollectionDescriptionApi apiInstance = new CollectionDescriptionApi();
String collectionId = collectionId_example; // String | the Id of the collection
String f = f_example; // String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
try {
Collection result = apiInstance.collectionsCollectionIdGet(collectionId, f);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CollectionDescriptionApi#collectionsCollectionIdGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CollectionDescriptionApi;
public class CollectionDescriptionApiExample {
public static void main(String[] args) {
CollectionDescriptionApi apiInstance = new CollectionDescriptionApi();
String collectionId = collectionId_example; // String | the Id of the collection
String f = f_example; // String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
try {
Collection result = apiInstance.collectionsCollectionIdGet(collectionId, f);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CollectionDescriptionApi#collectionsCollectionIdGet");
e.printStackTrace();
}
}
}
String *collectionId = collectionId_example; // the Id of the collection
String *f = f_example; // Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format. (optional)
CollectionDescriptionApi *apiInstance = [[CollectionDescriptionApi alloc] init];
// individual point collection
[apiInstance collectionsCollectionIdGetWith:collectionId
f:f
completionHandler: ^(Collection output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TestinstanceForIgcFlightTracks = require('testinstance_for_igc_flight_tracks');
var api = new TestinstanceForIgcFlightTracks.CollectionDescriptionApi()
var collectionId = collectionId_example; // {{String}} the Id of the collection
var opts = {
'f': f_example // {{String}} Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.collectionsCollectionIdGet(collectionId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class collectionsCollectionIdGetExample
{
public void main()
{
var apiInstance = new CollectionDescriptionApi();
var collectionId = collectionId_example; // String | the Id of the collection
var f = f_example; // String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format. (optional)
try
{
// individual point collection
Collection result = apiInstance.collectionsCollectionIdGet(collectionId, f);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CollectionDescriptionApi.collectionsCollectionIdGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiCollectionDescriptionApi();
$collectionId = collectionId_example; // String | the Id of the collection
$f = f_example; // String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
try {
$result = $api_instance->collectionsCollectionIdGet($collectionId, $f);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CollectionDescriptionApi->collectionsCollectionIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CollectionDescriptionApi;
my $api_instance = WWW::SwaggerClient::CollectionDescriptionApi->new();
my $collectionId = collectionId_example; # String | the Id of the collection
my $f = f_example; # String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
eval {
my $result = $api_instance->collectionsCollectionIdGet(collectionId => $collectionId, f => $f);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CollectionDescriptionApi->collectionsCollectionIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CollectionDescriptionApi()
collectionId = collectionId_example # String | the Id of the collection
f = f_example # String | Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format. (optional)
try:
# individual point collection
api_response = api_instance.collections_collection_id_get(collectionId, f=f)
pprint(api_response)
except ApiException as e:
print("Exception when calling CollectionDescriptionApi->collectionsCollectionIdGet: %s\n" % e)
Parameters
Name | Description |
---|---|
collectionId* |
String
the Id of the collection
Required
|
Name | Description |
---|---|
f |
String
Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the accept header will be used to determine the format.
|