cancel
Showing results for 
Search instead for 
Did you mean: 

Create Custom REST-API

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

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?

2 REPLIES 2

4535992
Star Collaborator
Star Collaborator

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.

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.