{"action":"created","issue":{"url":"https://api.github.com/repos/portainer/portainer/issues/454","repository_url":"https://api.github.com/repos/portainer/portainer","labels_url":"https://api.github.com/repos/portainer/portainer/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/portainer/portainer/issues/454/comments","events_url":"https://api.github.com/repos/portainer/portainer/issues/454/events","html_url":"https://github.com/portainer/portainer/issues/454","id":198426537,"node_id":"MDU6SXNzdWUxOTg0MjY1Mzc=","number":454,"title":"Add the ability to access different endpoints via Portainer URL","user":{"login":"stefanprodan","id":3797675,"node_id":"MDQ6VXNlcjM3OTc2NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3797675?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanprodan","html_url":"https://github.com/stefanprodan","followers_url":"https://api.github.com/users/stefanprodan/followers","following_url":"https://api.github.com/users/stefanprodan/following{/other_user}","gists_url":"https://api.github.com/users/stefanprodan/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanprodan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanprodan/subscriptions","organizations_url":"https://api.github.com/users/stefanprodan/orgs","repos_url":"https://api.github.com/users/stefanprodan/repos","events_url":"https://api.github.com/users/stefanprodan/events{/privacy}","received_events_url":"https://api.github.com/users/stefanprodan/received_events","type":"User","site_admin":false},"labels":[{"id":379305039,"node_id":"MDU6TGFiZWwzNzkzMDUwMzk=","url":"https://api.github.com/repos/portainer/portainer/labels/kind/enhancement","name":"kind/enhancement","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-03T08:12:05Z","updated_at":"2018-09-13T19:14:11Z","closed_at":null,"author_association":"NONE","body":"When having multiple endpoints, a container URL will fail to open because it doesn't contain the host endpoint and by default the first host is selected in the dropdown. Please add the host endpoint to the routes so we can open directly a container URL.\r\n\r\nInstead of:\r\n`portainer/#/containers/container_id`\r\n\r\nWith host:\r\n`portainer/#/host_id/containers/container_id`\r\n\r\nPortainer version: v1.11.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/portainer/portainer/issues/comments/421120016","html_url":"https://github.com/portainer/portainer/issues/454#issuecomment-421120016","issue_url":"https://api.github.com/repos/portainer/portainer/issues/454","id":421120016,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTEyMDAxNg==","user":{"login":"WTFKr0","id":15888093,"node_id":"MDQ6VXNlcjE1ODg4MDkz","avatar_url":"https://avatars0.githubusercontent.com/u/15888093?v=4","gravatar_id":"","url":"https://api.github.com/users/WTFKr0","html_url":"https://github.com/WTFKr0","followers_url":"https://api.github.com/users/WTFKr0/followers","following_url":"https://api.github.com/users/WTFKr0/following{/other_user}","gists_url":"https://api.github.com/users/WTFKr0/gists{/gist_id}","starred_url":"https://api.github.com/users/WTFKr0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WTFKr0/subscriptions","organizations_url":"https://api.github.com/users/WTFKr0/orgs","repos_url":"https://api.github.com/users/WTFKr0/repos","events_url":"https://api.github.com/users/WTFKr0/events{/privacy}","received_events_url":"https://api.github.com/users/WTFKr0/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T19:14:11Z","updated_at":"2018-09-13T19:14:11Z","author_association":"CONTRIBUTOR","body":"Hi !\r\n\r\nI think we got same need here\r\nBut some things have change since 2017\r\n\r\nHere our use case:\r\n\r\nWe got 15+ swarm clusters (from 3 to 6 nodes)\r\nWe deployed portainer agent in each\r\nWe have a central portainer instance, and add the 15+ agents as endpoints\r\nWe then give users access to endpoints\r\n\r\nWe would like to share direct link to some views in portainer : \r\n- Cluster overview\r\n- Stack overview\r\n- Service overview\r\n- Service logs\r\n- etc...\r\n\r\nIdeally, the link need to select the endpoint, and get user to the target view\r\nIf user is not identified, the login page should redirect user to the view after login\r\nIf user have no access to the target endpoint, he can be redirected to the dashboard view\r\n\r\nI think the link should be human readable, as other tools could generate it.\r\nSomething like:\r\n`http://demo.portainer.io/<endpoint_id>/services/poqw22wv436ryouurx1q9rgyx`\r\nis a good start i think, we just have to ensure that we can get endpoint id from somewhere 😄 \r\nWhat is the logic for implementing something like that in the actual state of portainer ?\r\n\r\nThanx"}}
{"actor":{"display_login":"WTFKr0"}}