{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/31309","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/31309/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/31309/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/31309/events","html_url":"https://github.com/owncloud/core/issues/31309","id":318859253,"number":31309,"title":"Redesign and move settings:admin:sharing APIs away from Ajax","user":{"login":"SamuAlfageme","id":2644445,"avatar_url":"https://avatars2.githubusercontent.com/u/2644445?v=4","gravatar_id":"","url":"https://api.github.com/users/SamuAlfageme","html_url":"https://github.com/SamuAlfageme","followers_url":"https://api.github.com/users/SamuAlfageme/followers","following_url":"https://api.github.com/users/SamuAlfageme/following{/other_user}","gists_url":"https://api.github.com/users/SamuAlfageme/gists{/gist_id}","starred_url":"https://api.github.com/users/SamuAlfageme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamuAlfageme/subscriptions","organizations_url":"https://api.github.com/users/SamuAlfageme/orgs","repos_url":"https://api.github.com/users/SamuAlfageme/repos","events_url":"https://api.github.com/users/SamuAlfageme/events{/privacy}","received_events_url":"https://api.github.com/users/SamuAlfageme/received_events","type":"User","site_admin":false},"labels":[{"id":18122325,"url":"https://api.github.com/repos/owncloud/core/labels/feature:sharing","name":"feature:sharing","color":"d4c5f9","default":false},{"id":18617486,"url":"https://api.github.com/repos/owncloud/core/labels/settings:admin","name":"settings:admin","color":"02d7e1","default":false},{"id":126298320,"url":"https://api.github.com/repos/owncloud/core/labels/technical%20debt","name":"technical debt","color":"FFFF00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/111","html_url":"https://github.com/owncloud/core/milestone/111","labels_url":"https://api.github.com/repos/owncloud/core/milestones/111/labels","id":2488256,"number":111,"title":"triage","description":null,"creator":{"login":"PVince81","id":277525,"avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":189,"closed_issues":9,"state":"open","created_at":"2017-04-28T13:47:32Z","updated_at":"2018-04-30T11:29:42Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-04-30T11:26:46Z","updated_at":"2018-04-30T11:40:11Z","closed_at":null,"author_association":"NONE","body":"One starting point for our latest API-documentation efforts was to observe and map the XHR traffic from the webUI in order to get an idea of which public interfaces (surface) a client should use to interact with the server. \r\n\r\nNormally, clients don't require APIs to interact with core settings - unless we're speaking about **reading said settings** to adjust their behavior to server's (e.g. disabling some sharing options, setting a chunking algorithm...)\r\n\r\nNow that we want to look at [Phoenix](https://github.com/owncloud/phoenix) as an advanced, modern client that **must have to interact in detail with some of the admin settings**,  we should also uncouple and get rid of some of the old Ajax APIs that do the job on the webUI. And while doing so, untangle some of ownCloud's most complicated and ambiguous settings: sharing: \r\n\r\n![screenshot 2018-04-30 13 11 34](https://user-images.githubusercontent.com/2644445/39424687-1a01b292-4c78-11e8-8f48-2d7059574006.png)\r\n\r\nI thought it would be a good idea for this use-case to **integrate these with the capabilities into a higher-level, extensible, first class citizen \"Capabilities API\"**. \r\n\r\nThis issue might be seen as part of a bigger picture (e.g. https://github.com/owncloud/core/issues/4774) - feel free to close if a coarse-grained approach (to track in larger issues/PRs) is preferred.\r\n\r\ncc/ @patrickjahns as part of the API power-users team. @DeepDiver1975 to get architectural insights on the last. "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/385374339","html_url":"https://github.com/owncloud/core/issues/31309#issuecomment-385374339","issue_url":"https://api.github.com/repos/owncloud/core/issues/31309","id":385374339,"user":{"login":"ownclouders","id":29553947,"avatar_url":"https://avatars3.githubusercontent.com/u/29553947?v=4","gravatar_id":"","url":"https://api.github.com/users/ownclouders","html_url":"https://github.com/ownclouders","followers_url":"https://api.github.com/users/ownclouders/followers","following_url":"https://api.github.com/users/ownclouders/following{/other_user}","gists_url":"https://api.github.com/users/ownclouders/gists{/gist_id}","starred_url":"https://api.github.com/users/ownclouders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ownclouders/subscriptions","organizations_url":"https://api.github.com/users/ownclouders/orgs","repos_url":"https://api.github.com/users/ownclouders/repos","events_url":"https://api.github.com/users/ownclouders/events{/privacy}","received_events_url":"https://api.github.com/users/ownclouders/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T11:40:11Z","updated_at":"2018-04-30T11:40:11Z","author_association":"NONE","body":"[GitMate.io](https://gitmate.io) thinks the contributor most likely able to help you is @PVince81.\n\nPossibly related issues are https://github.com/owncloud/core/issues/18199 (Add more Options to Admin-Settings.), https://github.com/owncloud/core/issues/11648 ([Ask Feature] A sharing setting), https://github.com/owncloud/core/issues/17863 (Admin-Page: Sharing-settings are available when sharing app is disabled), https://github.com/owncloud/core/issues/12970 (Redesign / revamp folder share permissions), and https://github.com/owncloud/core/issues/11288 (Shared link expires before set date by user and admin)."}}
{"actor":{"display_login":"ownclouders"}}