{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33","id":82103220,"html_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/33","diff_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/33.diff","patch_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/33.patch","issue_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/33","number":33,"state":"open","locked":false,"title":"add filter for the url prefix","user":{"login":"zagreusinoz","id":16147285,"avatar_url":"https://avatars.githubusercontent.com/u/16147285?v=3","gravatar_id":"","url":"https://api.github.com/users/zagreusinoz","html_url":"https://github.com/zagreusinoz","followers_url":"https://api.github.com/users/zagreusinoz/followers","following_url":"https://api.github.com/users/zagreusinoz/following{/other_user}","gists_url":"https://api.github.com/users/zagreusinoz/gists{/gist_id}","starred_url":"https://api.github.com/users/zagreusinoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zagreusinoz/subscriptions","organizations_url":"https://api.github.com/users/zagreusinoz/orgs","repos_url":"https://api.github.com/users/zagreusinoz/repos","events_url":"https://api.github.com/users/zagreusinoz/events{/privacy}","received_events_url":"https://api.github.com/users/zagreusinoz/received_events","type":"User","site_admin":false},"body":"It can be useful to be able to set the prefix of the endpoint (jwt-auth), for example when this is being included as part of API documentation then it is useful to have the authorisation in the same namespace as the rest of your endpoints. \r\n\r\nThis is already possible with the root prefix:\r\nhttps://github.com/WP-API/WP-API/issues/1007","created_at":"2016-08-21T11:24:32Z","updated_at":"2016-08-21T11:24:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33/commits","review_comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33/comments","review_comment_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/33/comments","statuses_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/d62baa028486f929d1b07e6e2ddbc21e7f04d942","head":{"label":"zagreusinoz:develop","ref":"develop","sha":"d62baa028486f929d1b07e6e2ddbc21e7f04d942","user":{"login":"zagreusinoz","id":16147285,"avatar_url":"https://avatars.githubusercontent.com/u/16147285?v=3","gravatar_id":"","url":"https://api.github.com/users/zagreusinoz","html_url":"https://github.com/zagreusinoz","followers_url":"https://api.github.com/users/zagreusinoz/followers","following_url":"https://api.github.com/users/zagreusinoz/following{/other_user}","gists_url":"https://api.github.com/users/zagreusinoz/gists{/gist_id}","starred_url":"https://api.github.com/users/zagreusinoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zagreusinoz/subscriptions","organizations_url":"https://api.github.com/users/zagreusinoz/orgs","repos_url":"https://api.github.com/users/zagreusinoz/repos","events_url":"https://api.github.com/users/zagreusinoz/events{/privacy}","received_events_url":"https://api.github.com/users/zagreusinoz/received_events","type":"User","site_admin":false},"repo":{"id":66193616,"name":"wp-api-jwt-auth","full_name":"zagreusinoz/wp-api-jwt-auth","owner":{"login":"zagreusinoz","id":16147285,"avatar_url":"https://avatars.githubusercontent.com/u/16147285?v=3","gravatar_id":"","url":"https://api.github.com/users/zagreusinoz","html_url":"https://github.com/zagreusinoz","followers_url":"https://api.github.com/users/zagreusinoz/followers","following_url":"https://api.github.com/users/zagreusinoz/following{/other_user}","gists_url":"https://api.github.com/users/zagreusinoz/gists{/gist_id}","starred_url":"https://api.github.com/users/zagreusinoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zagreusinoz/subscriptions","organizations_url":"https://api.github.com/users/zagreusinoz/orgs","repos_url":"https://api.github.com/users/zagreusinoz/repos","events_url":"https://api.github.com/users/zagreusinoz/events{/privacy}","received_events_url":"https://api.github.com/users/zagreusinoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zagreusinoz/wp-api-jwt-auth","description":"A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API","fork":true,"url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth","forks_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/forks","keys_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/teams","hooks_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/events","assignees_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/tags","blobs_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/languages","stargazers_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/subscription","commits_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/merges","archive_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/downloads","issues_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/releases{/id}","deployments_url":"https://api.github.com/repos/zagreusinoz/wp-api-jwt-auth/deployments","created_at":"2016-08-21T10:42:57Z","updated_at":"2016-08-21T10:42:58Z","pushed_at":"2016-08-21T11:22:28Z","git_url":"git://github.com/zagreusinoz/wp-api-jwt-auth.git","ssh_url":"git@github.com:zagreusinoz/wp-api-jwt-auth.git","clone_url":"https://github.com/zagreusinoz/wp-api-jwt-auth.git","svn_url":"https://github.com/zagreusinoz/wp-api-jwt-auth","homepage":"","size":4180,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Tmeister:develop","ref":"develop","sha":"59b5d411088e60b368741a9e8589624e6841b8fc","user":{"login":"Tmeister","id":210349,"avatar_url":"https://avatars.githubusercontent.com/u/210349?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmeister","html_url":"https://github.com/Tmeister","followers_url":"https://api.github.com/users/Tmeister/followers","following_url":"https://api.github.com/users/Tmeister/following{/other_user}","gists_url":"https://api.github.com/users/Tmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmeister/subscriptions","organizations_url":"https://api.github.com/users/Tmeister/orgs","repos_url":"https://api.github.com/users/Tmeister/repos","events_url":"https://api.github.com/users/Tmeister/events{/privacy}","received_events_url":"https://api.github.com/users/Tmeister/received_events","type":"User","site_admin":false},"repo":{"id":39872221,"name":"wp-api-jwt-auth","full_name":"Tmeister/wp-api-jwt-auth","owner":{"login":"Tmeister","id":210349,"avatar_url":"https://avatars.githubusercontent.com/u/210349?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmeister","html_url":"https://github.com/Tmeister","followers_url":"https://api.github.com/users/Tmeister/followers","following_url":"https://api.github.com/users/Tmeister/following{/other_user}","gists_url":"https://api.github.com/users/Tmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmeister/subscriptions","organizations_url":"https://api.github.com/users/Tmeister/orgs","repos_url":"https://api.github.com/users/Tmeister/repos","events_url":"https://api.github.com/users/Tmeister/events{/privacy}","received_events_url":"https://api.github.com/users/Tmeister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tmeister/wp-api-jwt-auth","description":"A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API","fork":false,"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth","forks_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/forks","keys_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/teams","hooks_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/events","assignees_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/tags","blobs_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/languages","stargazers_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/subscription","commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/merges","archive_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/downloads","issues_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/releases{/id}","deployments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/deployments","created_at":"2015-07-29T03:58:36Z","updated_at":"2016-08-21T10:45:59Z","pushed_at":"2016-08-20T10:16:07Z","git_url":"git://github.com/Tmeister/wp-api-jwt-auth.git","ssh_url":"git@github.com:Tmeister/wp-api-jwt-auth.git","clone_url":"https://github.com/Tmeister/wp-api-jwt-auth.git","svn_url":"https://github.com/Tmeister/wp-api-jwt-auth","homepage":"","size":4180,"stargazers_count":51,"watchers_count":51,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":17,"forks":12,"open_issues":17,"watchers":51,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33"},"html":{"href":"https://github.com/Tmeister/wp-api-jwt-auth/pull/33"},"issue":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/33"},"comments":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/d62baa028486f929d1b07e6e2ddbc21e7f04d942"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":21,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"zagreusinoz"}}