@digipair/skill-cron 0.28.13 → 0.29.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/schema.en.json +160 -0
package/package.json
CHANGED
package/schema.en.json
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.0.0",
|
3
|
+
"info": {
|
4
|
+
"title": "@digipair/skill-cron",
|
5
|
+
"summary": "Scheduled Task Management",
|
6
|
+
"description": "The skill allows for the management of scheduled task executions.",
|
7
|
+
"version": "0.1.0",
|
8
|
+
"x-icon": "📆"
|
9
|
+
},
|
10
|
+
"paths": {
|
11
|
+
"/crons": {
|
12
|
+
"post": {
|
13
|
+
"tags": ["service"],
|
14
|
+
"summary": "List of Scheduled Tasks",
|
15
|
+
"parameters": [
|
16
|
+
{
|
17
|
+
"name": "path",
|
18
|
+
"summary": "Access Path",
|
19
|
+
"required": false,
|
20
|
+
"description": "Access path to the digipairs directory",
|
21
|
+
"schema": {
|
22
|
+
"type": "string"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"x-events": []
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"/addCron": {
|
30
|
+
"post": {
|
31
|
+
"tags": ["service"],
|
32
|
+
"summary": "Adds a Schedule",
|
33
|
+
"parameters": [
|
34
|
+
{
|
35
|
+
"name": "path",
|
36
|
+
"summary": "Access Path",
|
37
|
+
"required": false,
|
38
|
+
"description": "Access path to the digipairs directory",
|
39
|
+
"schema": {
|
40
|
+
"type": "string"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"name": "time",
|
45
|
+
"summary": "Schedule",
|
46
|
+
"required": true,
|
47
|
+
"description": "Schedule in cron format",
|
48
|
+
"schema": {
|
49
|
+
"type": "string"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "digipair",
|
54
|
+
"summary": "Digipair",
|
55
|
+
"required": true,
|
56
|
+
"description": "Name of the digipair executing the reasoning",
|
57
|
+
"schema": {
|
58
|
+
"type": "string"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"name": "reasoning",
|
63
|
+
"summary": "Reasoning",
|
64
|
+
"required": true,
|
65
|
+
"description": "Name of the reasoning to be executed",
|
66
|
+
"schema": {
|
67
|
+
"type": "string"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"x-events": []
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"/deleteCron": {
|
75
|
+
"post": {
|
76
|
+
"tags": ["service"],
|
77
|
+
"summary": "Deletes a Schedule",
|
78
|
+
"parameters": [
|
79
|
+
{
|
80
|
+
"name": "path",
|
81
|
+
"summary": "Access Path",
|
82
|
+
"required": false,
|
83
|
+
"description": "Access path to the digipairs directory",
|
84
|
+
"schema": {
|
85
|
+
"type": "string"
|
86
|
+
}
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"name": "id",
|
90
|
+
"summary": "Identifier",
|
91
|
+
"required": true,
|
92
|
+
"description": "Identifier of the schedule",
|
93
|
+
"schema": {
|
94
|
+
"type": "string"
|
95
|
+
}
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"x-events": []
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"/enableCron": {
|
102
|
+
"post": {
|
103
|
+
"tags": ["service"],
|
104
|
+
"summary": "Enables a Schedule",
|
105
|
+
"parameters": [
|
106
|
+
{
|
107
|
+
"name": "path",
|
108
|
+
"summary": "Access Path",
|
109
|
+
"required": false,
|
110
|
+
"description": "Access path to the digipairs directory",
|
111
|
+
"schema": {
|
112
|
+
"type": "string"
|
113
|
+
}
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"name": "id",
|
117
|
+
"summary": "Identifier",
|
118
|
+
"required": true,
|
119
|
+
"description": "Identifier of the schedule",
|
120
|
+
"schema": {
|
121
|
+
"type": "string"
|
122
|
+
}
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"x-events": []
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"/disableCron": {
|
129
|
+
"post": {
|
130
|
+
"tags": ["service"],
|
131
|
+
"summary": "Disables a Schedule",
|
132
|
+
"parameters": [
|
133
|
+
{
|
134
|
+
"name": "path",
|
135
|
+
"summary": "Access Path",
|
136
|
+
"required": false,
|
137
|
+
"description": "Access path to the digipairs directory",
|
138
|
+
"schema": {
|
139
|
+
"type": "string"
|
140
|
+
}
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"name": "id",
|
144
|
+
"summary": "Identifier",
|
145
|
+
"required": true,
|
146
|
+
"description": "Identifier of the schedule",
|
147
|
+
"schema": {
|
148
|
+
"type": "string"
|
149
|
+
}
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"x-events": []
|
153
|
+
}
|
154
|
+
}
|
155
|
+
},
|
156
|
+
"components": {
|
157
|
+
"schemas": {}
|
158
|
+
},
|
159
|
+
"x-scene-blocks": {}
|
160
|
+
}
|