8000 Be able to create custom routes · Issue #93 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Be able to create custom routes #93

@ekryski

Description

@ekryski

I would like to be able to specify what mime types are supported via rest:

app.use('/users', UserService, {
  json: true
});

// which might result in /users.json and /users/1.json being the routes

and also create namespaced routes:

app.use('/users', UserService, {
  json: true,
  prefix: 'api'
});

// which might result in /api/users.json and /api/users/1.json being the routes

Similar idea to #86 but I don't think using the .setup() method is elegant or efficient.

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

      0