All URIs are relative to http://orion.lab.fiware.org:1026/v2
Method | HTTP request | Description |
---|---|---|
retrieveAPIResources | GET / |
APIEntryPoint retrieveAPIResources()
This resource does not have any attributes. Instead it offers the initial API affordances in the form of the links in the JSON body. It is recommended to follow the “url” link values, Link or Location headers where applicable to retrieve resources. Instead of constructing your own URLs, to keep your client decoupled from implementation details.
var NgsiV2 = require('ngsi_v2');
var defaultClient = NgsiV2.ApiClient.instance;
// Configure API key authorization: fiware_token
var fiware_token = defaultClient.authentications['fiware_token'];
fiware_token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//fiware_token.apiKeyPrefix = 'Token';
var apiInstance = new NgsiV2.APIEntryPointApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.retrieveAPIResources(callback);
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json