09-19-2017 03:04 AM
There's a activiti-app had been deployed in my cluster, I'd like to do some operation with REAT API to this app, how can I do this? what's the endpoints of that?
09-19-2017 03:21 AM
Hi Klaus,
Here is the REST API doc page for Alfresco Process Services
REST API | Alfresco Documentation
We provide a REST API Explorer to let you discover and test the APIs of a locally running instance.
Using the REST API Explorer | Alfresco Documentation
Regards
09-19-2017 03:31 AM
Can not access . I'm using "activiti-app.war" from "activiti-6.0.0.zip".
09-19-2017 03:34 AM
09-19-2017 03:38 AM
do you understand my question?
09-19-2017 04:18 AM
09-19-2017 11:13 AM
Thanks very much . I just install activit-rest & activit-admin, the activiti-admin can access data now, but I can not access restful API because of authentication failure.
Here's the related info:
curl --user admin:test
http://activiti.druid.io/activiti-rest/tasks
<!doctype html><html lang="en"><head><title>HTTP Status 401 – Unauthorized</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 – Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Authentication failed for this username and password</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /><h3>Apache Tomcat/8.5.16</h3></body></html>MacPro-2:kube-arbitrator klaus$
Any suggestion?
09-19-2017 11:29 AM
Hi Klaus,
Did you setup the engine.properties file, as described at the following link?
I hope this help you.
09-19-2017 11:42 AM
No special configuration, I'm using the default configuration. activit-admin can access rest api.
09-19-2017 11:45 AM
activiti-admin does not use REST API.
From your answer I assume you did not check the engine.proprties file and this is probably the issue.
I suggest you to setup it correctly.
I hope this help you.
Explore our Alfresco products with the links below. Use labels to filter content by product module.