Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gesso/types/params.ts>ImportCategoryGroupsParams

A TypeScript API client for Canvas LMS
Latest
interface ImportCategoryGroupsParams
import { type ImportCategoryGroupsParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";

Properties

optional
attachment: string

There are two ways to post group category import data - either via a multipart/form-data form-field-style attachment, or via a non-multipart raw post request. 'attachment' is required for multipart/form-data style posts. Assumed to be outcome data from a file upload form field named 'attachment'. Examples: curl -F attachment=@ -H "Authorization: Bearer "
'https:///api/v1/group_categories/<category_id>/import' If you decide to do a raw post, you can skip the 'attachment' argument, but you will then be required to provide a suitable Content-Type header. You are encouraged to also provide the 'extension' argument. Examples: curl -H 'Content-Type: text/csv' --data-binary @.csv \ -H "Authorization: Bearer "
'https:///api/v1/group_categories/<category_id>/import'