cancel
Showing results for 
Search instead for 
Did you mean: 

Implement Alfresco REST Api Java Wrapper

franciscoduarte
Champ in-the-making
Champ in-the-making

Hi,

I'm new to Alfresco.

I'm trying to implement the Alfresco REST Api Java Wrapper following this documentation : https://docs.alfresco.com/content-services/latest/develop/oop-sdk/#restapijavawrapperproject

I've loaded the library alfresco-java-rest-api-spring-boot-starter as mentioned.

I would like to use the NodesApi provided. In this documentation, it seems very simple. You just have to initialize the NodesApi with the @Autowired Spring annotation.

The thing is that the NodesApi included is only an interface and the package do not provide a NodesApiImpl for example.

Am I missing something?

Francisco Duarte

1 ACCEPTED ANSWER

cristinamr
World-Class Innovator
World-Class Innovator

Hi!

You are using ACS 4.2 but you are reading documentation Alfresco 7.0+ (related to SDK 5).

You should check the SDK documentation that belong to ACS 4.2 (maybe SDK 3.0?)

Cheers!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

View answer in original post

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

I was using that API in the past and it worked as expected:

https://github.com/aborroy/alfresco-rest-client

I'm using the NodesAPI Spring bean at this point:

https://github.com/aborroy/alfresco-rest-client/blob/main/src/main/java/org/alfresco/rest/client/act...

Hyland Developer Evangelist

cristinamr
World-Class Innovator
World-Class Innovator

Hi!

You are using ACS 4.2 but you are reading documentation Alfresco 7.0+ (related to SDK 5).

You should check the SDK documentation that belong to ACS 4.2 (maybe SDK 3.0?)

Cheers!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc