Skip to content

ServerApi: Propsal/clarification: prefix in URL #51

@nytamin

Description

@nytamin

I'd like to be able to implement an Ograf Server which exposes its OGraf API on urls with various prefixes.
For example, the API can be exposed on url johans-server.com/myPrefix/MyFolder/something-else/ograf/v1/**.

I'd like to hear your thoughts on this, and whether we should modify the API specification to explicitly support this?
eg, /graphics -> {prefix}/graphics.
Or is this implied to be acceptable already? (I'm a bit unsure what the OpenAPI spec allows and not.)

Another question to consider is should we require the url to be prefixed with /ograf/v1/**? (this might be useful in case we'd add breaking changes in the future).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions