(string appId)
| 191 | } |
| 192 | |
| 193 | [HttpGet("/api/_apps/{appId}/shares")] |
| 194 | public async Task<IActionResult> ListAppShares(string appId) |
| 195 | { |
| 196 | var app = await GetOwnedApp(appId); |
| 197 | if (app == null) |
| 198 | return NotFound(); |
| 199 | |
| 200 | var shares = await _db.Connection.QueryAsync<ApplicationShare>( |
| 201 | @"SELECT email, created_at |
| 202 | FROM app_shares |
| 203 | WHERE app_id = @appId", new { appId }); |
| 204 | return Ok(shares); |
| 205 | } |
| 206 | |
| 207 | [HttpGet("/api/_apps/{appId}/shares/info")] |
| 208 | public async Task<IActionResult> GetAppShareInfo(string appId) |
nothing calls this directly
no outgoing calls
no test coverage detected