-
Notifications
You must be signed in to change notification settings - Fork 4
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
Poster Network: Add API that returns all groups, all types for PN Prefab #5
Comments
Hihi, just looping myself in. |
As a note: please do not make any work on this implementation-wise, I will likely tell you to rip it out and start over if you do. We are understanding scope and scheming up a schema. I need to sign off on this before anything server-side can be implemented, I don't want to go through this issue twice in a row. |
Some Q&A: Q: Do we plan to allow for multiple of the same filter at any point? Q:: Are nicknames at all limited in charset or length? Q: Do we ever plan to modify what filters exist? Q: Are there any filters that don't work with others (other than nickname or pid which take priority)? Worth noting also, the type and group filters are DB tables for ease of updating, so if you wanted to do the JSON API response thing from the GH issue, we can do that and just populate it with the current table contents. Groups are admin-powered, one-to-one/zero for posters (can have a group or none), one-to-many with users (users can be in multiple groups) but the actual groups table defining that is admin maintained, and types are also admin-maintained, just a select for users. |
From Tap, one of the maintainers of the Unity Prefab, we should have a way to future-proof the poster network from any additional functionality growth. Tap suggested that we can return a JSON document that describes the available options and parameters, as well as any constraints (i.e. if a PID is defined, don't let the other redundant options like group and type be set) that the URL query requires.
Sample pseudo-JSON structure
Please work CLOSELY with Tap regarding the poster network Unity Prefab to bring it up to speed with the poster network as it currently stands. This was an oversight on my part when I started coming up with ideas for the network, and I'd like to help correct course.
The text was updated successfully, but these errors were encountered: