{"action":"created","issue":{"url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/129","repository_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5","labels_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/129/comments","events_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/129/events","html_url":"https://github.com/xdoo/lhm_animad_admin_html5/issues/129","id":291809990,"number":129,"title":"OPTIONS Methode für den Objektlink","user":{"login":"xdoo","id":712911,"avatar_url":"https://avatars2.githubusercontent.com/u/712911?v=4","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"labels":[{"id":807687752,"url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/labels/backend","name":"backend","color":"06c6c9","default":false}],"state":"open","locked":false,"assignee":{"login":"rowe42","id":25983841,"avatar_url":"https://avatars1.githubusercontent.com/u/25983841?v=4","gravatar_id":"","url":"https://api.github.com/users/rowe42","html_url":"https://github.com/rowe42","followers_url":"https://api.github.com/users/rowe42/followers","following_url":"https://api.github.com/users/rowe42/following{/other_user}","gists_url":"https://api.github.com/users/rowe42/gists{/gist_id}","starred_url":"https://api.github.com/users/rowe42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowe42/subscriptions","organizations_url":"https://api.github.com/users/rowe42/orgs","repos_url":"https://api.github.com/users/rowe42/repos","events_url":"https://api.github.com/users/rowe42/events{/privacy}","received_events_url":"https://api.github.com/users/rowe42/received_events","type":"User","site_admin":false},"assignees":[{"login":"rowe42","id":25983841,"avatar_url":"https://avatars1.githubusercontent.com/u/25983841?v=4","gravatar_id":"","url":"https://api.github.com/users/rowe42","html_url":"https://github.com/rowe42","followers_url":"https://api.github.com/users/rowe42/followers","following_url":"https://api.github.com/users/rowe42/following{/other_user}","gists_url":"https://api.github.com/users/rowe42/gists{/gist_id}","starred_url":"https://api.github.com/users/rowe42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowe42/subscriptions","organizations_url":"https://api.github.com/users/rowe42/orgs","repos_url":"https://api.github.com/users/rowe42/repos","events_url":"https://api.github.com/users/rowe42/events{/privacy}","received_events_url":"https://api.github.com/users/rowe42/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/milestones/1","html_url":"https://github.com/xdoo/lhm_animad_admin_html5/milestone/1","labels_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/milestones/1/labels","id":3047772,"number":1,"title":"RefArch_1.0","description":"","creator":{"login":"xdoo","id":712911,"avatar_url":"https://avatars2.githubusercontent.com/u/712911?v=4","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":48,"state":"open","created_at":"2018-01-19T08:43:04Z","updated_at":"2018-02-12T06:41:48Z","due_on":"2018-01-31T08:00:00Z","closed_at":null},"comments":10,"created_at":"2018-01-26T06:24:43Z","updated_at":"2018-02-12T06:53:46Z","closed_at":null,"author_association":"OWNER","body":"Wenn man ein neues Objekt für eine Entität erstellen will, so hat man keine Kontextinformationen zur Verfügung. Diese bekommt man erst durch einen Request un der entsprechenden Payload. Aktuell gibt es dafür keinen Endpoint. Es wird deshalb im Backend für jeden\r\n\r\n```json\r\n\"[entity-name]s\": {\r\n        \"href\": \"http://my-domain/[entity-name]s\"\r\n    }\r\n```\r\n\r\nein 'OPTIONS' Endpunkt erstellt werden, der dann Informationen zu den Objektrelationen zurück liefert. Beispiel für folgenden Aufruf:\r\n\r\n`OPTIONS http://animad.mocklab.io/enclosures`\r\n\r\ngibt dann folgendes zurück:\r\n```json\r\n{\r\n  \"_links\": {\r\n    \"self\": {\r\n      \"href\": \"http://animad.mocklab.io/enclosures\"\r\n    },\r\n    \"animals\": {\r\n        \"href\": \"http://animad.mocklab.io/animals\"\r\n    },\r\n    \"keepers\": {\r\n        \"href\": \"http://animad.mocklab.io/keepers\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/comments/364840577","html_url":"https://github.com/xdoo/lhm_animad_admin_html5/issues/129#issuecomment-364840577","issue_url":"https://api.github.com/repos/xdoo/lhm_animad_admin_html5/issues/129","id":364840577,"user":{"login":"rowe42","id":25983841,"avatar_url":"https://avatars1.githubusercontent.com/u/25983841?v=4","gravatar_id":"","url":"https://api.github.com/users/rowe42","html_url":"https://github.com/rowe42","followers_url":"https://api.github.com/users/rowe42/followers","following_url":"https://api.github.com/users/rowe42/following{/other_user}","gists_url":"https://api.github.com/users/rowe42/gists{/gist_id}","starred_url":"https://api.github.com/users/rowe42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowe42/subscriptions","organizations_url":"https://api.github.com/users/rowe42/orgs","repos_url":"https://api.github.com/users/rowe42/repos","events_url":"https://api.github.com/users/rowe42/events{/privacy}","received_events_url":"https://api.github.com/users/rowe42/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T06:53:46Z","updated_at":"2018-02-12T06:53:46Z","author_association":"COLLABORATOR","body":"Habe das jetzt mal vorerst in Branch _#156 (Pull Request #182) so per Workaround gelöst, dass ich statt OPTIONS hier mal GET aufrufe - da sind die benötigten Links auch drin und die (irrelevante) Payload im Showcase nicht so wahnsinnig groß..."}}
{"actor":{"display_login":"rowe42"}}