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

Method createCard

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

* Create Card * @param data The data for the request. * @param data.collectionId * @param data.requestBody * @returns Card Successful Response * @throws ApiError

(
    data: FlashcardsCreateCardData,
  )

Source from the content-addressed store, hash-verified

196 * @throws ApiError
197 */
198 public static createCard(
199 data: FlashcardsCreateCardData,
200 ): CancelablePromise<FlashcardsCreateCardResponse> {
201 return __request(OpenAPI, {
202 method: 'POST',
203 url: '/api/v1/collections/{collection_id}/cards/',
204 path: {
205 collection_id: data.collectionId,
206 },
207 body: data.requestBody,
208 mediaType: 'application/json',
209 errors: {
210 422: 'Validation Error',
211 },
212 })
213 }
214
215 /**
216 * Read Card

Callers 1

createMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected