Skip to content

Commit 1223afe

Browse files
committed
Fixing API endpoints
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
1 parent 7579cef commit 1223afe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infra/apps/activity-api/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ resource activityApiGetAll 'Microsoft.ApiManagement/service/apis/operations@2024
117117
properties: {
118118
displayName: 'GetAllActivities'
119119
method: 'GET'
120-
urlTemplate: '/'
120+
urlTemplate: '/activity'
121121
description: 'Get all Activity Summaries'
122122
}
123123
}
@@ -128,7 +128,7 @@ resource activityApiGetByDate 'Microsoft.ApiManagement/service/apis/operations@2
128128
properties: {
129129
displayName: 'GetActivityByDate'
130130
method: 'GET'
131-
urlTemplate: '/{date}'
131+
urlTemplate: '/activity/{date}'
132132
description: 'Get a specific activity summary via this endpoint by providing the date in the following format (YYYY-MM-DD)'
133133
templateParameters: [
134134
{

0 commit comments

Comments
 (0)