We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd20ebe commit 3b33550Copy full SHA for 3b33550
1 file changed
src/Api/Tools/Controllers/SendsController.cs
@@ -70,6 +70,10 @@ IHasPremiumAccessQuery hasPremiumAccessQuery
70
71
[AllowAnonymous]
72
[HttpPost("access/{id}")]
73
+ [ProducesResponseType<SendAccessResponseModel>(StatusCodes.Status200OK)]
74
+ [ProducesResponseType(StatusCodes.Status400BadRequest)]
75
+ [ProducesResponseType(StatusCodes.Status401Unauthorized)]
76
+ [ProducesResponseType(StatusCodes.Status404NotFound)]
77
public async Task<SendAccessResponseModel> Access(string id, [FromBody] SendAccessRequestModel model)
78
{
79
// Uncomment whenever we want to require the `send-id` header
0 commit comments