Rob Archibald
Rob Archibald

Reputation: 397

Retrieve specific version of document using Alfresco REST API

I'm using Alfresco Community 5.0b, but when I try to get the list of versions, using
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/versions, I simply get an HTTP 404 error. According to https://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Retrieve_all_versions_.28getAllVersions.29, this is the recommended way to get the list of versions.

the Content and MetaData queries both work fine when I try
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content and
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/metadata. What am I missing?

Upvotes: 0

Views: 1095

Answers (1)

Naman
Naman

Reputation: 2203

Give a try to this,

/alfresco/service/api/version?nodeRef={noderef}

Upvotes: 3

Related Questions