prompt: try to join an existing coding event
What is the current state?
What should the initial state be for this task?
What requests were fired, in what order, and who issued them to achieve the initial state?
POST /api/events/
Prompt: try to join an existing coding event
POST /api/events/{CodingEventsId}/members
POST /api/events/{CodingEventsId}/members
what happened when the authenticated user (Member) tried to join the coding event?
what happened when the Owner tried to join the coding event?
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Bad Request",
"status": 400,
"traceId": "|239addd7-409244e32d9104cb."
}
prompt: try to add a tag to an existing coding event
What is the current state?
What should the initial state be for this task?
Steps to achieve initial state:
POST /api/tags
Prompt: try to add a tag to an existing coding event
What requests were fired, and by who, after achieving the initial state?
PUT /api/events/{CodingEventsId}/tags/{tagId}
PUT /api/events/{CodingEventsId}/tags/{tagId}
What is the final state after firing these new requests?
What happened when the Member tried to add a tag?
What happened when the Owner tried to add a tag?
prompt: remove a tag from an existing coding event
What is the current state?
What should the initial state be for this task?
Steps to achieve initial state:
Prompt: remove a tag from an existing coding event
What requests were fired, and by who, after achieving the initial state?
DELETE /api/events/{CodingEventsId}/tags/{tagId}
DELETE /api/events/{CodingEventsId}/tags/{tagId}
What is the final state after firing these new requests?
What happened when the Member tried to remove a tag?
What happened when the Owner tried to remove a tag?
prompt: try to remove a member from an existing coding event
What is the current state?
What should the initial state be for this task?
Steps to achieve initial state:
Prompt: try to remove a member from an existing coding event
What requests were fired, and by who, after achieving the initial state?
DELETE /api/events/{CodingEventsId}/members/{memberId}
DELETE /api/events/{CodingEventsId}/members/{memberId}
What is the final state after firing these new requests?
What happened when the Member tried to remove a member?
What happened when the Owner tried to remove a member?
prompt: try to leave an existing coding event
What is the current state?
What should the initial state be for this task?
Steps to achieve initial state:
POST /api/events/{CodingEventsId}/members
Prompt: try to leave an existing coding event
What requests were fired, and by who, after achieving the initial state?
DELETE /api/events/{CodingEventsId}/members
DELETE /api/events/{CodingEventsId}/members
What is the final state after firing these new requests?
Note
What happens if the Owner issues the request before the Member?
What happened when the Member tried to leave the event?
What happened when the Owner tried to leave the event?
prompt: try to cancel an existing coding event
What is the current state?
What should the initial state be for this task?
Steps to achieve initial state:
POST /api/events/{CodingEventsId}/members
Prompt: try to cancel an existing coding event
What requests were fired, and by who, after achieving the initial state?
DELETE /api/events/{CodingEventsId}
DELETE /api/events/{CodingEventsId}
What is the final state after firing these new requests?
What happened when the Member tried to cancel the event?
What happened when the Owner tried to cancel the event?