@coscine/api-connection
Advanced tools
Comparing version 1.8.0 to 1.9.0
@@ -139,3 +139,3 @@ var axios = require('axios'); | ||
function getResourceApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/Resource/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Resources/Resource/'); | ||
} | ||
@@ -195,3 +195,5 @@ var ResourceApi = /** @class */ (function () { | ||
function getResourceTypeApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/ResourceType/'); | ||
return ('https://' + | ||
apiConnectionBasic.getHostName() + | ||
'/coscine/api/Coscine.Api.Resources/ResourceType/'); | ||
} | ||
@@ -320,3 +322,3 @@ var ResourceTypeApi = /** @class */ (function () { | ||
function getDataSourceApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/DataSource/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.File/DataSource/'); | ||
} | ||
@@ -487,3 +489,3 @@ var DataSourceApi = /** @class */ (function () { | ||
function getMetadataApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/Metadata/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Metadata/Metadata/'); | ||
} | ||
@@ -490,0 +492,0 @@ var MetadataApi = /** @class */ (function () { |
@@ -145,3 +145,3 @@ (function (global, factory) { | ||
function getResourceApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/Resource/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Resources/Resource/'); | ||
} | ||
@@ -201,3 +201,5 @@ var ResourceApi = /** @class */ (function () { | ||
function getResourceTypeApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/ResourceType/'); | ||
return ('https://' + | ||
apiConnectionBasic.getHostName() + | ||
'/coscine/api/Coscine.Api.Resources/ResourceType/'); | ||
} | ||
@@ -326,3 +328,3 @@ var ResourceTypeApi = /** @class */ (function () { | ||
function getDataSourceApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/DataSource/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.File/DataSource/'); | ||
} | ||
@@ -493,3 +495,3 @@ var DataSourceApi = /** @class */ (function () { | ||
function getMetadataApiUrl() { | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Project/Metadata/'); | ||
return ('https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.Metadata/Metadata/'); | ||
} | ||
@@ -496,0 +498,0 @@ var MetadataApi = /** @class */ (function () { |
@@ -7,3 +7,3 @@ "use strict"; | ||
function getDataSourceApiUrl() { | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Project/DataSource/'); | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.File/DataSource/'); | ||
} | ||
@@ -10,0 +10,0 @@ var DataSourceApi = /** @class */ (function () { |
@@ -6,3 +6,3 @@ "use strict"; | ||
function getMetadataApiUrl() { | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Project/Metadata/'); | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Metadata/Metadata/'); | ||
} | ||
@@ -9,0 +9,0 @@ var MetadataApi = /** @class */ (function () { |
@@ -6,3 +6,3 @@ "use strict"; | ||
function getResourceApiUrl() { | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Project/Resource/'); | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Resources/Resource/'); | ||
} | ||
@@ -9,0 +9,0 @@ var ResourceApi = /** @class */ (function () { |
@@ -6,3 +6,5 @@ "use strict"; | ||
function getResourceTypeApiUrl() { | ||
return ('https://' + api_connection_basic_1.default.getHostName() + '/coscine/api/Coscine.Api.Project/ResourceType/'); | ||
return ('https://' + | ||
api_connection_basic_1.default.getHostName() + | ||
'/coscine/api/Coscine.Api.Resources/ResourceType/'); | ||
} | ||
@@ -9,0 +11,0 @@ var ResourceTypeApi = /** @class */ (function () { |
{ | ||
"name": "@coscine/api-connection", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "This library provides methods to connect to CoScInE Apis with JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
269729
2085