Skip to content

Commit

Permalink
Activity/change monitoring endpoint changed from /activity/ to /changes/
Browse files Browse the repository at this point in the history
  • Loading branch information
JaseMK committed Apr 27, 2022
1 parent beeb80e commit da71155
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions module/apif-core/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
],
],
],
'activity' => [
'changes' => [
'type' => Segment::class,
'options' => [
'route' => '/activity/:id',
'route' => '/changes/:id',
'defaults' => [
'controller' => Controller\ActivityController::class,
],
Expand Down
12 changes: 6 additions & 6 deletions module/apif-core/view/apif/core/index/swagger-config-main.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "0.9.0"
"version": "0.9.1"
},
"tags": [
{
Expand All @@ -27,8 +27,8 @@
"description": "Create, retrieve, update and delete files"
},
{
"name": "activity",
"description": "Activity monitoring"
"name": "changes",
"description": "Monitoring changes to a dataset"
},
{
"name": "schemas",
Expand Down Expand Up @@ -525,13 +525,13 @@
}
}
},
"/activity/{dataset-id}": {
"/changes/{dataset-id}": {
"get": {
"tags": [
"activity"
"changes"
],
"summary": "Retrieve details of write activities on a dataset",
"operationId": "getActivities",
"operationId": "getChanges",
"parameters": [
{
"name": "dataset-id",
Expand Down
12 changes: 6 additions & 6 deletions module/apif-core/view/apif/core/index/swagger-config-main.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "0.9.0"
"version": "0.9.1"
},
"tags": [
{
Expand All @@ -27,8 +27,8 @@
"description": "Create, retrieve, update and delete files"
},
{
"name": "activity",
"description": "Activity monitoring"
"name": "changes",
"description": "Monitoring changes"
},
{
"name": "schemas",
Expand Down Expand Up @@ -556,13 +556,13 @@
}
}
},
"/activity/{dataset-id}": {
"/changes/{dataset-id}": {
"get": {
"tags": [
"activity"
"changes"
],
"summary": "Retrieve details of write activities on a dataset",
"operationId": "getActivities",
"operationId": "getChanges",
"parameters": [
{
"name": "dataset-id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "0.9.0"
"version": "0.9.1"
},
"tags": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "0.9.0"
"version": "0.9.1"
},
"tags": [
{
Expand Down

0 comments on commit da71155

Please sign in to comment.