The File Template Object

{
  "id": 1, // assigned by codePost API
  "assignment": 4,
  "name": "loops.py",
  "extension": ".py",
  "code": "",
  "required": true,
}
AttributeTypeDescription
idintegerUnique identifier for the object.
assignmentintegerThe Assignment this File Template Test corresponds to.
extensionstringThe extension of the File Template. This field determines how the File Template's code will be syntax-highlighted.
codestringThe code of the File Template. Used to de-emphasize template code in the Code Console.
pathstringThe path to the File Template.
requiredbooleanWhether a file with this name and path is required to be submitted by students.