You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openeo.d.ts
+52-1Lines changed: 52 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -395,6 +395,12 @@ declare module OpenEO {
395
395
* @returns {Array.<Link>} Array of link objects (href, title, rel, type)
396
396
*/
397
397
links(): Array<Link>;
398
+
/**
399
+
* Returns list of backends in the federation.
400
+
*
401
+
* @returns {Array.<FederationBackend>} Array of backends
402
+
*/
403
+
listFederation(): Array<FederationBackend>;
398
404
/**
399
405
* Lists all supported features.
400
406
*
@@ -646,7 +652,7 @@ declare module OpenEO {
646
652
* @public
647
653
* @type {Array.<string>}
648
654
*/
649
-
public'federation:missing': Array<string>;
655
+
public"federation:missing": Array<string>;
650
656
/**
651
657
* Returns the file types response as a JSON serializable representation of the data that is API compliant.
652
658
*
@@ -2635,6 +2641,10 @@ declare module OpenEO {
2635
2641
exporttypeCollections={
2636
2642
collections: Array<Collection>;
2637
2643
links: Array<Link>;
2644
+
/**
2645
+
* "federation:missing"] A list of backends from the federation that are missing in the response data.
2646
+
*/
2647
+
"federation:missing": Array<string>;
2638
2648
};
2639
2649
exporttypeCollection=object<string,any>;
2640
2650
exporttypeFileTypesAPI={
@@ -2815,11 +2825,52 @@ declare module OpenEO {
2815
2825
* EXPERIMENTAL!
2816
2826
*/
2817
2827
namespaces: Array<string>|null;
2828
+
/**
2829
+
* "federation:missing"] A list of backends from the federation that are missing in the response data.
2830
+
*/
2831
+
"federation:missing": Array<string>;
2818
2832
};
2819
2833
/**
2820
2834
* An openEO processing chain.
2821
2835
*/
2822
2836
exporttypeProcess=object<string,any>;
2837
+
/**
2838
+
* An array of backends in the federation.
2839
+
*/
2840
+
exporttypeFederationBackend={
2841
+
/**
2842
+
* URL to the versioned API endpoint of the back-end.
2843
+
*/
2844
+
url: string;
2845
+
/**
2846
+
* Name of the back-end.
2847
+
*/
2848
+
title: string;
2849
+
/**
2850
+
* A description of the back-end and its specifics.
2851
+
*/
2852
+
description: string;
2853
+
/**
2854
+
* Current status of the back-ends (online or offline).
2855
+
*/
2856
+
status: string;
2857
+
/**
2858
+
* The time at which the status of the back-end was checked last, formatted as a RFC 3339 date-time.
2859
+
*/
2860
+
last_status_check: string;
2861
+
/**
2862
+
* If the `status` is `offline`: The time at which the back-end was checked and available the last time. Otherwise, this is equal to the property `last_status_check`. Formatted as a RFC 3339 date-time.
2863
+
*/
2864
+
last_successful_check: string;
2865
+
/**
2866
+
* Declares the back-end to be experimental.
2867
+
*/
2868
+
experimental: boolean;
2869
+
/**
2870
+
* Declares the back-end to be deprecated.
2871
+
*/
2872
+
deprecated: boolean;
2873
+
};
2823
2874
/**
2824
2875
* An array, but enriched with additional details from an openEO API response.
* @property {Array.<string>} ["federation:missing"] A list of backends from the federation that are missing in the response data.
187
189
*/
188
190
189
191
/**
@@ -193,6 +195,21 @@
193
195
* @type {object.<string, *>}
194
196
*/
195
197
198
+
/**
199
+
* An array of backends in the federation.
200
+
*
201
+
* @typedef FederationBackend
202
+
* @type {Object}
203
+
* @property {string} url URL to the versioned API endpoint of the back-end.
204
+
* @property {string} title Name of the back-end.
205
+
* @property {string} description A description of the back-end and its specifics.
206
+
* @property {string} status Current status of the back-ends (online or offline).
207
+
* @property {string} last_status_check The time at which the status of the back-end was checked last, formatted as a RFC 3339 date-time.
208
+
* @property {string} last_successful_check If the `status` is `offline`: The time at which the back-end was checked and available the last time. Otherwise, this is equal to the property `last_status_check`. Formatted as a RFC 3339 date-time.
209
+
* @property {boolean} experimental Declares the back-end to be experimental.
210
+
* @property {boolean} deprecated Declares the back-end to be deprecated.
211
+
*/
212
+
196
213
/**
197
214
* An array, but enriched with additional details from an openEO API response.
0 commit comments