Reflect changes from #1042
Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io>
diff --git a/rest-api/targets-api-guide/index.html b/rest-api/targets-api-guide/index.html
index 55830bd..2c57ee0 100644
--- a/rest-api/targets-api-guide/index.html
+++ b/rest-api/targets-api-guide/index.html
@@ -2,15 +2,15 @@
<html lang="en">
<head>
<meta charset="UTF-8">
-
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.2">
<title>Targets</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400">
<style>
-
-
-
+/* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */
+/* Remove the comments around the @import statement below when using this as a custom stylesheet */
+/*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400";*/
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
audio,canvas,video{display:inline-block}
audio:not([controls]){display:none;height:0}
@@ -655,18 +655,18 @@
{
"content" : [ {
"createdBy" : "bumlux",
- "createdAt" : 1575375135775,
+ "createdAt" : 1610633137967,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375135794,
+ "lastModifiedAt" : 1610633137985,
"name" : "137",
"description" : "My name is 137",
"controllerId" : "137",
"updateStatus" : "in_sync",
- "lastControllerRequestAt" : 1575375135774,
- "installedAt" : 1575375135792,
+ "lastControllerRequestAt" : 1610633137966,
+ "installedAt" : 1610633137982,
"ipAddress" : "192.168.0.1",
"address" : "http://192.168.0.1",
- "securityToken" : "8723720a4f227fafde56205d1add2a61",
+ "securityToken" : "a457155a01388a8ec09d789d7ff8c546",
"requestAttributes" : true,
"_links" : {
"self" : {
@@ -942,9 +942,9 @@
[ {
"createdBy" : "bumlux",
- "createdAt" : 1575375135426,
+ "createdAt" : 1610633137709,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375135426,
+ "lastModifiedAt" : 1610633137709,
"name" : "controllerId",
"description" : "test",
"controllerId" : "123456",
@@ -1362,23 +1362,23 @@
{
"createdBy" : "bumlux",
- "createdAt" : 1575375136890,
+ "createdAt" : 1610633139040,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136906,
+ "lastModifiedAt" : 1610633139063,
"name" : "137",
"description" : "My name is 137",
"controllerId" : "137",
"updateStatus" : "in_sync",
- "lastControllerRequestAt" : 1575375136889,
- "installedAt" : 1575375136904,
+ "lastControllerRequestAt" : 1610633139040,
+ "installedAt" : 1610633139061,
"ipAddress" : "192.168.0.1",
"address" : "http://192.168.0.1",
"pollStatus" : {
- "lastRequestAt" : 1575375136889,
- "nextExpectedRequestAt" : 1575418336889,
+ "lastRequestAt" : 1610633139040,
+ "nextExpectedRequestAt" : 1610676339040,
"overdue" : false
},
- "securityToken" : "e050e9f1a52a60dc7686d1fe92beac85",
+ "securityToken" : "163c629ae766f61d4ddff611f53848a7",
"requestAttributes" : true,
"_links" : {
"self" : {
@@ -1768,20 +1768,20 @@
{
"createdBy" : "bumlux",
- "createdAt" : 1575375135905,
+ "createdAt" : 1610633138094,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375135943,
+ "lastModifiedAt" : 1610633138123,
"name" : "newTargetName",
"description" : "I've been updated",
"controllerId" : "137",
"updateStatus" : "in_sync",
- "lastControllerRequestAt" : 1575375135904,
- "installedAt" : 1575375135924,
+ "lastControllerRequestAt" : 1610633138093,
+ "installedAt" : 1610633138110,
"ipAddress" : "192.168.0.1",
"address" : "https://192.168.0.1",
"pollStatus" : {
- "lastRequestAt" : 1575375135904,
- "nextExpectedRequestAt" : 1575418335904,
+ "lastRequestAt" : 1610633138093,
+ "nextExpectedRequestAt" : 1610676338093,
"overdue" : false
},
"securityToken" : "2345678DGGDGFTDzztgf",
@@ -2106,9 +2106,9 @@
{
"content" : [ {
"createdBy" : "bumlux",
- "createdAt" : 1575375136619,
+ "createdAt" : 1610633138655,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136628,
+ "lastModifiedAt" : 1610633138663,
"type" : "update",
"status" : "finished",
"weight" : 600,
@@ -2131,23 +2131,23 @@
<div class="listingblock">
<div class="content">
<pre class="highlight nowrap"><code class="language-http" data-lang="http">HTTP/1.1 200 OK
+Content-Length: 604
Content-Type: application/hal+json;charset=UTF-8
-Content-Length: 605
{
"content" : [ {
"createdBy" : "bumlux",
- "createdAt" : 1575375137478,
+ "createdAt" : 1610633139578,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375137486,
+ "lastModifiedAt" : 1610633139591,
"type" : "update",
"status" : "finished",
"weight" : 600,
"maintenanceWindow" : {
- "schedule" : "17 14 13 3 12 ? 2019",
+ "schedule" : "39 7 15 14 1 ? 2021",
"duration" : "00:01:00",
"timezone" : "+01:00",
- "nextStartAt" : 1575375257000
+ "nextStartAt" : 1610633259000
},
"_links" : {
"self" : {
@@ -2402,9 +2402,9 @@
{
"createdBy" : "bumlux",
- "createdAt" : 1575375135649,
+ "createdAt" : 1610633137856,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375135662,
+ "lastModifiedAt" : 1610633137866,
"type" : "update",
"status" : "pending",
"_links" : {
@@ -2569,7 +2569,7 @@
<h4 id="_request_parameter_example_3"><a class="link" href="#_request_parameter_example_3">Request parameter example</a></h4>
<div class="listingblock">
<div class="content">
-<pre class="highlight nowrap"><code class="language-http" data-lang="http">GET /rest/v1/targets/137/actions?force=true HTTP/1.1
+<pre class="highlight nowrap"><code class="language-http" data-lang="http">DELETE /rest/v1/targets/137/actions/72?force=true HTTP/1.1
Host: management-api.host.com</code></pre>
</div>
</div>
@@ -2831,9 +2831,9 @@
{
"createdBy" : "bumlux",
- "createdAt" : 1575375137309,
+ "createdAt" : 1610633139353,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375137318,
+ "lastModifiedAt" : 1610633139363,
"type" : "update",
"status" : "finished",
"forceTime" : 0,
@@ -2861,22 +2861,22 @@
<div class="content">
<pre class="highlight nowrap"><code class="language-http" data-lang="http">HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
-Content-Length: 787
+Content-Length: 786
{
"createdBy" : "bumlux",
- "createdAt" : 1575375134485,
+ "createdAt" : 1610633136889,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375134595,
+ "lastModifiedAt" : 1610633136959,
"type" : "update",
"status" : "finished",
"forceTime" : 0,
"weight" : 600,
"maintenanceWindow" : {
- "schedule" : "14 14 13 3 12 ? 2019",
+ "schedule" : "36 7 15 14 1 ? 2021",
"duration" : "00:01:00",
"timezone" : "+01:00",
- "nextStartAt" : 1575375254000
+ "nextStartAt" : 1610633256000
},
"_links" : {
"self" : {
@@ -3121,12 +3121,12 @@
"content" : [ {
"type" : "finished",
"messages" : [ null ],
- "reportedAt" : 1575375134775,
+ "reportedAt" : 1610633137114,
"id" : 31
}, {
"type" : "running",
"messages" : [ null ],
- "reportedAt" : 1575375134764,
+ "reportedAt" : 1610633137105,
"id" : 30
} ],
"total" : 2,
@@ -3360,25 +3360,25 @@
<div class="listingblock">
<div class="content">
<pre class="highlight nowrap"><code class="language-http" data-lang="http">HTTP/1.1 200 OK
-Content-Length: 2380
+Content-Length: 2381
Content-Type: application/hal+json;charset=UTF-8
{
"createdBy" : "bumlux",
- "createdAt" : 1575375136436,
+ "createdAt" : 1610633138481,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136440,
+ "lastModifiedAt" : 1610633138483,
"name" : "DS",
"description" : "The descption of the distribution set.",
"version" : "1.0",
"modules" : [ {
"createdBy" : "bumlux",
- "createdAt" : 1575375136422,
+ "createdAt" : 1610633138465,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136467,
+ "lastModifiedAt" : 1610633138506,
"name" : "application",
"description" : "Description of the software module",
- "version" : "1.0.4",
+ "version" : "1.0.64",
"type" : "application",
"vendor" : "vendor Limited, California",
"deleted" : false,
@@ -3390,12 +3390,12 @@
"id" : 236
}, {
"createdBy" : "bumlux",
- "createdAt" : 1575375136425,
+ "createdAt" : 1610633138469,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136450,
+ "lastModifiedAt" : 1610633138490,
"name" : "app runtime",
"description" : "Description of the software module",
- "version" : "1.0.10",
+ "version" : "1.0.29",
"type" : "runtime",
"vendor" : "vendor GmbH, Stuttgart, Germany",
"deleted" : false,
@@ -3407,12 +3407,12 @@
"id" : 237
}, {
"createdBy" : "bumlux",
- "createdAt" : 1575375136429,
+ "createdAt" : 1610633138473,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136459,
+ "lastModifiedAt" : 1610633138498,
"name" : "Firmware",
"description" : "Description of the software module",
- "version" : "1.0.78",
+ "version" : "1.0.37",
"type" : "os",
"vendor" : "vendor Limited Inc, California",
"deleted" : false,
@@ -3525,10 +3525,10 @@
-d '{
"maintenanceWindow" : {
"duration" : "00:10:00",
- "schedule" : "14 52 14 3 12 ? 2019",
+ "schedule" : "37 45 16 14 1 ? 2021",
"timezone" : "+01:00"
},
- "forcetime" : 1575375134918,
+ "forcetime" : 1610633137219,
"id" : 68,
"type" : "timeforced"
}'</code></pre>
@@ -3668,10 +3668,10 @@
{
"maintenanceWindow" : {
"duration" : "00:10:00",
- "schedule" : "14 52 14 3 12 ? 2019",
+ "schedule" : "37 45 16 14 1 ? 2021",
"timezone" : "+01:00"
},
- "forcetime" : 1575375134918,
+ "forcetime" : 1610633137219,
"id" : 68,
"type" : "timeforced"
}</code></pre>
@@ -3849,11 +3849,11 @@
-d '[ {
"maintenanceWindow" : {
"duration" : "00:10:00",
- "schedule" : "15 52 14 3 12 ? 2019",
+ "schedule" : "37 45 16 14 1 ? 2021",
"timezone" : "+01:00"
},
"weight" : 500,
- "forcetime" : 1575375135147,
+ "forcetime" : 1610633137457,
"id" : 70,
"type" : "timeforced"
}, {
@@ -3997,11 +3997,11 @@
[ {
"maintenanceWindow" : {
"duration" : "00:10:00",
- "schedule" : "15 52 14 3 12 ? 2019",
+ "schedule" : "37 45 16 14 1 ? 2021",
"timezone" : "+01:00"
},
"weight" : 500,
- "forcetime" : 1575375135147,
+ "forcetime" : 1610633137457,
"id" : 70,
"type" : "timeforced"
}, {
@@ -4085,17 +4085,17 @@
"assignedActions" : [ {
"_links" : {
"self" : {
- "href" : "https://management-api.host.com/rest/v1/targets/137/actions/63"
- }
- },
- "id" : 63
- }, {
- "_links" : {
- "self" : {
"href" : "https://management-api.host.com/rest/v1/targets/137/actions/62"
}
},
"id" : 62
+ }, {
+ "_links" : {
+ "self" : {
+ "href" : "https://management-api.host.com/rest/v1/targets/137/actions/63"
+ }
+ },
+ "id" : 63
} ],
"assigned" : 2,
"total" : 2
@@ -4467,20 +4467,20 @@
{
"createdBy" : "bumlux",
- "createdAt" : 1575375136248,
+ "createdAt" : 1610633138345,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136252,
+ "lastModifiedAt" : 1610633138347,
"name" : "DS",
"description" : "The descption of the distribution set.",
"version" : "1.0",
"modules" : [ {
"createdBy" : "bumlux",
- "createdAt" : 1575375136222,
+ "createdAt" : 1610633138332,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136263,
+ "lastModifiedAt" : 1610633138355,
"name" : "application",
"description" : "Description of the software module",
- "version" : "1.0.71",
+ "version" : "1.0.68",
"type" : "application",
"vendor" : "vendor Limited, California",
"deleted" : false,
@@ -4492,12 +4492,12 @@
"id" : 233
}, {
"createdBy" : "bumlux",
- "createdAt" : 1575375136226,
+ "createdAt" : 1610633138334,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136272,
+ "lastModifiedAt" : 1610633138362,
"name" : "app runtime",
"description" : "Description of the software module",
- "version" : "1.0.72",
+ "version" : "1.0.85",
"type" : "runtime",
"vendor" : "vendor GmbH, Stuttgart, Germany",
"deleted" : false,
@@ -4509,12 +4509,12 @@
"id" : 234
}, {
"createdBy" : "bumlux",
- "createdAt" : 1575375136230,
+ "createdAt" : 1610633138337,
"lastModifiedBy" : "bumlux",
- "lastModifiedAt" : 1575375136282,
+ "lastModifiedAt" : 1610633138369,
"name" : "Firmware",
"description" : "Description of the software module",
- "version" : "1.0.14",
+ "version" : "1.0.79",
"type" : "os",
"vendor" : "vendor Limited Inc, California",
"deleted" : false,
@@ -5575,7 +5575,7 @@
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2019-10-24 12:32:01 +02:00
+Last updated 2021-01-14 15:03:10 +01:00
</div>
</div>
</body>