AlphaAlpha Docs
API ReferenceMaterials

Import

Import materials from a Excel file

POST
/materials/import/{visibility}/{source}
AuthorizationBearer <token>

In: header

Path Parameters

visibility*string
Value in"PUBLIC" | "PRIVATE"
source*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/materials/import/PUBLIC/string" \  -H "Content-Type: application/json" \  -d '{    "file": "string"  }'
"string"
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}