Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all node types in admin api doc #130

Open
fungc-io opened this issue Nov 24, 2022 · 3 comments
Open

Add all node types in admin api doc #130

fungc-io opened this issue Nov 24, 2022 · 3 comments
Assignees

Comments

@fungc-io
Copy link
Member

fungc-io commented Nov 24, 2022

add all node type in this doc: https://docs.authgear.com/apis/admin-api/node-id

In Admin API, the node id can be used for globally identify an object. It's always in base64url encoded format of <NODE_TYPE>:<ID>

e.g. VXNlcjo5N2IxYzkyOS04NDJjLTQxNWMtYTdkZi02OTY3ZWZkZGExNjA= can be decoded as User:97b1c929-842c-415c-a7df-6967efdda160 meaning it refers to a "User" object.

@fungc-io
Copy link
Member Author

@louischan-oursky where can I find the list of node types currently in used? Or we need to get them by trial and error from the API?

@louischan-oursky
Copy link
Collaborator

You can find it in the schema. Technically speaking, the list of node types means the list of types implementing the Node interface. The playground should be the easiest way to do this.

Screen.Recording.2023-08-31.at.11.00.04.mov

@fungc-io
Copy link
Member Author

ok, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants