Re:Automatic REST API for Any Postgres Database
by joevandyk on Saturday January 03, 2015 @07:38PM
(#8832676)
I'm not exactly sure what you mean by "expose multiple schemas in the REST API" - you mean pg schemas or how the API is structured?
(I wish pg named schemas "namespaces" or something else, schema is an overloaded term)
Re:Automatic REST API for Any Postgres Database
by rpedela on Saturday January 03, 2015 @07:45PM
(#8832695)
Yes I agree with using the term namespace instead of PG schema. I have also never understood why the default schema (namespace) is called "public". Why not "default"? Anyway let us say how do I expose multiple namespaces in the REST API?
I certainly could have missed something, but it doesn't seem like it is possible to expose multiple schemas in the REST API itself. This tool seems more geared toward providing a public REST API where the data happens to be stored in Postgres rather than a more generic REST API for Postgres. I would like the latter, but if that isn't the goal then that is okay.