09-19-2022 08:42 AM
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 .
10-07-2022 06:06 AM
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 ![]()
Explore our Alfresco products with the links below. Use labels to filter content by product module.