Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

How can the API be extended for existing classes?

R_JR_J Cheerleader & TroubleshooterMunich Moderator

I've tried writing a new API controller and it was immediately shown in the Swagger UI in the dashboard, which was quite impressive. But what I really wanted was creating a new function for the "users" endpoint.

Based on how I understood the API I would have to create a class UsersApiController {, but that certainly is not possible since that class is already defined by the api itself.
So let's say I want to provide a /api/v2/users/signin endpoint, how would I have to start?

Bleistivt
Sign In or Register to comment.