Skip to content

Show dashboard without query param #99

@marbetschar

Description

@marbetschar

If the dashboard is enabled and a HTTP GET request is made to the REST API Application Root, then the dashboard should be shown as it is right now.

But It would be much nicer (after renewing the dashboard as mentioned in #84) when the ?dashboard query param gets omitted.

So afterwards developer are looking at a nice and clean interface at for example http://api.yourdomain.com/v1

Activity

atuttle

atuttle commented on Sep 30, 2012

@atuttle
Owner

Hmmm, I don't really see this as crucial, but I'm not against it. :)

marbetschar

marbetschar commented on Oct 1, 2012

@marbetschar
Author

I'll take this into consideration when I'm going to look at #84

atuttle

atuttle commented on Jan 2, 2013

@atuttle
Owner

What should be displayed if the dashboard is disabled?

marbetschar

marbetschar commented on Jan 2, 2013

@marbetschar
Author

Maybe just adding a redirectURL would do the trick:
If you open up https://api.acme.com/v1 in the browser you will be redirected to https://dev.acme.com

I think the redirectURL should be environment based?

Am 02.01.2013 um 15:17 schrieb Adam Tuttle notifications@github.com:

What should be displayed if the dashboard is disabled?


Reply to this email directly or view it on GitHub.

atuttle

atuttle commented on Jan 2, 2013

@atuttle
Owner

That seems reasonable. I'll noodle it around some today.

atuttle

atuttle commented on Feb 1, 2013

@atuttle
Owner

Going to start implementing this momentarily. The setting will be:

variables.framework = { disabledDashboardRedirect = 'http://www.acme.com' };

If left at its default value ("") it will just return 403 Forbidden.

added a commit that references this issue on Feb 1, 2013
16823c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @atuttle@marbetschar

        Issue actions

          Show dashboard without query param · Issue #99 · atuttle/Taffy