Skip to content

Commit 66f218d

Browse files
Merge pull request #170 from stevechan/hotfix-master/SA-19565
Unify Calendar and Event sections [SA-19565] (master)
2 parents 4ff39c9 + 254597b commit 66f218d

10 files changed

+12
-13
lines changed

openapi/openapi.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ paths:
153153
/discussion/{contextType}/{contextId}/comments/{id}/comments:
154154
$ref: 'paths/discussion@{contextType}@{contextId}@comments@{id}@comments.yaml'
155155

156-
157156
/api/session:
158157
$ref: 'paths/api@session.yaml'
159158

@@ -202,9 +201,6 @@ paths:
202201
/news/lists/folder/{id}:
203202
$ref: 'paths/news@lists@folder@{id}.yaml'
204203

205-
/calendar/event/attendance/{id}:
206-
$ref: 'paths/calendar@event@attendance@{id}.yaml'
207-
208204
/calendar/event/create:
209205
$ref: 'paths/calendar@event@create.yaml'
210206

@@ -217,6 +213,9 @@ paths:
217213
/calendar/event/{id}/delete:
218214
$ref: 'paths/calendar@event@{id}@delete.yaml'
219215

216+
/calendar/event/attendance/{id}:
217+
$ref: 'paths/calendar@event@attendance@{id}.yaml'
218+
220219
/calendar/event/attendance/{id}/create:
221220
$ref: 'paths/calendar@event@attendance@{id}@create.yaml'
222221

openapi/paths/calendar@event@attendance@{id}.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
get:
22
operationId: getCalendarEventAttendance
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Get an event's attendees
55
description: |
66
This will return a list of people that have been invited or RSVP to an an event. It will include the status of their invitation and if they have accepted the invitation.

openapi/paths/calendar@event@attendance@{id}@accept.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
post:
22
operationId: postCalendarEventAttendanceAccept
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Accept event invitation
55
description: |
66
This allows a user to accept an invitation. Note that not all events will allow the user to accept an invitation. They must either have been invited, or have the ability to invite themselves.

openapi/paths/calendar@event@attendance@{id}@create.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
post:
22
operationId: postCalendarEventAttendanceCreate
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Invite attendees to an event
55
description: |
66
Create invitations to the given event, for the given set of users.

openapi/paths/calendar@event@attendance@{id}@decline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
post:
22
operationId: postCalendarEventAttendanceDecline
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Decline event invitation
55
description: |
66
As the authenticated user, declines the invitation to attend the given

openapi/paths/calendar@event@attendance@{id}@delete.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
post:
22
operationId: postCalendarEventAttendanceDelete
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Uninvite attendees from an event
55
description: |
66
Deletes invitations to the given event, for the given user.

openapi/paths/calendar@event@create.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
post:
22
operationId: calendarEvent.postCreate
3-
tags: [calendar, event]
3+
tags: [calendar]
44
summary: Create a calendar event
55
description: |
66
Creates a calendar event

openapi/paths/calendar@event@{id}@delete.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
- $ref: ../components/parameters/id.yaml
33
post:
44
operationId: calendarEvent.postDelete
5-
tags: [calendar, event]
5+
tags: [calendar]
66
summary: Delete a calendar event
77
description: |
88
Deletes a calendar event

openapi/paths/calendar@event@{id}@modify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
- $ref: ../components/parameters/id.yaml
33
post:
44
operationId: calendarEvent.postModify
5-
tags: [calendar, event]
5+
tags: [calendar]
66
summary: Modify a calendar event
77
description: |
88
Modifies a calendar event

openapi/paths/calendar@event@{id}@move.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
- $ref: ../components/parameters/id.yaml
33
post:
44
operationId: calendarEvent.postMove
5-
tags: [calendar, event]
5+
tags: [calendar]
66
summary: Move a calendar event
77
description: |
88
Moves a calendar event

0 commit comments

Comments
 (0)