-
Notifications
You must be signed in to change notification settings - Fork 2
Backend: Endpoints
Christina Ludwig edited this page Jun 19, 2022
·
1 revision
Authentication levels:
- public: No authentication needed
- log_in_user: User must be authenticated by sending valid JWT Token in header.
- log_in_representative: User must be authenticated and be the representative of their group.
These mutations were implemneted using the graphql-auth packages. So they should be working.
Name | Status | Tested | Authentication level |
---|---|---|---|
register | ✅ | ✅ | public |
verify_account | ✅ | ✅ | public |
resend_activation_email | ✅ | public | |
send_password_reset_email | ✅ | public | |
password_reset | ✅ | public | |
password_set | ✅ | log_in_user | |
password_change | ✅ | log_in_user | |
update_account | ✅ | ✅ | log_in_user |
archive_account | ✅ | log_in_user | |
delete_account | ✅ | ✅ | log_in_user |
send_secondary_email_activation | ✅ | log_in_user | |
verify_secondary_email | ✅ | log_in_user | |
swap_emails | ✅ | log_in_user | |
remove_secondary_email | ✅ | log_in_user | |
token_auth (Log in) | ✅ | public | |
verify_token | ✅ | public | |
refresh_token | ✅ | public | |
revoke_token | ✅ | public |
Name | Status | Tested | Authentication level |
---|---|---|---|
create_working_group | ✅ | ✅ | log_in_user |
update_working_group | log_in_representative | ||
set_working_group | ✅ | ✅ | log_in_user |
institutions | ✅ | ✅ | log_in_user |
working_groups | ✅ | ✅ | log_in_user |
researchfields | ✅ | ✅ | log_in_user |
Name | Status | Tested | Authentication level |
---|---|---|---|
create_heating | ✅ | ✅ | log_in_representative |
create_electricity | ✅ | ✅ | log_in_representative |
create_businesstrip | ✅ | ✅ | log_in_user |
create_commuting | ✅ | ✅ | log_in_user |
resolve_businesstrips | ✅ | log_in_user | |
resolve_electricities | ✅ | log_in_user | |
resolve_heatings | ✅ | log_in_user | |
resolve_commutings | ✅ | log_in_user | |
resolve_heating_aggregated | ✅ | ✅ | log_in_user |
resolve_electricity_aggregated | ✅ | ✅ | log_in_user |
resolve_businesstrip_aggregated | ✅ | ✅ | log_in_user |
resolve_commuting_aggregated | ✅ | ✅ | log_in_user |
total_emissions | ✅ | ✅ | public |
Name | Status | Tested | Authentication level |
---|---|---|---|
delete_heating | log_in_representative | ||
delete_electricity | log_in_representative | ||
delete_businesstrip | log_in_user | ||
delete_commuting | log_in_user | ||
update_heating | log_in_representative | ||
update_electricity | log_in_representative | ||
update_businesstrip | log_in_user | ||
update_commuting | log_in_user |