2017-09-21 08:23:51 +00:00
|
|
|
angular.module('portainer')
|
|
|
|
.constant('API_ENDPOINT_AUTH', 'api/auth')
|
|
|
|
.constant('API_ENDPOINT_DOCKERHUB', 'api/dockerhub')
|
|
|
|
.constant('API_ENDPOINT_ENDPOINTS', 'api/endpoints')
|
2018-04-26 16:08:46 +00:00
|
|
|
.constant('API_ENDPOINT_ENDPOINT_GROUPS', 'api/endpoint_groups')
|
2018-08-21 18:40:42 +00:00
|
|
|
.constant('API_ENDPOINT_MOTD', 'api/motd')
|
2018-12-09 03:49:27 +00:00
|
|
|
.constant('API_ENDPOINT_EXTENSIONS', 'api/extensions')
|
2017-09-21 08:23:51 +00:00
|
|
|
.constant('API_ENDPOINT_REGISTRIES', 'api/registries')
|
|
|
|
.constant('API_ENDPOINT_RESOURCE_CONTROLS', 'api/resource_controls')
|
2018-11-06 22:59:21 +00:00
|
|
|
.constant('API_ENDPOINT_SCHEDULES', 'api/schedules')
|
2017-09-21 08:23:51 +00:00
|
|
|
.constant('API_ENDPOINT_SETTINGS', 'api/settings')
|
2018-06-11 13:13:19 +00:00
|
|
|
.constant('API_ENDPOINT_STACKS', 'api/stacks')
|
2017-09-21 08:23:51 +00:00
|
|
|
.constant('API_ENDPOINT_STATUS', 'api/status')
|
|
|
|
.constant('API_ENDPOINT_USERS', 'api/users')
|
2018-06-15 07:18:25 +00:00
|
|
|
.constant('API_ENDPOINT_TAGS', 'api/tags')
|
2017-09-21 08:23:51 +00:00
|
|
|
.constant('API_ENDPOINT_TEAMS', 'api/teams')
|
|
|
|
.constant('API_ENDPOINT_TEAM_MEMBERSHIPS', 'api/team_memberships')
|
|
|
|
.constant('API_ENDPOINT_TEMPLATES', 'api/templates')
|
2018-09-03 10:08:03 +00:00
|
|
|
.constant('API_ENDPOINT_WEBHOOKS', 'api/webhooks')
|
2017-09-21 08:23:51 +00:00
|
|
|
.constant('DEFAULT_TEMPLATES_URL', 'https://raw.githubusercontent.com/portainer/templates/master/templates.json')
|
2017-12-21 18:49:39 +00:00
|
|
|
.constant('PAGINATION_MAX_ITEMS', 10)
|
2018-08-18 08:31:01 +00:00
|
|
|
.constant('APPLICATION_CACHE_VALIDITY', 3600)
|
|
|
|
.constant('CONSOLE_COMMANDS_LABEL_PREFIX', 'io.portainer.commands.');
|