MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / readCollection

Method readCollection

frontend/src/client/sdk.gen.ts:100–113  ·  view source on GitHub ↗

* Read Collection * @param data The data for the request. * @param data.collectionId * @returns Collection Successful Response * @throws ApiError

(
    data: FlashcardsReadCollectionData,
  )

Source from the content-addressed store, hash-verified

98 * @throws ApiError
99 */
100 public static readCollection(
101 data: FlashcardsReadCollectionData,
102 ): CancelablePromise<FlashcardsReadCollectionResponse> {
103 return __request(OpenAPI, {
104 method: 'GET',
105 url: '/api/v1/collections/{collection_id}',
106 path: {
107 collection_id: data.collectionId,
108 },
109 errors: {
110 422: 'Validation Error',
111 },
112 })
113 }
114
115 /**
116 * Update Collection

Callers 1

getByIdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected