Skip to content

Commit

Permalink
Merge pull request #244 from reubenmiller/feat/extensions-manager
Browse files Browse the repository at this point in the history
feat: extensions
  • Loading branch information
reubenmiller authored May 21, 2023
2 parents 1b9ca00 + 2785961 commit 9c906df
Show file tree
Hide file tree
Showing 505 changed files with 15,832 additions and 1,681 deletions.
12 changes: 6 additions & 6 deletions api/spec/json/agents.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "agents",
"description": "Cumulocity agents",
"descriptionLong": "REST endpoint to interact with Cumulocity agents",
"link": "https://cumulocity.com/guides/reference/inventory/"
},
"endpoints": [
"commands": [
{
"name": "listAgents",
"description": "Get agent collection",
Expand Down Expand Up @@ -155,7 +155,7 @@
},
{
"name": "group",
"type": "[]devicegroup",
"type": "devicegroup[]",
"description": "Filter by group inclusion",
"format": "bygroupid(%s)"
}
Expand Down Expand Up @@ -232,7 +232,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]agent",
"type": "agent[]",
"pipeline": true,
"required": true,
"description": "Agent ID"
Expand Down Expand Up @@ -320,7 +320,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]agent",
"type": "agent[]",
"pipeline": true,
"required": true,
"description": "Agent ID"
Expand Down Expand Up @@ -404,7 +404,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]agent",
"type": "agent[]",
"pipeline": true,
"required": true,
"description": "Agent ID"
Expand Down
24 changes: 12 additions & 12 deletions api/spec/json/alarms.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "alarms",
"description": "Cumulocity alarms",
"descriptionLong": "REST endpoint to interact with Cumulocity alarms",
"link": "https://cumulocity.com/guides/reference/alarms/"
},
"endpoints": [
"commands": [
{
"name": "getAlarmCollection",
"method": "GET",
Expand Down Expand Up @@ -66,7 +66,7 @@
"queryParameters": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"pipeline": true,
"property": "source",
"description": "Source device id."
Expand All @@ -88,7 +88,7 @@
},
{
"name": "status",
"type": "[]stringcsv",
"type": "stringcsv[]",
"description": "Comma separated alarm statuses, for example ACTIVE,CLEARED.",
"validationSet": [
"ACTIVE",
Expand Down Expand Up @@ -188,7 +188,7 @@
"body": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"required": false,
"pipeline": true,
"property": "source.id",
Expand Down Expand Up @@ -339,7 +339,7 @@
"queryParameters": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"property": "source",
"pipeline": true,
"description": "The ManagedObject that the alarm originated from"
Expand Down Expand Up @@ -410,7 +410,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"pipeline": true,
"required": true,
"description": "Alarm id"
Expand Down Expand Up @@ -514,7 +514,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"pipeline": true,
"description": "Alarm id",
"required": true
Expand Down Expand Up @@ -579,7 +579,7 @@
"queryParameters": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"property": "source",
"pipeline": true,
"description": "Source device id."
Expand Down Expand Up @@ -611,7 +611,7 @@
},
{
"name": "status",
"type": "[]stringcsv",
"type": "stringcsv[]",
"description": "Comma separated alarm statuses, for example ACTIVE,CLEARED.",
"validationSet": [
"ACTIVE",
Expand Down Expand Up @@ -720,7 +720,7 @@
"queryParameters": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"pipeline": true,
"property": "source",
"description": "Source device id."
Expand All @@ -742,7 +742,7 @@
},
{
"name": "status",
"type": "[]stringcsv",
"type": "stringcsv[]",
"description": "Comma separated alarm statuses, for example ACTIVE,CLEARED.",
"validationSet": [
"ACTIVE",
Expand Down
8 changes: 4 additions & 4 deletions api/spec/json/applications.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "applications",
"description": "Cumulocity applications",
"descriptionLong": "REST endpoint to interact with Cumulocity applications",
"link": "https://cumulocity.com/guides/reference/applications/"
},
"endpoints": [
"commands": [
{
"name": "getApplicationCollection",
"description": "Get application collection",
Expand Down Expand Up @@ -76,7 +76,7 @@
},
{
"name": "user",
"type": "[]user",
"type": "user[]",
"description": "The ID of a user that has access to the applications."
}
]
Expand Down Expand Up @@ -624,7 +624,7 @@
{
"name": "binaryId",
"alias": "id",
"type": "[]id",
"type": "id[]",
"pipeline": true,
"required": true,
"description": "Application binary id"
Expand Down
6 changes: 3 additions & 3 deletions api/spec/json/auditRecords.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "auditRecords",
"description": "Cumulocity auditRecords",
"descriptionLong": "REST endpoint to interact with Cumulocity auditRecords",
"link": "https://cumulocity.com/guides/reference/auditing/#audit-api"
},
"endpoints": [
"commands": [
{
"name": "newAudit",
"description": "Create audit record",
Expand Down Expand Up @@ -275,7 +275,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Audit id"
Expand Down
14 changes: 7 additions & 7 deletions api/spec/json/binaries.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "binaries",
"description": "Cumulocity binaries",
"descriptionLong": "REST endpoint to interact with Cumulocity binaries",
"link": "https://cumulocity.com/guides/reference/binaries/"
},
"endpoints": [
"commands": [
{
"name": "getBinaryCollection",
"description": "Get binary collection",
Expand Down Expand Up @@ -47,7 +47,7 @@
"queryParameters": [
{
"name": "ids",
"type": "[]stringcsv",
"type": "stringcsv[]",
"property": "ids",
"description": "The managed object IDs to search for."
},
Expand Down Expand Up @@ -83,7 +83,7 @@
},
{
"name": "childDeviceId",
"type": "[]device",
"type": "device[]",
"description": "Search for a specific child device and list all the groups to which it belongs."
}
]
Expand Down Expand Up @@ -140,7 +140,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Inventory binary id"
Expand Down Expand Up @@ -268,7 +268,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Inventory binary id"
Expand Down Expand Up @@ -325,7 +325,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Inventory binary id"
Expand Down
16 changes: 8 additions & 8 deletions api/spec/json/bulkOperations.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "bulkOperations",
"description": "Cumulocity bulk operations",
"descriptionLong": "REST endpoint to interact with Cumulocity bulk operations",
"link": "https://cumulocity.com/guides/reference/device-control/#bulk-operation-collection"
},
"endpoints": [
"commands": [
{
"name": "getBulkOperationCollection",
"method": "GET",
Expand Down Expand Up @@ -88,7 +88,7 @@
{
"name": "status",
"property": "generalStatus",
"type": "[]string",
"type": "string[]",
"description": "Operation status, can be one of SUCCESSFUL, FAILED, EXECUTING or PENDING.",
"validationSet": [
"CANCELED",
Expand Down Expand Up @@ -136,7 +136,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Bulk Operation id"
Expand Down Expand Up @@ -177,7 +177,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"required": true,
"pipeline": true,
"description": "Bulk Operation id"
Expand Down Expand Up @@ -234,7 +234,7 @@
"body": [
{
"name": "group",
"type": "[]devicegroup",
"type": "devicegroup[]",
"property": "groupId",
"required": false,
"pipeline": true,
Expand Down Expand Up @@ -334,7 +334,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"description": "Bulk Operation id",
"pipeline": true,
"required": true
Expand Down Expand Up @@ -391,7 +391,7 @@
"queryParameters": [
{
"name": "id",
"type": "[]id",
"type": "id[]",
"property": "bulkOperationId",
"pipeline": true,
"required": true,
Expand Down
14 changes: 7 additions & 7 deletions api/spec/json/configuration.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"information": {
"group": {
"name": "configuration",
"description": "Cumulocity configuration repository management",
"descriptionLong": "Configuration management to create/list/delete configurations",
"link": "https://cumulocity.com/guides/users-guide/device-management/#configuration-repository"
},
"endpoints": [
"commands": [
{
"name": "getConfigurationCollection",
"method": "GET",
Expand Down Expand Up @@ -269,7 +269,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]configuration",
"type": "configuration[]",
"pipeline": true,
"required": true,
"description": "Configuration package (managedObject) id"
Expand Down Expand Up @@ -392,7 +392,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]configuration",
"type": "configuration[]",
"required": true,
"pipeline": true,
"description": "Configuration package (managedObject) id"
Expand Down Expand Up @@ -460,7 +460,7 @@
"pathParameters": [
{
"name": "id",
"type": "[]configuration",
"type": "configuration[]",
"pipeline": true,
"required": true,
"description": "Configuration file (managedObject) id"
Expand Down Expand Up @@ -524,7 +524,7 @@
"body": [
{
"name": "device",
"type": "[]device",
"type": "device[]",
"property": "deviceId",
"required": false,
"pipeline": true,
Expand Down Expand Up @@ -552,7 +552,7 @@
},
{
"name": "configuration",
"type": "[]configuration",
"type": "configuration[]",
"property": "__tmp_configuration",
"required": false,
"description": "Configuration name or id"
Expand Down
Loading

0 comments on commit 9c906df

Please sign in to comment.