Skip to content

Instantly share code, notes, and snippets.

@yaleman
Created July 10, 2022 13:19
Show Gist options
  • Save yaleman/4fff1994bb1aee8e3f0d401bcc3cdf5f to your computer and use it in GitHub Desktop.
Save yaleman/4fff1994bb1aee8e3f0d401bcc3cdf5f to your computer and use it in GitHub Desktop.
Example kanidm route map for #913
{
"routelist": [
{
"path": "/",
"method": "GET"
},
{
"path": "/robots.txt",
"method": "GET"
},
{
"path": "/manifest.webmanifest",
"method": "GET"
},
{
"path": "/ui/",
"method": "GET"
},
{
"path": "/ui/*",
"method": "GET"
},
{
"path": "/v1/account/:id/_radius/_token",
"method": "GET"
},
{
"path": "/v1/account/:id/_unix/_token",
"method": "GET"
},
{
"path": "/status",
"method": "GET"
},
{
"path": "/oauth2/authorise",
"method": "POST"
},
{
"path": "/oauth2/authorise",
"method": "GET"
},
{
"path": "/oauth2/authorise/permit",
"method": "POST"
},
{
"path": "/oauth2/authorise/permit",
"method": "GET"
},
{
"path": "/oauth2/authorise/reject",
"method": "POST"
},
{
"path": "/oauth2/authorise/reject",
"method": "GET"
},
{
"path": "/oauth2/token",
"method": "POST"
},
{
"path": "/oauth2/token/introspect",
"method": "POST"
},
{
"path": "/oauth2/openid/:client_id/.well-known/openid-configuration",
"method": "GET"
},
{
"path": "/oauth2/openid/:client_id/userinfo",
"method": "GET"
},
{
"path": "/oauth2/openid/:client_id/public_key.jwk",
"method": "GET"
},
{
"path": "/v1/raw/create",
"method": "POST"
},
{
"path": "/v1/raw/modify",
"method": "POST"
},
{
"path": "/v1/raw/delete",
"method": "POST"
},
{
"path": "/v1/raw/search",
"method": "POST"
},
{
"path": "/v1/auth",
"method": "POST"
},
{
"path": "/v1/auth/valid",
"method": "GET"
},
{
"path": "/v1/schema",
"method": "GET"
},
{
"path": "/v1/schema/attributetype",
"method": "GET"
},
{
"path": "/v1/schema/attributetype",
"method": "POST"
},
{
"path": "/v1/schema/attributetype/:id",
"method": "GET"
},
{
"path": "/v1/schema/attributetype/:id",
"method": "PUT"
},
{
"path": "/v1/schema/attributetype/:id",
"method": "PATCH"
},
{
"path": "/v1/schema/classtype",
"method": "GET"
},
{
"path": "/v1/schema/classtype",
"method": "POST"
},
{
"path": "/v1/schema/classtype/:id",
"method": "GET"
},
{
"path": "/v1/schema/classtype/:id",
"method": "PUT"
},
{
"path": "/v1/schema/classtype/:id",
"method": "PATCH"
},
{
"path": "/v1/oauth2",
"method": "GET"
},
{
"path": "/v1/oauth2/_basic",
"method": "POST"
},
{
"path": "/v1/oauth2/:id",
"method": "GET"
},
{
"path": "/v1/oauth2/:id",
"method": "PATCH"
},
{
"path": "/v1/oauth2/:id",
"method": "DELETE"
},
{
"path": "/v1/oauth2/:id/_scopemap/:group",
"method": "POST"
},
{
"path": "/v1/oauth2/:id/_scopemap/:group",
"method": "DELETE"
},
{
"path": "/v1/self",
"method": "GET"
},
{
"path": "/v1/self/_attr/:attr",
"method": "GET"
},
{
"path": "/v1/self/_credential",
"method": "GET"
},
{
"path": "/v1/self/_credential/primary/set_password",
"method": "POST"
},
{
"path": "/v1/self/_credential/:cid/_lock",
"method": "GET"
},
{
"path": "/v1/self/_radius",
"method": "GET"
},
{
"path": "/v1/self/_radius",
"method": "DELETE"
},
{
"path": "/v1/self/_radius",
"method": "POST"
},
{
"path": "/v1/self/_radius/_config",
"method": "POST"
},
{
"path": "/v1/self/_radius/_config/:token",
"method": "GET"
},
{
"path": "/v1/self/_radius/_config/:token/apple",
"method": "GET"
},
{
"path": "/v1/person",
"method": "GET"
},
{
"path": "/v1/person",
"method": "POST"
},
{
"path": "/v1/person/:id",
"method": "GET"
},
{
"path": "/v1/account",
"method": "GET"
},
{
"path": "/v1/account",
"method": "POST"
},
{
"path": "/v1/account/:id",
"method": "GET"
},
{
"path": "/v1/account/:id",
"method": "DELETE"
},
{
"path": "/v1/account/:id/_attr/:attr",
"method": "GET"
},
{
"path": "/v1/account/:id/_attr/:attr",
"method": "PUT"
},
{
"path": "/v1/account/:id/_attr/:attr",
"method": "POST"
},
{
"path": "/v1/account/:id/_attr/:attr",
"method": "DELETE"
},
{
"path": "/v1/account/:id/_person/_extend",
"method": "POST"
},
{
"path": "/v1/account/:id/_person/_set",
"method": "POST"
},
{
"path": "/v1/account/:id/_lock",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/_status",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/primary",
"method": "PUT"
},
{
"path": "/v1/account/:id/_credential/:cid/_lock",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/:cid/backup_code",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/_update",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/_update_intent",
"method": "GET"
},
{
"path": "/v1/account/:id/_credential/_update_intent/:ttl",
"method": "GET"
},
{
"path": "/v1/account/:id/_ssh_pubkeys",
"method": "GET"
},
{
"path": "/v1/account/:id/_ssh_pubkeys",
"method": "POST"
},
{
"path": "/v1/account/:id/_ssh_pubkeys/:tag",
"method": "GET"
},
{
"path": "/v1/account/:id/_ssh_pubkeys/:tag",
"method": "DELETE"
},
{
"path": "/v1/account/:id/_radius",
"method": "GET"
},
{
"path": "/v1/account/:id/_radius",
"method": "POST"
},
{
"path": "/v1/account/:id/_radius",
"method": "DELETE"
},
{
"path": "/v1/account/:id/_unix",
"method": "POST"
},
{
"path": "/v1/account/:id/_unix/_auth",
"method": "POST"
},
{
"path": "/v1/account/:id/_unix/_credential",
"method": "PUT"
},
{
"path": "/v1/account/:id/_unix/_credential",
"method": "DELETE"
},
{
"path": "/v1/credential/_exchange_intent",
"method": "POST"
},
{
"path": "/v1/credential/_status",
"method": "POST"
},
{
"path": "/v1/credential/_update",
"method": "POST"
},
{
"path": "/v1/credential/_commit",
"method": "POST"
},
{
"path": "/v1/group",
"method": "GET"
},
{
"path": "/v1/group",
"method": "POST"
},
{
"path": "/v1/group/:id",
"method": "GET"
},
{
"path": "/v1/group/:id",
"method": "DELETE"
},
{
"path": "/v1/group/:id/_attr/:attr",
"method": "DELETE"
},
{
"path": "/v1/group/:id/_attr/:attr",
"method": "GET"
},
{
"path": "/v1/group/:id/_attr/:attr",
"method": "PUT"
},
{
"path": "/v1/group/:id/_attr/:attr",
"method": "POST"
},
{
"path": "/v1/group/:id/_unix",
"method": "POST"
},
{
"path": "/v1/group/:id/_unix/_token",
"method": "GET"
},
{
"path": "/v1/domain",
"method": "GET"
},
{
"path": "/v1/domain/_attr/:attr",
"method": "GET"
},
{
"path": "/v1/domain/_attr/:attr",
"method": "PUT"
},
{
"path": "/v1/domain/_attr/:attr",
"method": "DELETE"
},
{
"path": "/v1/recycle_bin",
"method": "GET"
},
{
"path": "/v1/recycle_bin/:id",
"method": "GET"
},
{
"path": "/v1/recycle_bin/:id/_revive",
"method": "POST"
},
{
"path": "/v1/access_profile",
"method": "GET"
},
{
"path": "/v1/access_profile/:id",
"method": "GET"
},
{
"path": "/v1/access_profile/:id/_attr/:attr",
"method": "GET"
},
{
"path": "/v1/routemap",
"method": "GET"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment