Skip to content

Commit

Permalink
SRAM mock: add new collaboration invitation endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Oct 4, 2023
1 parent 4c4d690 commit 03a7bcf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yoda_web_mock/sram/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,9 @@ def delete_collaboration_membership(co_identifier, user_uuid):
def delete_collaboration(co_identifier):
# 204 means successful deletion of a collaboration
return Response("Delete collaboration (mocked)", status=204)


@blueprint_sram.route('/api/invitations/v1/collaboration_invites', methods=['PUT'])
def put_new_collaboration_invitation(co_identifier):
# 201 means successful put of collaboration invitation
return Response("Put new collaboration invitation (mocked)", status=201)

0 comments on commit 03a7bcf

Please sign in to comment.