AnsweredAssumed Answered

Question regarding the Rest-API

Question asked by srón on Nov 21, 2014
Latest reply on Nov 21, 2014 by trademak
I would like to call into Your attention a phenomenon that I could not only observe using activiti-5.15.1 but also after deploying the latest wars, those of activity activiti-5.16.3. Even in the latest version of activity, it seems to me that some parts of the Rest API are not yet implemented.

If I open the activity-explorer GUI, then – under administration - I see a model named ACT_RE_MODEL with the id 50. But  http://kermit:kermit@myhost:port/repository/models

Results in:

<!DOCTYPE html>
        <title>Apache Tomcat/8.0.14 - Error report</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;} {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style>
        <h1>HTTP Status 404 - /activiti-rest/repository/models/50</h1>
        <div class="line"></div>
            <b>type</b> Status report
            <u>The requested resource is not available.</u>
        <hr class="line">
            <h3>Apache Tomcat/8.0.14</h3>

…as if it was not there. http://kermit:kermit@myhost:port/activiti-rest/service/runtime/tasks

…results in

    "data": [],
    "total": 0,
    "start": 0,
    "sort": "id",
    "order": "asc",
    "size": 0

Even though I saw a number of tasks under administration -> ACT_HI_TASKINST .