MCPcopy Create free account
hub / github.com/ShipSecAI/studio / list

Method list

backend/src/api-keys/api-keys.controller.ts:41–47  ·  view source on GitHub ↗
(
    @CurrentAuth() auth: AuthContext,
    @Query(new ZodValidationPipe(ListApiKeysQuerySchema)) query: ListApiKeysQueryDto,
  )

Source from the content-addressed store, hash-verified

39 @Get()
40 @ApiOkResponse({ type: ApiKeyResponseDto, isArray: true })
41 async list(
42 @CurrentAuth() auth: AuthContext,
43 @Query(new ZodValidationPipe(ListApiKeysQuerySchema)) query: ListApiKeysQueryDto,
44 ) {
45 const keys = await this.apiKeysService.list(auth, query);
46 return keys.map((key) => ApiKeyResponseDto.create(key));
47 }
48
49 @Post()
50 @Roles('ADMIN')

Callers

nothing calls this directly

Calls 2

listMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected