Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • Product/1107-frontendPerformance
  • Product/1180-genericOrganizationMembershipFunction
  • Product/1215-gitlabCleanUp
  • Product/1440-largerFiles
  • Product/1442-projectInviteMngmnt
  • Product/1573-ReadOnlyResources
  • Product/588-quotaManagement
  • Product/789-userContactEmail
  • Product/917-maintenanceFunctionality
  • Sprint/2021-01
  • Sprint/2021-02
  • Sprint/2021-04
  • Sprint/2021-06
  • Sprint/2021-07
  • Sprint/2021-09
  • Sprint/2021-15
  • Sprint/2022-01
  • Topic/1227-frontendPerformance
  • Topic/1280-quotaManagementUI
  • Topic/1281-genericOrganizationMembershipFunction
  • Topic/1295-contactChangeUi
  • Topic/1297-maintenanceBanner
  • Topic/1451-uploadUrl
  • Topic/1452-largerFiles
  • Topic/1528-projectInviteAPIcon
  • Topic/1529-HandleExternalUserInvitation
  • Topic/1594-SetReadOnlyResources
  • dev
  • gitkeep
  • master
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.1.1
  • v1.10.0
  • v1.11.0
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.15.0
  • v1.16.0
  • v1.17.0
  • v1.17.1
  • v1.18.0
  • v1.18.1
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.21.0
  • v1.22.0
  • v1.23.0
  • v1.23.1
  • v1.24.0
  • v1.24.1
  • v1.24.2
  • v1.25.0
  • v1.26.0
  • v1.27.0
  • v1.28.0
  • v1.29.0
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.30.0
  • v1.31.0
  • v1.4.0
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.8.0
  • v1.9.0
71 results

Target

Select target project
  • coscine/frontend/libraries/api-connection
1 result
Select Git revision
  • Product/1107-frontendPerformance
  • Product/1180-genericOrganizationMembershipFunction
  • Product/1215-gitlabCleanUp
  • Product/1440-largerFiles
  • Product/1442-projectInviteMngmnt
  • Product/1573-ReadOnlyResources
  • Product/588-quotaManagement
  • Product/789-userContactEmail
  • Product/917-maintenanceFunctionality
  • Sprint/2021-01
  • Sprint/2021-02
  • Sprint/2021-04
  • Sprint/2021-06
  • Sprint/2021-07
  • Sprint/2021-09
  • Sprint/2021-15
  • Sprint/2022-01
  • Topic/1227-frontendPerformance
  • Topic/1280-quotaManagementUI
  • Topic/1281-genericOrganizationMembershipFunction
  • Topic/1295-contactChangeUi
  • Topic/1297-maintenanceBanner
  • Topic/1451-uploadUrl
  • Topic/1452-largerFiles
  • Topic/1528-projectInviteAPIcon
  • Topic/1529-HandleExternalUserInvitation
  • Topic/1594-SetReadOnlyResources
  • dev
  • gitkeep
  • master
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.1.1
  • v1.10.0
  • v1.11.0
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.15.0
  • v1.16.0
  • v1.17.0
  • v1.17.1
  • v1.18.0
  • v1.18.1
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.21.0
  • v1.22.0
  • v1.23.0
  • v1.23.1
  • v1.24.0
  • v1.24.1
  • v1.24.2
  • v1.25.0
  • v1.26.0
  • v1.27.0
  • v1.28.0
  • v1.29.0
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.30.0
  • v1.31.0
  • v1.4.0
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.8.0
  • v1.9.0
71 results
Show changes
Commits on Source (5)
{
"name": "@coscine/api-connection",
"version": "1.26.0",
"version": "1.27.0",
"description": "This library provides methods to connect to CoScInE Apis with JavaScript.",
"keywords": [
"coscine",
......
export { ActivatedFeaturesApi } from './requests/activatedFeatures-api';
export { AdminApi } from './requests/admin-api';
export { BlobApi } from './requests/blob-api';
export { ContactChangeApi } from './requests/contactchange-api';
export { DisciplineApi } from './requests/discipline-api';
export { LanguageApi } from './requests/language-api';
export { LicenseApi } from './requests/license-api';
......
const axios = require('axios');
import apiConnectionBasic from '../basic/api-connection-basic';
function getContactChangeApiUrl() {
return (
'https://' + apiConnectionBasic.getHostName() + '/coscine/api/Coscine.Api.User/ContactChange/'
);
}
export class ContactChangeApi {
public static getStatus(
thenHandler: any = apiConnectionBasic.defaultThenHandler,
catchHandler: any = apiConnectionBasic.defaultOnCatch
) {
apiConnectionBasic.setHeader();
return axios
.get(getContactChangeApiUrl() + 'status')
.then(thenHandler)
.catch(catchHandler);
}
public static confirm(
token: string,
thenHandler: any = apiConnectionBasic.defaultThenHandler,
catchHandler: any = apiConnectionBasic.defaultOnCatch
) {
return axios
.get(getContactChangeApiUrl() + 'confirm/' + token)
.then(thenHandler)
.catch(catchHandler);
}
public static emailChange(
body: any,
thenHandler: any = apiConnectionBasic.defaultThenHandler,
catchHandler: any = apiConnectionBasic.defaultOnCatch
) {
apiConnectionBasic.setHeader();
const config = { headers: {'Content-Type': 'application/json'} };
return axios
.post(getContactChangeApiUrl() + 'emailchange', body, config)
.then(thenHandler)
.catch(catchHandler);
}
}
This diff is collapsed.