MCPcopy Create free account
hub / github.com/aptabase/aptabase / ListAppShares

Method ListAppShares

src/Features/Apps/AppsController.cs:193–205  ·  view source on GitHub ↗
(string appId)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected