Skip to content

REST API irregularity #10

@akavlie

Description

@akavlie

The Nodester API exposes the list of apps at GET /apps, while an individual app is at GET /app/<appname>. It seems that the root in both cases should be consistent (i.e. change the latter to GET /apps/<appname>.

Also, the API to start an app is as follows:

PUT /app?appname=<appname>&running=true

Conforming with the standard pattern, it should be like this:

PUT /apps/<appname>?running=true

I'm not just being pedantic... Backbone.js expects URLs like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions