cancel
Showing results for 
Search instead for 
Did you mean: 

UPLOAD FILE OR FOLDER USING SPRING BOOT API EXPLORER REST STORAGE IN ALFRESCO

braham
Champ in-the-making
Champ in-the-making

Hello community,

I want to create an API to import a file using alfresco REST EXPLORER API.

I documented the EXPLORER API /api-explorer/#/nodes/ .

I managed to test it on postman by calling the URL directly.

My problem is to implement it on spring boot using FeignClient or RestTemplate.

Thanks for your help .

1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator

You can download the OpenAPI descriptor from the Alfresco Content Services API Explorer and then generate your Alfresco Java Client using Open API Maven plugin or Swagger Codegen maven plugin.

A complete example related to the client of Activiti platform is available below:

https://github.com/OpenPj/activiti-swagger-client

So you only need to replace the JSON file with the Alfresco Content Services one exposed by your instance.

Hope this helps Smiley Wink