cancel
Showing results for 
Search instead for 
Did you mean: 

REST Get parameters?

stevescott
Champ in-the-making
Champ in-the-making
Im going through the Restful API reference, but im having a hard time figuring out

For example:
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}

I know store type and id, but whats property and attach?  There isn't really any examples…or do I just not know where to look?
2 REPLIES 2

tara_b
Champ in-the-making
Champ in-the-making
Try this: http://<your server>:8080/alfresco/service/api/node/content/workspace/spacesstore/<node id>?a=false

Am using this script to download documents.
a = attached. True = it downloads into my default download directory. False = opens in the browser (pdf's at least).

You can also find more information if you go to to the web scripts information page. You can find it from the list at http://<your sever>:8080/alfresco/service/index/uri/ .

stevescott
Champ in-the-making
Champ in-the-making
Awesome, thanks!