René's URL Explorer Experiment


Title: feat: Add organizations endpoint for users by kylecarbs · Pull Request #50 · coder/coder · GitHub

Open Graph Title: feat: Add organizations endpoint for users by kylecarbs · Pull Request #50 · coder/coder

X Title: feat: Add organizations endpoint for users by kylecarbs · Pull Request #50 · coder/coder

Description: This moves the /user endpoint to /users/me instead. This will reduce code duplication. This adds /users//organizations to list organizations a user has access to. It doesn't contain the permissions a user has over the organizations, but that will come in a future contribution.

Open Graph Description: This moves the /user endpoint to /users/me instead. This will reduce code duplication. This adds /users//organizations to list organizations a user has access to. It doesn't contain the permiss...

X Description: This moves the /user endpoint to /users/me instead. This will reduce code duplication. This adds /users//organizations to list organizations a user has access to. It doesn't contain the per...

Opengraph URL: https://github.com/coder/coder/pull/50

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2dce42c1-dd74-0df0-7f7a-4ea9cb880f75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB8D4:5D487:3C9576:50DA54:6B019792
html-safe-nonce9a1da83689f91f9ffb748234968bad666f53b68efc5b5dc60e086f54bcf6bd15
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEQ0OjVENDg3OjNDOTU3Njo1MERBNTQ6NkIwMTk3OTIiLCJ2aXNpdG9yX2lkIjoiMzcyMDE0MDQ0OTgzNTQ4OTE3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1efcfbf31229889d241d4cc82d483c5ae33e40010261ca03fd0a44bcc5daf636
hovercard-subject-tagpull_request:829600423
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/50/files
twitter:imagehttps://avatars.githubusercontent.com/u/7122116?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7122116?s=400&v=4
og:image:altThis moves the /user endpoint to /users/me instead. This will reduce code duplication. This adds /users//organizations to list organizations a user has access to. It doesn't contain the permiss...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/coder/pull/50/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F50%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F50%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/50/files
Reloadhttps://github.com/coder/coder/pull/50/files
Reloadhttps://github.com/coder/coder/pull/50/files
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
kylecarbshttps://github.com/kylecarbs
mainhttps://github.com/coder/coder/tree/main
userorgshttps://github.com/coder/coder/tree/userorgs
Conversation 6 https://github.com/coder/coder/pull/50
Commits 9 https://github.com/coder/coder/pull/50/commits
Checks 0 https://github.com/coder/coder/pull/50/checks
Files changed https://github.com/coder/coder/pull/50/files
Please reload this pagehttps://github.com/coder/coder/pull/50/files
feat: Add organizations endpoint for users https://github.com/coder/coder/pull/50/files#top
Show all changes 9 commits https://github.com/coder/coder/pull/50/files
359f978 feat: Add organizations endpoint for users kylecarbs Jan 22, 2022 https://github.com/coder/coder/pull/50/commits/359f978a3b7efcfbb3d2cb37f502d8e38c2cb09f
030bf3f Fix requested changes kylecarbs Jan 22, 2022 https://github.com/coder/coder/pull/50/commits/030bf3f75681e21098f351e817e43dc17238ffc3
d9defff Merge branch 'main' into userorgs kylecarbs Jan 22, 2022 https://github.com/coder/coder/pull/50/commits/d9defffb2ac9122de6f3588c65dcc16f0325afbc
47f70a9 Fix tests kylecarbs Jan 22, 2022 https://github.com/coder/coder/pull/50/commits/47f70a99ee237f0bbbac97672b4f30989a35e695
5d336fd Merge branch 'main' into userorgs kylecarbs Jan 22, 2022 https://github.com/coder/coder/pull/50/commits/5d336fd76eae4df5d1325f90c985f253f414d83b
f419971 Fix timeout kylecarbs Jan 23, 2022 https://github.com/coder/coder/pull/50/commits/f419971276672ff3333635af64a7360ac6eee51f
5302128 Add test for UserOrgs kylecarbs Jan 23, 2022 https://github.com/coder/coder/pull/50/commits/5302128e7592d4351ba692854c3184df2140a9d7
fac16a5 Add test for userparam getting kylecarbs Jan 23, 2022 https://github.com/coder/coder/pull/50/commits/fac16a54519c7c2ec75c8ed03468eeabd0cefcf3
41ec8ba Add test for NoUser kylecarbs Jan 23, 2022 https://github.com/coder/coder/pull/50/commits/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07
Clear filters https://github.com/coder/coder/pull/50/files
Please reload this pagehttps://github.com/coder/coder/pull/50/files
Please reload this pagehttps://github.com/coder/coder/pull/50/files
codecov.yml https://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db
coderd.go https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36
coderdtest.go https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351
coderdtest_test.go https://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8
organizations.go https://github.com/coder/coder/pull/50/files#diff-32da97b7ef8c40f11fd4f1b69674b64192ff21247c12b0238406d2bd61890028
users.go https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
users_test.go https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee
users.go https://github.com/coder/coder/pull/50/files#diff-300f8156df9bd44f20d854d8a65225e001e82d3a1ab670e2b826a43d0387cc9c
users_test.go https://github.com/coder/coder/pull/50/files#diff-d260ba58ee589a2116f5bfae9a41642a3291f2de611b15f7211994d687f8cbc9
databasefake.go https://github.com/coder/coder/pull/50/files#diff-2faef4d428e520c71835613a6a1929d0515a229c9f9acd09c88f4e842495f6ea
querier.go https://github.com/coder/coder/pull/50/files#diff-c4aa3193342fe9d1fc81806dba97dbeca46a866df2e12c5dcfd8a5e420223669
query.sql https://github.com/coder/coder/pull/50/files#diff-05266e6008b993a65797bc3b91ae0575b1132ce18076886c16705da72f964fea
query.sql.go https://github.com/coder/coder/pull/50/files#diff-f8efe1b39829de7ebba897db1a1617ac887c39a0f4bfae73fe65e8b4517a5b58
user.go https://github.com/coder/coder/pull/50/files#diff-98f614486ab8e1d8021627371df7a10c0dd107c7ba97c2556310e079faf15dcc
user_test.go https://github.com/coder/coder/pull/50/files#diff-db21bf3ec675a86af05521657285ed0169987c163dbd11f75e58e13534a74981
userparam.go https://github.com/coder/coder/pull/50/files#diff-7663dbbf67dd8dfc8fd9807ce0f27eb9a2c457f94808ae431643acc7bf7d26be
userparam_test.go https://github.com/coder/coder/pull/50/files#diff-7a4f7a0ee2f390460106440b5b9314a2598d1ea6a4b82070610526245821cff3
conn_test.go https://github.com/coder/coder/pull/50/files#diff-3418f04f2cad2c0020e8aba4dffc42fa5d2f93570a4ddce68e1814d56c0a03f5
SignInForm.tsx https://github.com/coder/coder/pull/50/files#diff-1cbe9b77041934ab64b0029f915d9bc003f89fecb055b2fff3729fcb736b9287
UserContext.tsx https://github.com/coder/coder/pull/50/files#diff-34932539f99928fc852f6a604bc265fda6e783e696acfa37a19790d763c9fce8
codecov.ymlhttps://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/codecov.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db
coderd/coderd.gohttps://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderd.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36
https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36
coderd/coderdtest/coderdtest.gohttps://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderdtest/coderdtest.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351
https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351
https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351
coderd/coderdtest/coderdtest_test.gohttps://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderdtest/coderdtest_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8
coderd/organizations.gohttps://github.com/coder/coder/pull/50/files#diff-32da97b7ef8c40f11fd4f1b69674b64192ff21247c12b0238406d2bd61890028
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/organizations.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
coderd/users.gohttps://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/users.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
coderd/users_test.gohttps://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee
View file https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/users_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/50/{{ revealButtonHref }}
https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee
https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee
Please reload this pagehttps://github.com/coder/coder/pull/50/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.