github.com/cs3org/reva/v2@v2.27.7/pkg/siteacc/config/endpoints.go (about) 1 // Copyright 2018-2020 CERN 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 // 15 // In applying this license, CERN does not waive the privileges and immunities 16 // granted to it by virtue of its status as an Intergovernmental Organization 17 // or submit itself to any jurisdiction. 18 19 package config 20 21 const ( 22 // EndpointAdministration is the endpoint path of the web interface administration panel. 23 EndpointAdministration = "/admin" 24 // EndpointAccount is the endpoint path of the web interface account panel. 25 EndpointAccount = "/account" 26 27 // EndpointList is the endpoint path for listing all stored accounts. 28 EndpointList = "/list" 29 // EndpointFind is the endpoint path for finding accounts. 30 EndpointFind = "/find" 31 32 // EndpointCreate is the endpoint path for account creation. 33 EndpointCreate = "/create" 34 // EndpointUpdate is the endpoint path for account updates. 35 EndpointUpdate = "/update" 36 // EndpointConfigure is the endpoint path for account configuration. 37 EndpointConfigure = "/configure" 38 // EndpointRemove is the endpoint path for account removal. 39 EndpointRemove = "/remove" 40 41 // EndpointSiteGet is the endpoint path for retrieving site data. 42 EndpointSiteGet = "/site-get" 43 // EndpointSiteConfigure is the endpoint path for site configuration. 44 EndpointSiteConfigure = "/site-configure" 45 46 // EndpointLogin is the endpoint path for (internal) user login. 47 EndpointLogin = "/login" 48 // EndpointLogout is the endpoint path for (internal) user logout. 49 EndpointLogout = "/logout" 50 // EndpointResetPassword is the endpoint path for resetting user passwords 51 EndpointResetPassword = "/reset-password" 52 // EndpointContact is the endpoint path for sending contact emails 53 EndpointContact = "/contact" 54 55 // EndpointVerifyUserToken is the endpoint path for user token validation. 56 EndpointVerifyUserToken = "/verify-user-token" 57 58 // EndpointGrantSiteAccess is the endpoint path for granting or revoking Site access. 59 EndpointGrantSiteAccess = "/grant-site-access" 60 // EndpointGrantGOCDBAccess is the endpoint path for granting or revoking GOCDB access. 61 EndpointGrantGOCDBAccess = "/grant-gocdb-access" 62 63 // EndpointDispatchAlert is the endpoint path for dispatching alerts from Prometheus. 64 EndpointDispatchAlert = "/dispatch-alert" 65 )