Create Custom REST-API

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Senior Member II

Create Custom REST-API

 

I want to create custom rest-api like this.https://api-explorer.alfresco.com/api-explorer/

Using webscript I can create but I want follow the same way which is above url api is following.

How can I create?

Thanks & Regards,
Sanjay
2 Replies
Highlighted
Established Member II

Re: Create Custom REST-API

Sorry don't know how much you know of Swagger UI or Yaml, so my answer can be not fully complete.

If you check the alfresco-rest-api you can see all the yaml file used from alfresco.

e.g. https://api-explorer.alfresco.com/api-explorer/definitions/alfresco-core.yaml

So you can create a yaml file for describe all your alfresco webscript , and use the web app Swagger UI to show them to the users.

I made something very similar recently so with more details on your use case i can try to help you out.

 

Highlighted
Senior Member II

Re: Create Custom REST-API

I want to follow backend way not frontend.In backend ,webscript is not used.They have used another way to create rest-api that I want to know.

Thanks & Regards,
Sanjay