MCPcopy Create free account
hub / github.com/d4vidsha/scheduler / createTask

Method createTask

frontend/src/client/services.ts:593–606  ·  view source on GitHub ↗

* Create Task * Create new task. * @returns TaskPublic Successful Response * @throws ApiError

(
    data: TDataCreateTask,
  )

Source from the content-addressed store, hash-verified

591 * @throws ApiError
592 */
593 public static createTask(
594 data: TDataCreateTask,
595 ): CancelablePromise<TaskPublic> {
596 const { requestBody } = data
597 return __request(OpenAPI, {
598 method: "POST",
599 url: "/api/v1/tasks/",
600 body: requestBody,
601 mediaType: "application/json",
602 errors: {
603 422: `Validation Error`,
604 },
605 })
606 }
607
608 /**
609 * Read Task

Callers 1

AddTaskFormFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected